feat: 超级补贴优化
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user