Commit b3ed2778 by doszhang

Update index.js

parent e3b6697e
......@@ -78,7 +78,7 @@ $(document).ready(function () {
$('#card').find('img').attr('src','Public/static/images/no-przie.jpg')
}else {
type = 1
type = 2
$('#card').find('img').attr('src','Public/static/images/prize-map.jpg')
if(resp.data.info_type==0 || resp.data.info_type==2){
......@@ -118,8 +118,8 @@ $(document).ready(function () {
$('.m-prize').show();
$('.y-prize').hide();
}else if(type == 2){
$('.m-prize').show();
$('.y-prize').hide();
$('.m-prize').hide();
$('.y-prize').show();
my_notify('你已中过奖');
}else {
$('.m-prize').hide();
......
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