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 @@