Enzo 4 years ago
parent
commit
fa30590fec
  1. 9
      pages/shop/goodsdetail.vue

9
pages/shop/goodsdetail.vue

@ -174,7 +174,7 @@
</button> </button>
</view> </view>
<view v-if="type == 'seckill'"> <view v-if="type == 'seckill'">
<button class="btn" style="width: 349rpx;">立即秒杀</button>
<button class="btn" style="width: 349rpx;" @click="shoot(2)">立即秒杀</button>
</view> </view>
<view v-else-if="type == 'point'"> <view v-else-if="type == 'point'">
<button class="btn" style="width: 349rpx;">立即兑换</button> <button class="btn" style="width: 349rpx;">立即兑换</button>
@ -452,6 +452,13 @@
qty: this.goods_num 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({ uni.showLoading({
title: '正在提交' title: '正在提交'

Loading…
Cancel
Save