作者 anyv
1 个管道 的构建 通过 耗费 0 秒

5

@@ -192,10 +192,21 @@ @@ -192,10 +192,21 @@
192 <script src="__TMPL__/public/assets/js/jquery.js"></script> 192 <script src="__TMPL__/public/assets/js/jquery.js"></script>
193 <script src="__TMPL__/public/assets/js/base.js"></script> 193 <script src="__TMPL__/public/assets/js/base.js"></script>
194 <script> 194 <script>
  195 + function selectBlur() {
  196 +
  197 + setTimeout(function () {
  198 +
  199 + var scrollHeight = document.documentElement.scrollTop || document.body.scrollTop || 0;
  200 +
  201 + window.scrollTo(0, Math.max(scrollHeight - 1, 0));
  202 +
  203 + }, 100);
  204 +
  205 + }
195 <!--验证弹窗--> 206 <!--验证弹窗-->
196 var state; 207 var state;
197 $.post("{:url('Personalcenter/id_first_withdrawal')}",{},function(data){ 208 $.post("{:url('Personalcenter/id_first_withdrawal')}",{},function(data){
198 - state = data 209 + state = data;
199 }); 210 });
200 $(".log_seven_btn_contant").click(function() { 211 $(".log_seven_btn_contant").click(function() {
201 console.log(state); 212 console.log(state);
@@ -212,6 +223,7 @@ @@ -212,6 +223,7 @@
212 var yzm; 223 var yzm;
213 var phone; 224 var phone;
214 function Message_validation(){ 225 function Message_validation(){
  226 + selectBlur();
215 yzm = $('#Ver_code').val(); 227 yzm = $('#Ver_code').val();
216 phone = $('#phone').val(); 228 phone = $('#phone').val();
217 if(phone == '' || !(/^1[34578]\d{9}$/.test(phone))){ 229 if(phone == '' || !(/^1[34578]\d{9}$/.test(phone))){