From bf99ae66d14857dfcd97dc6ccb8e82a38d3bd75f Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 19 七月 2024 09:05:46 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
wechat_jiaxuan/components/disProduct/index.less | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/wechat_jiaxuan/components/disProduct/index.less b/wechat_jiaxuan/components/disProduct/index.less
index e3a87fb..de08cd3 100644
--- a/wechat_jiaxuan/components/disProduct/index.less
+++ b/wechat_jiaxuan/components/disProduct/index.less
@@ -131,17 +131,16 @@
justify-content: space-between;
padding: 12rpx 40rpx;
.item{
+ width: 50%;
flex-shrink: 0;
margin-bottom: 32rpx;
.img_wrap{
width: 242rpx;
- height: 136rpx;
border-radius: 8rpx;
overflow: hidden;
position: relative;
.img{
width: 100%;
- height: 100%;
}
.new{
width: 72rpx;
@@ -153,6 +152,10 @@
}
.name{
margin: 12rpx 0 8rpx;
+ display: -webkit-box;//灏嗙洅瀛愯浆鎹负寮规�х洅瀛�
+ -webkit-box-orient: vertical;//鏂囨湰鏄剧ず鏂瑰紡锛岄粯璁ゆ按骞�
+ -webkit-line-clamp: 1;//璁剧疆鏄剧ず澶氬皯琛�
+ overflow: hidden;
}
.info{
display: flex;
--
Gitblit v1.9.3