Commit 69bdec22 by doszhang

Update index.js

parent 611891c9
...@@ -62,8 +62,8 @@ $(document).ready(function () { ...@@ -62,8 +62,8 @@ $(document).ready(function () {
$('.no-prize').show(); $('.no-prize').show();
$('.page-g').show(); $('.page-g').show();
LuckyCard.case({ LuckyCard.case({
coverColor:'#CCCCCC', // coverColor:'#CCCCCC',
// coverImg:'Public/static/images/m-c.jpg', coverImg:'Public/static/images/m-c.jpg',
ratio: .3 ratio: .3
}, function() { }, function() {
if (!prize_lock) { if (!prize_lock) {
...@@ -81,6 +81,7 @@ $(document).ready(function () { ...@@ -81,6 +81,7 @@ $(document).ready(function () {
$('.page-s-c').hide(); $('.page-s-c').hide();
$('.page_checking').hide(); $('.page_checking').hide();
if (resp.errcode == 0) { if (resp.errcode == 0) {
this.clearCover();
if (resp.data.prize_type == 0) { if (resp.data.prize_type == 0) {
$('#card').find('img').attr('src','Public/static/images/no-przie.jpg') $('#card').find('img').attr('src','Public/static/images/no-przie.jpg')
$('.m-prize').show(); $('.m-prize').show();
...@@ -107,7 +108,7 @@ $(document).ready(function () { ...@@ -107,7 +108,7 @@ $(document).ready(function () {
} }
}); });
this.clearCover();
}); });
// return; // return;
// $('.text_').html('抽奖中,<br>莫捉急~'); // $('.text_').html('抽奖中,<br>莫捉急~');
......
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