双乾支付js弹窗错误修正

master
zhengyongxing 5 years ago
parent 82c1ca6a68
commit 180d69689d

@ -671,7 +671,7 @@
<div><input type="text" placeholder="请输入验证码" id="smsCode_heng" name="smsCode" > <img src="__IMG__/shortcut/dacha.png" alt=""> </div>
<div id="sms_heng" onclick="getSms_heng()" >获取验证码</div>
</div>
<div class="payment_input_phone" style="display: none">验证码已发送至:<span>18000000000</span></div>
<div class="payment_input_phone" >验证码已发送至:<span></span></div>
<div class="payment_input_phone_btn_heng">确认</div>
</div>
</div>
@ -922,12 +922,12 @@ $(function (){
$("#phoneNo").blur(function(){
$(".phone").children().text($(this).val());
// $('.payment_input_phone').children().text($("#phoneNo").val());
$('.payment_input_phone').children().text($("#phoneNo").val());
});
$("#phoneNo_heng").blur(function(){
$(".phone_heng").children().text($(this).val());
// $('.payment_input_phone').children().text($("#phoneNo_heng").val());
$('.payment_input_phone').children().text($("#phoneNo_heng").val());
});
$(".bank_order_heng input").focus(function () {
@ -1031,24 +1031,25 @@ $(function (){
$('.forbid_model').hide();
$('.forbid_window').hide();
$('.bank_mode').hide();
show_payment_code();
});
$('.forbid_confirm').click(function() {
$('.bank_mode').hide();
$('.forbid_model').hide();
$('.forbid_window').hide();
show_payment_code();
});
$('.forbid_close').click(function() {
$('.bank_mode').hide();
$('.forbid_model').hide();
$('.forbid_window').hide();
show_payment_code();
});
$(".pay_submit").click(function() {
var url = $(this).data('url');
});
@ -1285,6 +1286,18 @@ function forbit(text) {
}
function show_payment_code() {
var text = $('.forbid_pay').children().next().text();
console.log(text);
if (text == '验证码有误,请重填验证码有误,请重填') {
$('.bank_mode').show();
$('.payment_code').show();
}
}
var btnpay = false;
$(".payment_input_phone_btn").click(function(){
if (btnpay == true) return ;

Loading…
Cancel
Save