admin
2020-06-30 51dd0158bc451b27b0fc832b2fd30180dd56b7a1
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>