From 4dc531fc2dcd6517fffa2e9760225f5705537258 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期五, 19 七月 2024 20:11:27 +0800
Subject: [PATCH] 代码提交

---
 wechat_jiaxuan/components/disProduct/index.less |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/wechat_jiaxuan/components/disProduct/index.less b/wechat_jiaxuan/components/disProduct/index.less
index e3a87fb..7da90da 100644
--- a/wechat_jiaxuan/components/disProduct/index.less
+++ b/wechat_jiaxuan/components/disProduct/index.less
@@ -1,3 +1,10 @@
+.home_top{
+  // position: fixed;
+  z-index: 9999;
+  width: 100%;
+  background-color: #fff;
+  // border: 1px solid red;
+}
 .search_wrap{
   width: 670rpx;
   height: 72rpx;
@@ -13,7 +20,6 @@
     margin-right: 16rpx;
   }
 }
-
 .app{
   height: 100%;
   width: 100%;
@@ -131,17 +137,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 +158,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