|
@@ -289,7 +289,6 @@
|
|
})
|
|
})
|
|
// 删除图片
|
|
// 删除图片
|
|
$('.upload_box').on('click','.screen',function(){
|
|
$('.upload_box').on('click','.screen',function(){
|
|
- console.log("删除图片")
|
|
|
|
//$("#upload").upload("reset");
|
|
//$("#upload").upload("reset");
|
|
$('.upload_box img').remove();
|
|
$('.upload_box img').remove();
|
|
$('.screen').hide();
|
|
$('.screen').hide();
|
|
@@ -306,7 +305,6 @@
|
|
async: false,
|
|
async: false,
|
|
dataType: 'json',
|
|
dataType: 'json',
|
|
success: function(r){
|
|
success: function(r){
|
|
- console.log(r)
|
|
|
|
if(r.success){
|
|
if(r.success){
|
|
$('.toast').show("linear");
|
|
$('.toast').show("linear");
|
|
setTimeout(function () {
|
|
setTimeout(function () {
|
|
@@ -407,7 +405,6 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
//获取支付二维码
|
|
//获取支付二维码
|
|
- console.log(pageName)
|
|
|
|
function OrderPay(){
|
|
function OrderPay(){
|
|
if(pageName=="course"){
|
|
if(pageName=="course"){
|
|
$(".t_left").text("订单已提交成功,请尽快支付,以免影响正常上课!")
|
|
$(".t_left").text("订单已提交成功,请尽快支付,以免影响正常上课!")
|
|
@@ -454,7 +451,6 @@
|
|
}
|
|
}
|
|
//展示支付码 并倒计时
|
|
//展示支付码 并倒计时
|
|
function showCode(code, prepaytime) {
|
|
function showCode(code, prepaytime) {
|
|
- console.log(code)
|
|
|
|
if (payWay == "wx_pc") {
|
|
if (payWay == "wx_pc") {
|
|
$(".pay_content .con").eq(0).find(".qrcode_box").html("<img src='data:image/png;base64," + code + "'>");
|
|
$(".pay_content .con").eq(0).find(".qrcode_box").html("<img src='data:image/png;base64," + code + "'>");
|
|
} else {
|
|
} else {
|
|
@@ -467,6 +463,9 @@
|
|
var t = new Date(prepaytime).getTime() + limit - new Date().getTime();
|
|
var t = new Date(prepaytime).getTime() + limit - new Date().getTime();
|
|
t=t>limit?limit:t;
|
|
t=t>limit?limit:t;
|
|
interval_t = parseInt(t / 1000);
|
|
interval_t = parseInt(t / 1000);
|
|
|
|
+ if(productType === "数据报告"){
|
|
|
|
+ interval_t = prepaytime;
|
|
|
|
+ }
|
|
interval = setInterval(function() {
|
|
interval = setInterval(function() {
|
|
var h = Math.floor(interval_t / 60 / 60 % 24);
|
|
var h = Math.floor(interval_t / 60 / 60 % 24);
|
|
var m = Math.floor(interval_t / 60 % 60);
|
|
var m = Math.floor(interval_t / 60 % 60);
|