Commit e3b6697e by doszhang

Update index.js

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