From a75b18a4157ab486e0b51c438ac165ab3a08e3e0 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期四, 25 七月 2024 18:10:00 +0800
Subject: [PATCH] 代码提交
---
wechat_jiaxuan/components/disProduct/index.less | 26 ++++++++++++++++++--------
1 files changed, 18 insertions(+), 8 deletions(-)
diff --git a/wechat_jiaxuan/components/disProduct/index.less b/wechat_jiaxuan/components/disProduct/index.less
index ccb6a20..ed393c2 100644
--- a/wechat_jiaxuan/components/disProduct/index.less
+++ b/wechat_jiaxuan/components/disProduct/index.less
@@ -67,14 +67,14 @@
height: 100%;
.query_wrap {
display: flex;
+ width: 100%;
.item {
+ width: 50%;
height: 100rpx;
display: flex;
align-items: center;
justify-content: center;
color: #666666;
- flex: 1;
-
.name {
margin-right: 12rpx;
}
@@ -83,7 +83,7 @@
.query_form {
position: absolute;
- z-index: 99;
+ z-index: 999;
background-color: #fff;
.list {
@@ -91,7 +91,8 @@
display: flex;
flex-wrap: wrap;
padding: 30rpx 40rpx;
-
+ max-height: 400rpx;
+ overflow: auto;
.item {
width: 154rpx;
height: 72rpx;
@@ -137,6 +138,13 @@
}
}
}
+ .shade{
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ background-color: rgba(0,0,0,.5);
+ z-index: 99;
+ }
.status {
display: flex;
@@ -157,15 +165,16 @@
.goods_list {
height: calc( 100% - 182rpx);
+ width: 590rpx;
display: flex;
flex-wrap: wrap;
+ box-sizing: border-box;
justify-content: space-between;
padding: 12rpx 40rpx;
.item {
- width: 50%;
+ width: 242rpx;
flex-shrink: 0;
margin-bottom: 32rpx;
-
.img_wrap {
width: 242rpx;
border-radius: 8rpx;
@@ -173,7 +182,8 @@
position: relative;
.img {
- width: 100%;
+ width: 242rpx;
+ max-height: 216rpx;
}
.new {
@@ -204,7 +214,7 @@
}
.num {
- margin-right: 16rpx;
+ margin-right: 28rpx;
}
.primary {
--
Gitblit v1.9.3