From 0358677c06e86f05c992f406c9714a32b30a235d Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期四, 18 七月 2024 18:42:21 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/zbomyoujia
---
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