From 52787adceb282c1914589c7ceb252bdb03e2df36 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期五, 02 八月 2024 11:26:12 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/zbomyoujia
---
wechat_jiaxuan/components/disProduct/index.less | 38 ++++++++++++++++++++++++++++++--------
1 files changed, 30 insertions(+), 8 deletions(-)
diff --git a/wechat_jiaxuan/components/disProduct/index.less b/wechat_jiaxuan/components/disProduct/index.less
index ddbda83..7de0910 100644
--- a/wechat_jiaxuan/components/disProduct/index.less
+++ b/wechat_jiaxuan/components/disProduct/index.less
@@ -13,6 +13,7 @@
image {
width: 28rpx;
+ height: 28rpx;
margin-right: 16rpx;
}
}
@@ -20,6 +21,7 @@
.app {
height: 100%;
width: 100%;
+ overflow-y:hidden;
.home_content{
height: 100%;
}
@@ -65,11 +67,16 @@
flex: 1;
position: relative;
height: 100%;
+ .query_wrap_scroll{
+ width: 540rpx;
+ padding-left: 40rpx;
+ }
.query_wrap {
display: flex;
- width: 100%;
+ flex-wrap: nowrap;
.item {
- width: 50%;
+ flex-shrink: 0;
+ margin-right: 48rpx;
height: 100rpx;
display: flex;
align-items: center;
@@ -85,13 +92,14 @@
position: absolute;
z-index: 999;
background-color: #fff;
-
+ width: 590rpx;
+ overflow: hidden;
.list {
width: 100%;
display: flex;
flex-wrap: wrap;
padding: 30rpx 40rpx;
- max-height: 400rpx;
+ max-height: 520rpx;
overflow: auto;
.item {
width: 154rpx;
@@ -166,15 +174,17 @@
.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 {
+ float: left;
width: 242rpx;
flex-shrink: 0;
+ margin-right: 26rpx;
margin-bottom: 32rpx;
+ &:nth-of-type(2n){
+ margin-right: 0;
+ }
.img_wrap {
width: 242rpx;
border-radius: 8rpx;
@@ -182,7 +192,8 @@
position: relative;
.img {
- width: 100%;
+ width: 242rpx;
+ max-height: 216rpx;
}
.new {
@@ -209,6 +220,7 @@
.icon {
width: 28rpx;
+ height: 26rpx;
margin-right: 8rpx;
}
@@ -223,4 +235,14 @@
}
}
}
+}
+.empty_wrap{
+ width: 100%;
+ display: flex;
+ padding-top: 200rpx;
+ justify-content: center;
+}
+.default_empty{
+ width: 300rpx;
+ height: 300rpx;
}
\ No newline at end of file
--
Gitblit v1.9.3