From 4dc531fc2dcd6517fffa2e9760225f5705537258 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期五, 19 七月 2024 20:11:27 +0800
Subject: [PATCH] 代码提交
---
wechat_jiaxuan/components/disProduct/index.wxss | 15 ++++++++++++---
1 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/wechat_jiaxuan/components/disProduct/index.wxss b/wechat_jiaxuan/components/disProduct/index.wxss
index 7fb775c..7393c12 100644
--- a/wechat_jiaxuan/components/disProduct/index.wxss
+++ b/wechat_jiaxuan/components/disProduct/index.wxss
@@ -1,3 +1,8 @@
+.home_top {
+ z-index: 9999;
+ width: 100%;
+ background-color: #fff;
+}
.search_wrap {
width: 670rpx;
height: 72rpx;
@@ -64,6 +69,7 @@
}
.main_content .main_right .query_form {
position: absolute;
+ z-index: 99;
background-color: #fff;
}
.main_content .main_right .query_form .list {
@@ -132,29 +138,32 @@
padding: 12rpx 40rpx;
}
.main_content .main_right .goods_list .item {
+ width: 50%;
flex-shrink: 0;
margin-bottom: 32rpx;
}
.main_content .main_right .goods_list .item .img_wrap {
width: 242rpx;
- height: 136rpx;
border-radius: 8rpx;
overflow: hidden;
position: relative;
}
.main_content .main_right .goods_list .item .img_wrap .img {
width: 100%;
- height: 100%;
}
.main_content .main_right .goods_list .item .img_wrap .new {
width: 72rpx;
position: absolute;
left: 0;
top: 0;
- z-index: 100;
+ z-index: 10;
}
.main_content .main_right .goods_list .item .name {
margin: 12rpx 0 8rpx;
+ display: -webkit-box;
+ -webkit-box-orient: vertical;
+ -webkit-line-clamp: 1;
+ overflow: hidden;
}
.main_content .main_right .goods_list .item .info {
display: flex;
--
Gitblit v1.9.3