| | |
| | |
|
| | | <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;">
|
| | |
| | | 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;
|
| | | }
|
| | |
| | | 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 = {
|
| | |
| | | }
|
| | | },
|
| | | error: function(XMLHttpRequest, textStatus, errorThrown) {
|
| | | yesApp.toast('s')
|
| | | yesApp.hideLoading();
|
| | | if (textStatus === 'timeout') {
|
| | | setTimeout(function() {}, 2000);
|
| | |
| | | };
|
| | |
|
| | | setTimer();
|
| | |
|
| | | var platform = yesApp.getPlatform();
|
| | | if (platform == 1) {
|
| | | $('.input').css({
|
| | | 'width': '1rem',
|
| | | })
|
| | |
|
| | | $('#input_2').css({
|
| | | 'width': '1rem',
|
| | | 'margin-left': '0.44rem'
|
| | | })
|
| | | }
|
| | | });
|
| | | </script>
|
| | | </html> |