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 | 20 +++++++++++++++-----
1 files changed, 15 insertions(+), 5 deletions(-)
diff --git a/wechat_jiaxuan/components/disProduct/index.less b/wechat_jiaxuan/components/disProduct/index.less
index 5e22d80..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%;
@@ -63,6 +69,7 @@
}
.query_form{
position: absolute;
+ z-index: 99;
background-color: #fff;
.list{
width: 100%;
@@ -79,7 +86,7 @@
font-size: 26rpx;
color: #333333;
white-space: nowrap;
- overflow: hidden;//鏂囨湰瓒呭嚭闅愯棌
+ overflow: hidden;
text-overflow: ellipsis;
margin-right: 24rpx;
margin-bottom: 24rpx;
@@ -130,28 +137,31 @@
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;
position: absolute;
left: 0;
top: 0;
- z-index: 100;
+ z-index: 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