...
|
...
|
@@ -15,7 +15,6 @@ |
|
|
object-fit="fill"
|
|
|
x5-video-player-type="h5"
|
|
|
:duration="indexData.video_long"
|
|
|
autoplay
|
|
|
></video>
|
|
|
</view>
|
|
|
<view class="videoShow" @click="play">
|
...
|
...
|
@@ -33,7 +32,7 @@ |
|
|
了解车唛
|
|
|
</view>
|
|
|
<view class="btnItem" @click="href('../myPrize/myPrize?id='+id+'&user_id='+user_id)">
|
|
|
获奖记录
|
|
|
兑奖记录
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
...
|
...
|
@@ -748,59 +747,7 @@ |
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
show();
|
|
|
|
|
|
|
|
|
/* var timer = setTimeout(function() {
|
|
|
indexSelect++
|
|
|
indexSelect = indexSelect % 12;
|
|
|
//这里我只是简单粗暴用y=30*x+200函数做的处理.可根据自己的需求改变转盘速度
|
|
|
i += 100;
|
|
|
if(i > 2400 && _this.lun_arr[indexSelect].id == _this.chou.id){
|
|
|
//获取最新的抽奖次数
|
|
|
if(_this.chou.type_id == 1){
|
|
|
_this.indexData.chou_num--
|
|
|
}else{
|
|
|
_this.$request('/api/h5/chouNum',{id:_this.id}).then((res)=>{
|
|
|
_this.indexData.chou_num = res.data.num
|
|
|
})
|
|
|
}
|
|
|
//红包
|
|
|
if(_this.chou.type_id == 1){
|
|
|
_this.showGetDraw = true
|
|
|
_this.redPackAlert.content[0] = '恭喜您,抽中'+_this.chou.name
|
|
|
if(_this.chou.share_num > 0){
|
|
|
_this.redPackAlert.content[2] = '分享至朋友圈可再获'+_this.chou.share_num+'次抽奖机会'
|
|
|
}else{
|
|
|
_this.redPackAlert.content[2] = ''
|
|
|
}
|
|
|
}
|
|
|
//零食大礼包
|
|
|
if(_this.chou.type_id == 4){
|
|
|
_this.showSnackAlert = true
|
|
|
_this.snackAlert.content[0] = '恭喜您,抽中'+_this.chou.name
|
|
|
_this.snackAlert.time = '领取时间:'+_this.chou.ling_data.start_date+'-'+_this.chou.ling_data.stop_date
|
|
|
_this.snackAlert.address = '领取地址:'+_this.chou.ling_data.ling_address
|
|
|
}
|
|
|
//积分
|
|
|
if(_this.chou.type_id == 3){
|
|
|
_this.showIntegralAlert = true
|
|
|
_this.integralAlert.content[0] = '恭喜您,抽中'+_this.chou.name
|
|
|
}
|
|
|
//抵用券
|
|
|
if(_this.chou.type_id == 2){
|
|
|
_this.showCouponDraw = true
|
|
|
_this.couponAlert.content[0] = '恭喜您,抽中'+_this.chou.name
|
|
|
}
|
|
|
//去除循环
|
|
|
clearInterval(timer);
|
|
|
_this.isRunning = false;
|
|
|
|
|
|
}
|
|
|
_this.indexSelect = indexSelect;
|
|
|
console.log('时间间隔',i)
|
|
|
}, 300+i); */
|
|
|
}
|
|
|
}
|
|
|
}
|
...
|
...
|
|