Commit 7c50ff76 by doszhang

Update index.js

parent d2f169f5
...@@ -112,17 +112,20 @@ $(document).ready(function () { ...@@ -112,17 +112,20 @@ $(document).ready(function () {
coverImg:'Public/static/images/m-c.jpg', coverImg:'Public/static/images/m-c.jpg',
ratio: .3 ratio: .3
}, function() { }, function() {
this.clearCover();
if(type == 0){ if(type == 0){
$('.m-prize').show(); $('.m-prize').show();
$('.y-prize').hide(); $('.y-prize').hide();
}else if(type == 2){ }else if(type == 2){
$('.m-prize').show();
$('.y-prize').hide();
my_notify('你已中过奖'); my_notify('你已中过奖');
}else { }else {
$('.m-prize').hide(); $('.m-prize').hide();
$('.y-prize').show(); $('.y-prize').show();
} }
this.clearCover();
}); });
}); });
......
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