From 6aa126bc813d0e960e61dd31380434d703a14570 Mon Sep 17 00:00:00 2001 From: zhanchao Date: Mon, 17 Aug 2026 16:13:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=8B=B9=E6=9E=9C=E7=AB=AF?= =?UTF-8?q?=E9=A2=86=E5=8F=96bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/experience-coupon/claim.vue | 42 +++++++++++++++++++++++-------- 1 file changed, 32 insertions(+), 10 deletions(-) diff --git a/pages/experience-coupon/claim.vue b/pages/experience-coupon/claim.vue index b034eab..4fbdfba 100644 --- a/pages/experience-coupon/claim.vue +++ b/pages/experience-coupon/claim.vue @@ -5,17 +5,24 @@ {{ tip }} 加载中... + - - - - {{ buildClaimContent() }} - - {{ claiming ? "领取中..." : "接受" }} - + + + + + 体验券 + {{ buildClaimContent() }} + + {{ claiming ? "领取中..." : "接受" }} - + @@ -372,7 +379,10 @@ onShow(() => { .poster-mask { position: fixed; - inset: 0; + top: 0; + right: 0; + bottom: 0; + left: 0; z-index: 1000; display: flex; align-items: center; @@ -385,6 +395,7 @@ onShow(() => { .poster-dialog { width: 100%; max-width: 620rpx; + max-height: calc(100vh - 80rpx); overflow: hidden; border-radius: 20rpx; background: #fff; @@ -393,15 +404,26 @@ onShow(() => { .poster-image { display: block; width: 100%; + height: 58vh; max-height: 700rpx; background: #f5f7fa; } +.poster-image--placeholder { + display: flex; + align-items: center; + justify-content: center; + color: #9aa5b1; + font-size: 32rpx; +} + .poster-content { padding: 28rpx 30rpx 8rpx; color: #333; font-size: 28rpx; line-height: 1.6; + max-height: 160rpx; + overflow: hidden; } .poster-btn { @@ -419,4 +441,4 @@ onShow(() => { .poster-btn.disabled { opacity: 0.6; } - \ No newline at end of file +