|
@@ -148,7 +148,7 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</body>
|
|
-<script src="{{Cdns .Host "seo" "cdn"|SafeUrl}}/jyapp/local/jquery.min.js"></script>
|
|
|
|
|
|
+<script src="https://cdn-common.jianyu360.com/cdn/lib/jquery/3.6.0/jquery.min.js"></script>
|
|
<script src="{{Cdns .Host "seo" "cdn"|SafeUrl}}/jyapp/big-member/js/pinch-zoom.js?v={{Msg "seo" "version"}}"></script>
|
|
<script src="{{Cdns .Host "seo" "cdn"|SafeUrl}}/jyapp/big-member/js/pinch-zoom.js?v={{Msg "seo" "version"}}"></script>
|
|
<script src="{{Cdns .Host "seo" "cdn"|SafeUrl}}/jyapp/vipsubscribe/js/common.js?v={{Msg "seo" "version"}}"></script>
|
|
<script src="{{Cdns .Host "seo" "cdn"|SafeUrl}}/jyapp/vipsubscribe/js/common.js?v={{Msg "seo" "version"}}"></script>
|
|
<!--<script src="{{Cdns .Host "seo" "cdn"|SafeUrl}}/jyapp/local/fastclick.min.js"></script>-->
|
|
<!--<script src="{{Cdns .Host "seo" "cdn"|SafeUrl}}/jyapp/local/fastclick.min.js"></script>-->
|
|
@@ -193,7 +193,7 @@
|
|
//有效周期
|
|
//有效周期
|
|
$(".line_cycle").css("display", "");
|
|
$(".line_cycle").css("display", "");
|
|
console.log(r.data.pay_way, r.data.course_status, r.data.pay_way === "transferAccounts", r.data.course_status === 4)
|
|
console.log(r.data.pay_way, r.data.course_status, r.data.pay_way === "transferAccounts", r.data.course_status === 4)
|
|
-
|
|
|
|
|
|
+
|
|
var pay_again = ""
|
|
var pay_again = ""
|
|
//发票
|
|
//发票
|
|
if (r.data.applybill_status === 0) {
|
|
if (r.data.applybill_status === 0) {
|
|
@@ -204,7 +204,7 @@
|
|
pay_again += "<button class=\"j-button-cancel\" style=\"width: 100%!important;height: 0.92rem!important;\" onclick='checkinvoice(" + r.data.applybill_status + ")'>查看发票</button>"
|
|
pay_again += "<button class=\"j-button-cancel\" style=\"width: 100%!important;height: 0.92rem!important;\" onclick='checkinvoice(" + r.data.applybill_status + ")'>查看发票</button>"
|
|
}
|
|
}
|
|
$('.j-footer').show().html(pay_again);
|
|
$('.j-footer').show().html(pay_again);
|
|
-
|
|
|
|
|
|
+
|
|
//支付方式
|
|
//支付方式
|
|
if (r.data.pay_way.indexOf("wx") > -1) {
|
|
if (r.data.pay_way.indexOf("wx") > -1) {
|
|
$(".line_payway").css("display", "");
|
|
$(".line_payway").css("display", "");
|
|
@@ -218,7 +218,7 @@
|
|
$(".payWay").html("公对公转账<span style='color: #2ABED1' onclick='showImg()'> 查看凭证</span>");
|
|
$(".payWay").html("公对公转账<span style='color: #2ABED1' onclick='showImg()'> 查看凭证</span>");
|
|
}
|
|
}
|
|
$(".line_payway").css("display", "");
|
|
$(".line_payway").css("display", "");
|
|
-
|
|
|
|
|
|
+
|
|
$(".l-item.paymoney").css("display", "");
|
|
$(".l-item.paymoney").css("display", "");
|
|
$(".price").text("¥ " + formatMoney(r.data.pay_money / 100) + "元");
|
|
$(".price").text("¥ " + formatMoney(r.data.pay_money / 100) + "元");
|
|
return
|
|
return
|
|
@@ -226,7 +226,7 @@
|
|
$(".invoice").css("display", "none");
|
|
$(".invoice").css("display", "none");
|
|
return
|
|
return
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
$(".l-item.paymoney").css("display", "");
|
|
$(".l-item.paymoney").css("display", "");
|
|
if (r.data.discount_price&&r.data.discount_price>0){
|
|
if (r.data.discount_price&&r.data.discount_price>0){
|
|
var totalmoney = Number(r.data.order_money)+Number(r.data.discount_price)
|
|
var totalmoney = Number(r.data.order_money)+Number(r.data.discount_price)
|
|
@@ -238,7 +238,7 @@
|
|
$(".line_paytime").css("display", "");
|
|
$(".line_paytime").css("display", "");
|
|
$(".payTime").css("display", "").text(r.data.pay_time.replace("-", "/").replace("-", "/"));
|
|
$(".payTime").css("display", "").text(r.data.pay_time.replace("-", "/").replace("-", "/"));
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
$(".line_transaction").css("display", "");
|
|
$(".line_transaction").css("display", "");
|
|
if (r.data.prepay_id) $(".transaction_id").text(r.data.prepay_id);
|
|
if (r.data.prepay_id) $(".transaction_id").text(r.data.prepay_id);
|
|
}
|
|
}
|
|
@@ -246,7 +246,7 @@
|
|
//未支付
|
|
//未支付
|
|
$("#card-header-bg").addClass("bg nopay-bg")
|
|
$("#card-header-bg").addClass("bg nopay-bg")
|
|
$("#pageTitle").addClass("status")
|
|
$("#pageTitle").addClass("status")
|
|
-
|
|
|
|
|
|
+
|
|
if (r.data.discount_price&&r.data.discount_price>0){
|
|
if (r.data.discount_price&&r.data.discount_price>0){
|
|
var totalmoney = Number(r.data.order_money)+Number(r.data.discount_price)
|
|
var totalmoney = Number(r.data.order_money)+Number(r.data.discount_price)
|
|
priceText = "¥ " + formatMoney(totalmoney / 100) + "元";
|
|
priceText = "¥ " + formatMoney(totalmoney / 100) + "元";
|
|
@@ -258,7 +258,7 @@
|
|
} else if (r.data.course_status === 3) {
|
|
} else if (r.data.course_status === 3) {
|
|
$("#pageTitle").text("未收到转账");
|
|
$("#pageTitle").text("未收到转账");
|
|
$(".remaining").show().text("客服电话:400-108-6670")
|
|
$(".remaining").show().text("客服电话:400-108-6670")
|
|
-
|
|
|
|
|
|
+
|
|
$(".j-footer").show().html("<button class='j-button-confirm' style='width: 100%!important;height: 0.92rem!important;' >再次支付</button>").on("click", function () {
|
|
$(".j-footer").show().html("<button class='j-button-confirm' style='width: 100%!important;height: 0.92rem!important;' >再次支付</button>").on("click", function () {
|
|
window.location.href = "/jyapp/pay/checkout_integral?orderCode=" + orderCode;
|
|
window.location.href = "/jyapp/pay/checkout_integral?orderCode=" + orderCode;
|
|
})
|
|
})
|
|
@@ -268,12 +268,12 @@
|
|
$(".payWay").html("公对公转账<span style='color: #2ABED1' onclick='showImg()'> 查看凭证</span>");
|
|
$(".payWay").html("公对公转账<span style='color: #2ABED1' onclick='showImg()'> 查看凭证</span>");
|
|
}
|
|
}
|
|
$(".line_payway").css("display", "");
|
|
$(".line_payway").css("display", "");
|
|
-
|
|
|
|
|
|
+
|
|
$(".l-item.paymoney").css("display", "");
|
|
$(".l-item.paymoney").css("display", "");
|
|
$(".paymoney .price").text("-");
|
|
$(".paymoney .price").text("-");
|
|
return
|
|
return
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
$("#pageTitle").text("待付款");
|
|
$("#pageTitle").text("待付款");
|
|
$(".remaining").show()
|
|
$(".remaining").show()
|
|
var order_create_time = r.data.create_time
|
|
var order_create_time = r.data.create_time
|
|
@@ -458,4 +458,4 @@
|
|
$(".page.pinch-zoom-parent").css("display", "").css("z-index", "999")
|
|
$(".page.pinch-zoom-parent").css("display", "").css("z-index", "999")
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
-{{include "/common/baiducc.html"}}
|
|
|
|
|
|
+{{include "/common/baiducc.html"}}
|