From d68a6e785677915346d6014f8acb313400e97de3 Mon Sep 17 00:00:00 2001 From: tpingzhang <635929049@qq.com> Date: Mon, 11 Nov 2019 16:40:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BF=AB=E6=8D=B7=E6=94=AF=E4=BB=98=20?= =?UTF-8?q?=E6=9C=AA=E7=AD=BE=E7=BA=A6=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../View/default/WapPay/wap_shortcut_pay.html | 33 +++++++++++-------- 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/Application/Sdk/View/default/WapPay/wap_shortcut_pay.html b/Application/Sdk/View/default/WapPay/wap_shortcut_pay.html index e585a01a..05b2b3b9 100644 --- a/Application/Sdk/View/default/WapPay/wap_shortcut_pay.html +++ b/Application/Sdk/View/default/WapPay/wap_shortcut_pay.html @@ -167,8 +167,10 @@ function getSms() { $("#sms").html("请求中"); smsstatus = false; - $("#bankdialog").show(); - return ; + var sms=document.getElementById("sms"); + +/* $("#bankdialog").show(); + return ; */ //获取短信验证码 $.ajax({ type: "POST", @@ -188,7 +190,6 @@ function getSms() { var time=60; if (validCode) { validCode=false; - var sms=document.getElementById("sms"); var t=setInterval(function () { time--; sms.innerText=time+"秒" @@ -196,7 +197,6 @@ function getSms() { if (time==0) { clearInterval(t); sms.innerText="获取短信验证码"; - juege.inherit=""; validCode=true; smsstatus = true; @@ -207,15 +207,14 @@ function getSms() { } else { if (res.status== 2) { // 未签约 - // 展示未签约页面 + // 展示未签约页面 + $("#sign_mibile").html($("#phoneNo").val()); $("#bankdialog").show(); - sms.innerText="获取短信验证码"; - smsstatus = true; } sms.innerText="获取短信验证码"; - $("#tipmsg").html(res.info); - $("#msgdialog").show(); + // $("#tipmsg").html(res.info); + // $("#msgdialog").show(); smsstatus = true; } @@ -295,8 +294,11 @@ function getSignSms() { var code = $("#sign_code").val(); if (!code) { $("#tipmsg").html('参数不能为空'); - $("#msgdialog").show(); + $("#bankdialog").hide(); + $("#msgdialog").show(); + tiptype = 2; signflag = true; + return ; } $.ajax({ type: "POST", @@ -359,6 +361,11 @@ $(function() { /* $("#close_tip").click(function() { $("#msgdialog").hide(); }); */ + $("#close_img").click(function() { + $("#msgdialog").hide(); + $("#bankdialog").hide(); + }); + $("#tipok,#close_tip").click(function() { if (tiptype == 0) { @@ -411,8 +418,8 @@ $(function() {