|
@@ -218,7 +218,7 @@
|
|
|
$("#rec_addr").val(addrJson['rec_addr'])
|
|
|
}
|
|
|
} else {
|
|
|
- alert(data['msg'])
|
|
|
+ console.log(data['msg'])
|
|
|
}
|
|
|
}
|
|
|
);
|
|
@@ -229,11 +229,11 @@
|
|
|
|
|
|
function DetailsTab() {
|
|
|
if (draw_status == 1 || draw_status == 2) {
|
|
|
- alert('恭喜你');
|
|
|
+// alert('恭喜你');
|
|
|
$('#drawTab').hide();
|
|
|
$('#detailsTab').show();
|
|
|
} else {
|
|
|
- alert( '很遗憾,你没有中奖');
|
|
|
+// alert( '很遗憾,你没有中奖');
|
|
|
// $("#error").html("很遗憾,你没有中奖");
|
|
|
// setTimeout('$("#error").fadeIn(1);', 100);
|
|
|
// setTimeout('$("#error").fadeOut(2000);', 100);
|
|
@@ -337,14 +337,13 @@
|
|
|
//中奖状态 1:c611,2:c612 ,3:不中奖
|
|
|
let status = data['res']['status']
|
|
|
if (status == 1) {
|
|
|
- console.log('中奖c611')
|
|
|
+ console.log('中奖c611');
|
|
|
} else if (status == 2) {
|
|
|
- console.log('中奖c612')
|
|
|
+ console.log('中奖c612');
|
|
|
} else if (status == 3) {
|
|
|
console.log('很遗憾没有中奖');
|
|
|
}
|
|
|
doDrawRollAction(status);
|
|
|
- InitIndex();
|
|
|
} else if(data['code']==309) {
|
|
|
alert('请绑定手机再来抽奖吧!');
|
|
|
} else{
|
|
@@ -420,6 +419,7 @@
|
|
|
callback: function () {
|
|
|
//alert("¥" + txt);
|
|
|
alert(txt)
|
|
|
+ DetailsTab();
|
|
|
bRotate = !bRotate;
|
|
|
}
|
|
|
})
|
|
@@ -554,6 +554,7 @@
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
</script>
|
|
|
<script type="text/javascript">
|
|
|
var ua = navigator.userAgent.toLowerCase();
|