From 41bd8b2b50dc308ea3a5784efccd856c073b3f37 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期三, 21 八月 2024 15:04:55 +0800
Subject: [PATCH] ll
---
wechat_jiaxuan/components/disProduct/index.less | 24 ++++++++++++++----------
1 files changed, 14 insertions(+), 10 deletions(-)
diff --git a/wechat_jiaxuan/components/disProduct/index.less b/wechat_jiaxuan/components/disProduct/index.less
index 50bfd4d..6321980 100644
--- a/wechat_jiaxuan/components/disProduct/index.less
+++ b/wechat_jiaxuan/components/disProduct/index.less
@@ -28,12 +28,11 @@
.main_content {
display: flex;
- height: 100%;
+ height: calc( 100% - 120rpx );
.main_left {
width: 160rpx;
height: 100%;
border-radius: 0rpx 16rpx 16rpx 0rpx;
-
.item {
width: 160rpx;
height: 100rpx;
@@ -90,7 +89,7 @@
display: flex;
flex-wrap: wrap;
padding: 30rpx 40rpx;
- max-height: 520rpx;
+ max-height: 480rpx;
overflow: auto;
.item {
width: 154rpx;
@@ -144,9 +143,13 @@
background-color: rgba(0,0,0,.5);
z-index: 99;
}
-
+
.status {
+ position: absolute;
+ background-color: #fff;
+ z-index: 99;
display: flex;
+ width: 590rpx;
padding: 0rpx 40rpx;
align-items: center;
height: 92rpx;
@@ -161,30 +164,31 @@
background-color: #333333;
}
}
-
.goods_list {
- height: calc( 100% - 182rpx);
+ height: calc( 100% - 100rpx );
width: 590rpx;
box-sizing: border-box;
padding: 12rpx 40rpx;
+ .empty{
+ width: 590rpx;
+ height: 92rpx;
+ }
.item {
float: left;
width: 242rpx;
flex-shrink: 0;
- margin-right: 26rpx;
margin-bottom: 32rpx;
&:nth-of-type(2n){
- margin-right: 0;
+ margin-right: 26rpx;
}
.img_wrap {
width: 242rpx;
border-radius: 8rpx;
overflow: hidden;
position: relative;
-
.img {
width: 242rpx;
- max-height: 216rpx;
+ height: 136rpx;
}
.new {
--
Gitblit v1.9.3