From 89e7ed902461f28d6a7dd3e6c927eaf40b154f5e Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期四, 15 八月 2024 10:12:07 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
wechat_staff/components/disProduct/index.less | 54 ++++++++++++++++++++++++++++++++++--------------------
1 files changed, 34 insertions(+), 20 deletions(-)
diff --git a/wechat_staff/components/disProduct/index.less b/wechat_staff/components/disProduct/index.less
index 2557685..4c50090 100644
--- a/wechat_staff/components/disProduct/index.less
+++ b/wechat_staff/components/disProduct/index.less
@@ -27,22 +27,13 @@
}
}
-.home_top {
- position: fixed;
- z-index: 9999;
- width: 100%;
- background-color: #fff;
-}
-
.main_content {
display: flex;
- padding-top: 120rpx;
- height: 100%;
+ height: calc( 100% - 120rpx );
.main_left {
width: 160rpx;
height: 100%;
border-radius: 0rpx 16rpx 16rpx 0rpx;
-
.item {
width: 160rpx;
height: 100rpx;
@@ -67,11 +58,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;
@@ -93,7 +89,7 @@
display: flex;
flex-wrap: wrap;
padding: 30rpx 40rpx;
- max-height: 400rpx;
+ max-height: 680rpx;
overflow: auto;
.item {
width: 154rpx;
@@ -149,6 +145,10 @@
}
.status {
+ position: absolute;
+ background-color: #fff;
+ z-index: 99;
+ width: 100%;
display: flex;
padding: 0rpx 40rpx;
align-items: center;
@@ -166,17 +166,21 @@
}
.goods_list {
- height: calc( 100% - 182rpx);
+ height: calc( 100% - 100rpx );
width: 590rpx;
- display: flex;
- flex-wrap: wrap;
box-sizing: border-box;
- justify-content: space-between;
padding: 12rpx 40rpx;
+ .empty{
+ height: 92rpx;
+ }
.item {
- width: 242rpx;
- flex-shrink: 0;
+ width: 240rpx;
+ float: left;
margin-bottom: 32rpx;
+ // margin-right: 26rpx;
+ &:nth-of-type(2n){
+ margin-right: 26rpx;
+ }
.img_wrap {
width: 242rpx;
border-radius: 8rpx;
@@ -185,7 +189,7 @@
.img {
width: 242rpx;
- max-height: 216rpx;
+ height: 136rpx;
}
.new {
@@ -226,5 +230,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