Commit 7c50ff76 by doszhang

Update index.js

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