From 1cee3a660c5f8e5f4290ae894c2898c4966a834d Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期五, 02 八月 2024 18:33:33 +0800
Subject: [PATCH] ''
---
wechat_staff/components/disProduct/index.wxss | 37 ++++++++++++++++++++++++-------------
1 files changed, 24 insertions(+), 13 deletions(-)
diff --git a/wechat_staff/components/disProduct/index.wxss b/wechat_staff/components/disProduct/index.wxss
index 90b50c0..79f1f9f 100644
--- a/wechat_staff/components/disProduct/index.wxss
+++ b/wechat_staff/components/disProduct/index.wxss
@@ -17,19 +17,13 @@
.app {
height: 100%;
width: 100%;
+ overflow-y: hidden;
}
.app .home_content {
height: 100%;
}
-.home_top {
- position: fixed;
- z-index: 9999;
- width: 100%;
- background-color: #fff;
-}
.main_content {
display: flex;
- padding-top: 120rpx;
height: 100%;
}
.main_content .main_left {
@@ -59,12 +53,17 @@
position: relative;
height: 100%;
}
+.main_content .main_right .query_wrap_scroll {
+ width: 540rpx;
+ padding-left: 40rpx;
+}
.main_content .main_right .query_wrap {
display: flex;
- width: 100%;
+ flex-wrap: nowrap;
}
.main_content .main_right .query_wrap .item {
- width: 50%;
+ flex-shrink: 0;
+ margin-right: 48rpx;
height: 100rpx;
display: flex;
align-items: center;
@@ -150,16 +149,17 @@
.main_content .main_right .goods_list {
height: calc(100% - 182rpx);
width: 590rpx;
- display: flex;
- flex-wrap: wrap;
box-sizing: border-box;
- justify-content: space-between;
padding: 12rpx 40rpx;
}
.main_content .main_right .goods_list .item {
width: 242rpx;
- flex-shrink: 0;
+ float: left;
margin-bottom: 32rpx;
+ margin-right: 26rpx;
+}
+.main_content .main_right .goods_list .item:nth-of-type(2n) {
+ margin-right: 0;
}
.main_content .main_right .goods_list .item .img_wrap {
width: 242rpx;
@@ -192,6 +192,7 @@
}
.main_content .main_right .goods_list .item .info .icon {
width: 28rpx;
+ height: 28rpx;
margin-right: 8rpx;
}
.main_content .main_right .goods_list .item .info .num {
@@ -200,3 +201,13 @@
.main_content .main_right .goods_list .item .info .primary {
color: var(--themeColor);
}
+.main_content .main_right .empty_wrap {
+ width: 100%;
+ display: flex;
+ padding-top: 200rpx;
+ justify-content: center;
+}
+.main_content .main_right .default_empty {
+ width: 300rpx;
+ height: 300rpx;
+}
--
Gitblit v1.9.3