ss
重庆迈尖科技有限公司
2020-06-29 f0f0af6aa1128b4f81bd124652ef0668e0e821db
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>