Commit 8159d651 by doszhang

Update index.js

parent cf02d06c
...@@ -96,7 +96,7 @@ $(document).ready(function () { ...@@ -96,7 +96,7 @@ $(document).ready(function () {
$('.address').val(resp.data.address); $('.address').val(resp.data.address);
} }
if(resp.data.info_type==2 || resp.data.info_type==1){ if(resp.data.info_type==2 || resp.data.info_type==1){
type = 2 type = 3
$('#card').find('img').attr('src','Public/static/images/prize-map.jpg') $('#card').find('img').attr('src','Public/static/images/prize-map.jpg')
// my_notify('你已中过奖'); // my_notify('你已中过奖');
} }
...@@ -125,6 +125,10 @@ $(document).ready(function () { ...@@ -125,6 +125,10 @@ $(document).ready(function () {
}else if(type == 2){ }else if(type == 2){
$('.m-prize').hide(); $('.m-prize').hide();
$('.y-prize').show(); $('.y-prize').show();
}else if(type == 3){
$('.m-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