Commit 4375ddd6 by doszhang

dos

parent 41ee8e24
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
lengthChange: false, lengthChange: false,
buttons: ['excel', 'csv' ], buttons: ['excel', 'csv' ],
"bLengthChange": false, "bLengthChange": false,
"iDisplayLength": 1900, "iDisplayLength": 15,
'language': { 'language': {
"sProcessing": "处理中...", "sProcessing": "处理中...",
"sLengthMenu": "显示 _MENU_ 项结果", "sLengthMenu": "显示 _MENU_ 项结果",
......
...@@ -58,6 +58,8 @@ $('.leafContainer').attr('id','leafContainer'); ...@@ -58,6 +58,8 @@ $('.leafContainer').attr('id','leafContainer');
if(window.type != 0 && window.tel == '') if(window.type != 0 && window.tel == '')
{ {
$('#notification_area').remove();
my_notify('活动已结束');
$('.prize-page').show(); $('.prize-page').show();
showPrize(window.type); showPrize(window.type);
} }
...@@ -206,6 +208,9 @@ function tryPrize () { ...@@ -206,6 +208,9 @@ function tryPrize () {
allowPrize = false; allowPrize = false;
if(window.type == 0) if(window.type == 0)
{ {
$('#notification_area').remove();
my_notify('活动已结束');
return false;
$.ajax({ $.ajax({
url: '/index/tryprize', url: '/index/tryprize',
type: 'POST', type: 'POST',
...@@ -220,6 +225,8 @@ function tryPrize () { ...@@ -220,6 +225,8 @@ function tryPrize () {
} }
}); });
} else { } else {
$('#notification_area').remove();
my_notify('活动已结束');
$('.map-page').hide(); $('.map-page').hide();
$('.prize-page').show(); $('.prize-page').show();
$('.video-block,.heb-img,.sh-img,.sy-img,.bj-img').hide(); $('.video-block,.heb-img,.sh-img,.sy-img,.bj-img').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