From 76b3319fa8e3befd0d6e294cbe890e226bdce579 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期二, 23 七月 2024 18:01:33 +0800
Subject: [PATCH] 提交
---
wechat_staff/pages/promotion/index.wxss | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/wechat_staff/pages/promotion/index.wxss b/wechat_staff/pages/promotion/index.wxss
index c696933..06c5da7 100644
--- a/wechat_staff/pages/promotion/index.wxss
+++ b/wechat_staff/pages/promotion/index.wxss
@@ -13,6 +13,7 @@
background: #F7F7F7;
border-radius: 8rpx;
padding: 34rpx 40rpx 40rpx;
+ margin-bottom: 40rpx;
}
.content .time {
font-weight: 500;
@@ -30,6 +31,8 @@
}
.content .imgs {
display: flex;
+ width: 100%;
+ flex-wrap: wrap;
}
.content .imgs .img_wrap {
width: 184rpx;
@@ -38,13 +41,18 @@
border: 1px solid;
position: relative;
margin-right: 20rpx;
+ margin-bottom: 20rpx;
}
.content .imgs .img_wrap:nth-of-type(3n) {
margin-right: 0;
}
.content .imgs .img_wrap .img {
width: 100%;
- height: 100%;
+ max-height: 100%;
+}
+.content .imgs .video {
+ width: 100%;
+ max-height: 100%;
}
.content .imgs .img_wrap .icon {
position: absolute;
--
Gitblit v1.9.3