Commit 6e3be8db authored by zhengke's avatar zhengke

xiugai

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