From f0f0af6aa1128b4f81bd124652ef0668e0e821db Mon Sep 17 00:00:00 2001 From: 重庆迈尖科技有限公司 Date: 星期一, 29 六月 2020 17:25:47 +0800 Subject: [PATCH] ss --- AppInside/accountZX/fetchCode.html | 27 +++++++++++++++++++++------ 1 files changed, 21 insertions(+), 6 deletions(-) diff --git a/AppInside/accountZX/fetchCode.html b/AppInside/accountZX/fetchCode.html index 856f4bf..a0ec312 100644 --- a/AppInside/accountZX/fetchCode.html +++ b/AppInside/accountZX/fetchCode.html @@ -31,9 +31,9 @@ 聽<div class="div_codeBG"> <input type="tel" class="input" style="margin-left: 0.75rem;" autofocus="autofocus" maxlength="1" /> - <input type="tel" class="input" style="margin-left: 0.44rem;" maxlength="1" /> - <input type="tel" class="input" style="margin-left: 0.44rem;" maxlength="1" /> - <input type="tel" class="input" style="margin-left: 0.44rem;" maxlength="1" /> + <input type="tel" class="input" style="margin-left: 0.44rem;" maxlength="1" id="input_2" /> + <input type="tel" class="input" style="margin-left: 0.44rem;" maxlength="1" id="input_3" /> + <input type="tel" class="input" style="margin-left: 0.44rem;" maxlength="1" id="input_4" /> </div>聽聽 聽聽聽 <div class="div_lineBG" style="margin-top: -1.1rem; display: -webkit-flex;"> @@ -105,8 +105,8 @@ if (next > txts.length - 1) { txts[txts.length - 1].blur(); vcode = vcode + txts[0].value + +txts[1].value + txts[2].value + txts[3].value; - - checkCode(); + // yesApp.toast('ss') + checkCode(); return; } //txts[next].removeAttribute("readonly"); @@ -135,10 +135,12 @@ yesApp.hideLoading(); if (result.code == 0) { //window.location.href = "result.html"; - var controller = 'ShonpingShareViewController' + var controller = 'ShonpingShareViewController'; + var activity = 'com.yeshi.ec.rebate.myapplication.ui.invite.ShareBrowserActivity'; var urls = h5Host + 'AppInside/accountZX/result.html'; var jumpDetail = { + activity: activity, controller: controller } var parms = { @@ -151,6 +153,7 @@ } }, error: function(XMLHttpRequest, textStatus, errorThrown) { + yesApp.toast('s') yesApp.hideLoading(); if (textStatus === 'timeout') { setTimeout(function() {}, 2000); @@ -218,6 +221,18 @@ }; setTimer(); + + var platform = yesApp.getPlatform(); + if (platform == 1) { + $('.input').css({ + 'width': '1rem', + }) + + $('#input_2').css({ + 'width': '1rem', + 'margin-left': '0.44rem' + }) + } }); </script> </html> -- Gitblit v1.8.0