feat: 超级补贴优化

This commit is contained in:
2026-07-13 18:33:00 +08:00
parent c6015b8295
commit fd25002ab3
3 changed files with 10 additions and 7 deletions
+8 -5
View File
@@ -24,15 +24,14 @@
<!-- (秒杀券立减) -->
<view class="coupon_row" v-if="hasCoupon">
<view class="coupon_badge" >
<!-- <view class="coupon_badge" v-if="activedType === 'seckill'"> -->
<view class="coupon_badge" v-if="activedType === 'seckill'">
<text class="flash_icon">⚡</text>
<text class="coupon_text" v-if="item.secDiscount || item.subsidy">加倍补{{ item.secDiscount || item.subsidy }}元</text>
</view>
<!-- <view class="coupon_badge" v-else>
<view class="coupon_badge" v-if="activedType === 'super'">
<text class="flash_icon">⚡</text>
<text class="coupon_text">加倍补{{ item.subsidy }}积分</text>
</view> -->
</view>
</view>
<!-- Price and action card row -->
@@ -109,8 +108,12 @@ export default {
methods: {
// 商品
onSelectProct(item) {
let url = "/pages/other_package/productInfo/productInfo?id=" + item.id ;
if(this.activedType === 'seckill'){
url = "/pages/other_package/productInfo/productInfo?id=" + item.id + "&activedType=" + this.activedType + "&activityId=" + item.activityId;
}
uni.navigateTo({
url: "/pages/other_package/productInfo/productInfo?id=" + item.id + "&activedType=" + this.activedType + "&activityId=" + item.activityId,
url: url,
});
},
startCountdown() {