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_staff/components/disProduct/index.less | 33 ++++++++++++++++++++++++++-------
1 files changed, 26 insertions(+), 7 deletions(-)
diff --git a/wechat_staff/components/disProduct/index.less b/wechat_staff/components/disProduct/index.less
index ce63b2a..69ffc37 100644
--- a/wechat_staff/components/disProduct/index.less
+++ b/wechat_staff/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;
@@ -166,15 +173,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: 242rpx;
- flex-shrink: 0;
+ float: left;
margin-bottom: 32rpx;
+ margin-right: 26rpx;
+ &:nth-of-type(2n){
+ margin-right: 0;
+ }
.img_wrap {
width: 242rpx;
border-radius: 8rpx;
@@ -183,7 +191,7 @@
.img {
width: 242rpx;
- height: 216rpx;
+ max-height: 216rpx;
}
.new {
@@ -210,6 +218,7 @@
.icon {
width: 28rpx;
+ height: 28rpx;
margin-right: 8rpx;
}
@@ -223,5 +232,15 @@
}
}
}
+ .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