Commit b3ed2778 by doszhang

Update index.js

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