From 5b219a9694c8d69db42e746a654c779cc6a61bf6 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期四, 18 七月 2024 18:42:20 +0800
Subject: [PATCH] ‘’

---
 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