From 51dd0158bc451b27b0fc832b2fd30180dd56b7a1 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 30 六月 2020 10:06:50 +0800 Subject: [PATCH] Merge branch 'master' of ssh://193.112.35.168:29418/flqFront --- AppInside/accountZX/fetchCode.html | 34 +++++++++++++++++++++++++--------- 1 files changed, 25 insertions(+), 9 deletions(-) diff --git a/AppInside/accountZX/fetchCode.html b/AppInside/accountZX/fetchCode.html index 856f4bf..9e5918d 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;"> @@ -58,9 +58,10 @@ }; </script> <script> - // "http://api.flqapp.com"; - var host = "http://192.168.1.253:8080"; - var h5Host = "http://192.168.1.114:8848/flqFront/" + // "http://api.flqapp.com"; "http://192.168.1.253:8080"; + var host = "http://api.flqapp.com"; + // "http://apph5.banliapp.com"; "http://192.168.1.114:8848/flqFront"; + var h5Host = "http://apph5.banliapp.com"; var phone = getQueryString('phone'); var check = null; @@ -105,7 +106,7 @@ if (next > txts.length - 1) { txts[txts.length - 1].blur(); vcode = vcode + txts[0].value + +txts[1].value + txts[2].value + txts[3].value; - + // yesApp.toast('ss') checkCode(); return; } @@ -135,10 +136,12 @@ yesApp.hideLoading(); if (result.code == 0) { //window.location.href = "result.html"; - var controller = 'ShonpingShareViewController' - var urls = h5Host + 'AppInside/accountZX/result.html'; + 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 +154,7 @@ } }, error: function(XMLHttpRequest, textStatus, errorThrown) { + yesApp.toast('s') yesApp.hideLoading(); if (textStatus === 'timeout') { setTimeout(function() {}, 2000); @@ -218,6 +222,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