From 42481f3851dbfe321404a8135df410bb7d595a1e Mon Sep 17 00:00:00 2001 From: sws <1141121512@qq.com> Date: Tue, 15 Oct 2024 18:36:30 +0800 Subject: [PATCH] =?UTF-8?q?1.bug=E6=B5=8B=E8=AF=95=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/css/page.css | 6 ++++++ components/diy/coupon.vue | 15 +++++++-------- components/diy/header.vue | 2 +- components/diy/rich-text.vue | 11 +++-------- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/common/css/page.css b/common/css/page.css index 98fb34d0..ecd4ecde 100644 --- a/common/css/page.css +++ b/common/css/page.css @@ -1356,4 +1356,10 @@ button[disabled].bg-grey { /* #ifndef H5 */ padding-top: calc(var(--status-bar-height) + 10rpx); /* #endif */ +} + +/* 富文本 */ +.diy-rich-text * { + max-width: 100%; + width: 100%; } \ No newline at end of file diff --git a/components/diy/coupon.vue b/components/diy/coupon.vue index 6bf8e03e..9010dc34 100644 --- a/components/diy/coupon.vue +++ b/components/diy/coupon.vue @@ -363,8 +363,8 @@ .item { flex-basis: auto; flex-shrink: 0; - width: 180rpx; - height: 180rpx; + width: 168rpx; + height: 168rpx; border-radius: 20rpx; margin-top: 20rpx; @@ -411,7 +411,7 @@ font-size: 18rpx; border-radius: 46rpx; position: relative; - top: -4rpx; + top: -10rpx; } } } @@ -803,14 +803,13 @@ .coupon-theme-6 { display: flex; - .item { flex-basis: auto; flex-shrink: 0; border-radius: 24rpx; padding: 12rpx; - width: 280rpx; - height: 200rpx; + width: 268rpx; + height: 188rpx; position: relative; box-sizing: border-box; @@ -876,12 +875,12 @@ } .bottom { - margin-top: 12rpx; + margin-top: 8rpx; text-align: center; .coupon-btn { position: relative; - font-size: 32rpx; + font-size: 28rpx; line-height: 44rpx; font-weight: 500; text-align: center; diff --git a/components/diy/header.vue b/components/diy/header.vue index 5cd1da17..884327ce 100644 --- a/components/diy/header.vue +++ b/components/diy/header.vue @@ -12,7 +12,7 @@ - + diff --git a/components/diy/rich-text.vue b/components/diy/rich-text.vue index 5c358a98..eed18221 100644 --- a/components/diy/rich-text.vue +++ b/components/diy/rich-text.vue @@ -1,6 +1,6 @@