Commit 67cc9f3e by doszhang

Update common.js

parent d200c348
...@@ -153,7 +153,7 @@ function tryPrize () { ...@@ -153,7 +153,7 @@ function tryPrize () {
if(allowPrize) if(allowPrize)
{ {
allowPrize = false; allowPrize = false;
$('.video-block').hide(); //$('.video-block').hide();
if(window.type == 0) if(window.type == 0)
{ {
$.ajax({ $.ajax({
...@@ -163,6 +163,7 @@ function tryPrize () { ...@@ -163,6 +163,7 @@ function tryPrize () {
if(resp.status == 1 || resp.status == 0) { if(resp.status == 1 || resp.status == 0) {
$('.map-page').hide(); $('.map-page').hide();
$('.prize-page').show(); $('.prize-page').show();
$('.video-block').hide();
showPrize(resp.prize_type); showPrize(resp.prize_type);
window.type = resp.prize_type; window.type = resp.prize_type;
} }
...@@ -171,6 +172,7 @@ function tryPrize () { ...@@ -171,6 +172,7 @@ function tryPrize () {
} else { } else {
$('.map-page').hide(); $('.map-page').hide();
$('.prize-page').show(); $('.prize-page').show();
$('.video-block').hide();
showPrize(window.type); showPrize(window.type);
//提示领过奖并显示手机号 //提示领过奖并显示手机号
......
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