From 7cd2d5f404b9845cfe2cbc29334e7785346fde01 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期四, 08 八月 2024 16:38:11 +0800
Subject: [PATCH] lll
---
wechat_staff/pages/detailDis/product.wxss | 37 ++++++++++++++++++++++++++++++++-----
1 files changed, 32 insertions(+), 5 deletions(-)
diff --git a/wechat_staff/pages/detailDis/product.wxss b/wechat_staff/pages/detailDis/product.wxss
index a19e78d..8a26c9c 100644
--- a/wechat_staff/pages/detailDis/product.wxss
+++ b/wechat_staff/pages/detailDis/product.wxss
@@ -63,6 +63,8 @@
width: 100%;
}
.main_content {
+ position: relative;
+ bottom: 14rpx;
padding: 52rpx 40rpx 40rpx;
border-radius: 16rpx 16rpx 0rpx 0rpx;
background-color: #fff;
@@ -72,13 +74,19 @@
font-weight: 500;
font-size: 36rpx;
margin-bottom: 16rpx;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ display: -webkit-box;
+ -webkit-box-orient: vertical;
+ -webkit-line-clamp: 2;
}
.main_content .desc {
+ line-height: 40rpx;
font-size: 26rpx;
color: #555555;
margin-bottom: 26rpx;
}
-.main_content .text {
+.main_content .text {
line-height: 48rpx;
font-size: 26rpx;
color: #555555;
@@ -143,6 +151,7 @@
}
.video .img_wrap .img {
width: 100%;
+ height: 376rpx;
}
.video .img_wrap .play {
position: absolute;
@@ -157,10 +166,28 @@
border-radius: 30rpx;
font-size: 26rpx;
color: rgba(255, 255, 255, 0.8);
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+.video .img_wrap .play .icon {
+ width: 14rpx;
+ height: 16rpx;
+ margin-left: 14rpx;
}
.detail {
padding: 52rpx 40rpx 40rpx;
background-color: #fff;
+}
+.detail .fold {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ height: 84rpx;
+ margin-top: 20rpx;
+}
+.detail .fold .icon {
+ margin-left: 12rpx;
}
.detail .title {
font-weight: 600;
@@ -169,13 +196,14 @@
}
.detail .line {
display: flex;
- height: 32rpx;
- margin-bottom: 24rpx;
+ padding: 24rpx 0 26rpx;
+ border-bottom: 1rpx dashed #E5E5E5;
}
.detail .line .label {
- width: auto;
+ width: 120rpx;
font-size: 24rpx;
color: #666666;
+ flex-shrink: 0;
}
.detail .line .val {
flex: 1;
@@ -210,7 +238,6 @@
font-weight: 500;
color: #FFFFFF;
font-style: 28rpx;
- box-shadow: 0rpx 4rpx 16rpx 0rpx rgba(176, 135, 113, 0.3), inset 0rpx 2rpx 2rpx 0rpx rgba(255, 255, 255, 0.33);
border-radius: 8rpx;
}
.footer .sub_btn .sheji {
--
Gitblit v1.9.3