|
|
@ -181,7 +181,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<body>
|
|
|
|
<!--加载提示框-->
|
|
|
|
<!--加载提示框-->
|
|
|
|
<div class="js_dialog" id="Dialog" style="display: none">
|
|
|
|
<div class="js_dialog" id="Dialog" style="display: none;">
|
|
|
|
<div class="weui-mask"></div>
|
|
|
|
<div class="weui-mask"></div>
|
|
|
|
<div class="weui-dialog" style="width: 4.5rem;max-width: 4.5rem;display: flex;flex-direction:column;padding:.4rem .2rem;">
|
|
|
|
<div class="weui-dialog" style="width: 4.5rem;max-width: 4.5rem;display: flex;flex-direction:column;padding:.4rem .2rem;">
|
|
|
|
<!-- <div id="close_doalog" style="width: 100%;text-align: left;height: .6rem;display: flex;">
|
|
|
|
<!-- <div id="close_doalog" style="width: 100%;text-align: left;height: .6rem;display: flex;">
|
|
|
@ -536,7 +536,26 @@
|
|
|
|
if(isok){
|
|
|
|
if(isok){
|
|
|
|
btnpay = true;
|
|
|
|
btnpay = true;
|
|
|
|
Tip.loadShow();
|
|
|
|
Tip.loadShow();
|
|
|
|
$("#wfform").submit();
|
|
|
|
//更换表单提交方式
|
|
|
|
|
|
|
|
$.ajax({
|
|
|
|
|
|
|
|
type: "POST",
|
|
|
|
|
|
|
|
dataType: "json",
|
|
|
|
|
|
|
|
url: "{:U('WapPay/shortcut_pay')}" ,
|
|
|
|
|
|
|
|
data: $('#wfform').serialize(),
|
|
|
|
|
|
|
|
success: function (result) {
|
|
|
|
|
|
|
|
//处理结果
|
|
|
|
|
|
|
|
if(result.status == 0){
|
|
|
|
|
|
|
|
Tip.msgShow(result.info);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
//TODO: 支付成功跳转
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
console.log(result)
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
error: function() {
|
|
|
|
|
|
|
|
Tip.msgShow('网络请求异常,请稍后再试');
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
// $("#wfform").submit();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
})
|
|
|
|