From eb3257f1bdc69f74417320bff7cb9d809cafe2e1 Mon Sep 17 00:00:00 2001 From: Zuncle <34310384@qq.com> Date: Sun, 22 Mar 2026 16:57:22 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=97=A0=E9=99=90=E8=B5=8F):=20=E9=9A=90?= =?UTF-8?q?=E8=97=8F=E5=A5=96=E6=B1=A0"=E6=9F=A5=E7=9C=8B=E5=85=A8?= =?UTF-8?q?=E9=83=A8"=E6=8C=89=E9=92=AE=EF=BC=8C=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E7=90=86=E6=80=A7=E6=B6=88=E8=B4=B9=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. RewardsPreview 组件新增 hideViewAll prop(默认 false): - hideViewAll=true 时隐藏"查看全部"按钮,显示理性消费提示 - hideViewAll=false 时保持原有行为,不影响其他页面 - 提示文字样式:橙色文字 + 浅橙背景 + 左侧竖条装饰 2. 无限赏页面(wuxianshang/index.vue): - RewardsPreview 传入 :hide-view-all="true" - 移除 @view-all 事件绑定 - 注释掉 RewardsPopup 奖池详情弹窗(保留代码便于后续恢复) 3. 对对碰页面(duiduipeng/index.vue): - 不受影响,保持原有"查看全部"按钮和弹窗功能 提示内容:每抽都有概率出以下商品,盲盒消费具有随机性,请理性消费 --- components/activity/RewardsPreview.vue | 18 +++++++++++++++++- pages-activity/activity/duiduipeng/index.vue | 2 +- pages-activity/activity/wuxianshang/index.vue | 13 +++++++------ 3 files changed, 25 insertions(+), 8 deletions(-) diff --git a/components/activity/RewardsPreview.vue b/components/activity/RewardsPreview.vue index 0b09dc9..94a64f6 100755 --- a/components/activity/RewardsPreview.vue +++ b/components/activity/RewardsPreview.vue @@ -2,8 +2,10 @@ {{ title }} - 查看全部 + + 查看全部 + 每抽都有概率出以下商品,盲盒消费具有随机性,请理性消费 @@ -67,6 +69,10 @@ const props = defineProps({ emptyText: { type: String, default: '暂无奖品配置' + }, + hideViewAll: { + type: Boolean, + default: false } }) @@ -115,6 +121,16 @@ const rewardGroups = computed(() => { } } +.tip-text { + font-size: 22rpx; + color: #E67E22; + margin-bottom: $spacing-md; + background: rgba(230, 126, 34, 0.08); + padding: 12rpx 16rpx; + border-radius: 8rpx; + border-left: 4rpx solid rgba(230, 126, 34, 0.5); +} + /* 等级分组 */ .prize-level-row { margin-bottom: $spacing-lg; diff --git a/pages-activity/activity/duiduipeng/index.vue b/pages-activity/activity/duiduipeng/index.vue index 224bc37..313259d 100755 --- a/pages-activity/activity/duiduipeng/index.vue +++ b/pages-activity/activity/duiduipeng/index.vue @@ -167,7 +167,7 @@ -