作者 xuqiang

提交

... ... @@ -3,10 +3,18 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<title>
<%= htmlWebpackPlugin.options.title %>
</title>
<!-- Open Graph data -->
<!-- <meta property="og:title" content="Title Here" /> -->
<!-- <meta property="og:url" content="http://www.example.com/" /> -->
<!-- <meta property="og:image" content="http://example.com/image.jpg" /> -->
<!-- <meta property="og:description" content="Description Here" /> -->
<script>
var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')
</script>
<script>!function(g,d,t,e,v,n,s){if(g.gdt)return;v=g.gdt=function(){v.tk?v.tk.apply(v,arguments):v.queue.push(arguments)};v.sv='1.0';v.bt=0;v.queue=[];n=d.createElement(t);n.async=!0; n.src=e;s=d.getElementsByTagName(t)[0];s.parentNode.insertBefore(n,s);}(window,document,'script', '//qzonestyle.gtimg.cn/qzone/biz/gdt/dmp/user-action/gdtevent.min.js');gdt('init','1111505460');gdt('track','PAGE_VIEW');</script><noscript><img height="1" width="1" style="display:none" src="https://a.gdt.qq.com/pixel?user_action_set_id=1111505460&action_type=PAGE_VIEW&noscript=1"/></noscript>
<link rel="stylesheet" href="<%= BASE_URL %>static/index.<%= VUE_APP_INDEX_CSS_HASH %>.css" />
</head>
... ...
... ... @@ -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); */
}
}
}
... ...