|
|
|
@ -174,7 +174,7 @@ |
|
|
|
</button> |
|
|
|
</view> |
|
|
|
<view v-if="type == 'seckill'"> |
|
|
|
<button class="btn" style="width: 349rpx;">立即秒杀</button> |
|
|
|
<button class="btn" style="width: 349rpx;" @click="shoot(2)">立即秒杀</button> |
|
|
|
</view> |
|
|
|
<view v-else-if="type == 'point'"> |
|
|
|
<button class="btn" style="width: 349rpx;" @click="goExchange()">立即兑换</button> |
|
|
|
@ -459,6 +459,13 @@ |
|
|
|
qty: this.goods_num |
|
|
|
} |
|
|
|
} |
|
|
|
// 秒杀商品 |
|
|
|
if(this.$isRight(this.seckill)){ |
|
|
|
delete par.product_id; |
|
|
|
par.seckill_goods_id = this.seckill.item_id; |
|
|
|
par.seckill_item_id = this.seckill.id; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
uni.showLoading({ |
|
|
|
title: '正在提交' |
|
|
|
|