Commit 6e3be8db authored by zhengke's avatar zhengke

xiugai

parent 464ec7d2
...@@ -182,7 +182,7 @@ ...@@ -182,7 +182,7 @@
} }
countdown(); countdown();
}) })
var second = 180; var second = 60;
var payBtn = true; var payBtn = true;
var changesecond = ''; var changesecond = '';
//倒计时 //倒计时
...@@ -191,6 +191,9 @@ ...@@ -191,6 +191,9 @@
payBtn = false; payBtn = false;
changesecond = '00:00'; changesecond = '00:00';
$(".daojishi").html(changesecond); $(".daojishi").html(changesecond);
$('.pay_btn').css({'background-color':'gray'});
$(".pay_btn").attr("disabled", true);
setTimeout("goActive()", 2000);
return; return;
} }
var time = setTimeout(function() { var time = setTimeout(function() {
...@@ -226,13 +229,16 @@ ...@@ -226,13 +229,16 @@
} }
return result; return result;
}; };
function goActive(){
window.location.href = 'http://activity.oytour.com/html/GT_activities.html';
}
function pay() { function pay() {
if (!localStorage.openid) { if (!localStorage.openid) {
window.location.href = 'http://activity.oytour.com/html/GT_activities.html'; window.location.href = 'http://activity.oytour.com/html/GT_activities.html';
} }
if (!payBtn) { if (!payBtn) {
layer.msg('您已经超出支付时间!'); layer.msg('您已经超出支付时间!');
return;
} }
var payMsg; var payMsg;
if (sessionStorage.getItem("payInfo")) { if (sessionStorage.getItem("payInfo")) {
......
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 to comment