Commit 8ea41328 by doszhang

dos

parent 67cc9f3e
......@@ -99,7 +99,7 @@ $(document).ready(function () {
//提交手机号
$('.prize-page .btn-submit').on('click',submitTel);
//点击视频跳转抽奖
$('.video-block').on('click',tryPrize);
$('.bj-img').on('click',tryPrize);
});
function submitTel () {
......@@ -145,6 +145,8 @@ function backToMap () {
}
function videoEnd () {
$('.video-block').hide();
$('.bj-img').show();
allowPrize = true;
video.removeEventListener('ended', videoEnd);
}
......@@ -153,7 +155,6 @@ function tryPrize () {
if(allowPrize)
{
allowPrize = false;
//$('.video-block').hide();
if(window.type == 0)
{
$.ajax({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment