Commit e3b6697e by doszhang

Update index.js

parent 7c50ff76
...@@ -80,7 +80,7 @@ $(document).ready(function () { ...@@ -80,7 +80,7 @@ $(document).ready(function () {
}else { }else {
type = 1 type = 1
$('#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){
$('.btn-submit').show(); $('.btn-submit').show();
}else { }else {
...@@ -92,6 +92,7 @@ $(document).ready(function () { ...@@ -92,6 +92,7 @@ $(document).ready(function () {
} }
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 = 2
$('#card').find('img').attr('src','Public/static/images/no-przie.jpg')
// my_notify('你已中过奖'); // my_notify('你已中过奖');
} }
} }
...@@ -120,7 +121,6 @@ $(document).ready(function () { ...@@ -120,7 +121,6 @@ $(document).ready(function () {
$('.m-prize').show(); $('.m-prize').show();
$('.y-prize').hide(); $('.y-prize').hide();
my_notify('你已中过奖'); my_notify('你已中过奖');
}else { }else {
$('.m-prize').hide(); $('.m-prize').hide();
$('.y-prize').show(); $('.y-prize').show();
......
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