xuguohong

dabaisha

No preview for this file type

5.9 KB | W: | H:

13.9 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
...@@ -385,6 +385,7 @@ ...@@ -385,6 +385,7 @@
385 385
386 that.$c.on('click', '[type=submit],.submit', function(e) { 386 that.$c.on('click', '[type=submit],.submit', function(e) {
387 var passWordReg = /^[0-9a-zA-Z]+$/; 387 var passWordReg = /^[0-9a-zA-Z]+$/;
388 + var ua = navigator.userAgent.toLowerCase();
388 e.preventDefault(); 389 e.preventDefault();
389 if(/[A-Z]/.test(that.$c.find("input[name='username']").val())){ 390 if(/[A-Z]/.test(that.$c.find("input[name='username']").val())){
390 Core.showTips("账号不能有大写字母!"); 391 Core.showTips("账号不能有大写字母!");
...@@ -402,6 +403,10 @@ ...@@ -402,6 +403,10 @@
402 if (that.$c.find('[name="username"]').val() == that.$c.find('[name="old_usernmae"]').val() && window.android != undefined && window.android.screenShot != undefined ){ 403 if (that.$c.find('[name="username"]').val() == that.$c.find('[name="old_usernmae"]').val() && window.android != undefined && window.android.screenShot != undefined ){
403 window.android.screenShot(); 404 window.android.screenShot();
404 } 405 }
406 + //ios截屏方法
407 + /*if(that.$c.find('[name="username"]').val() == that.$c.find('[name="old_usernmae"]').val() && /iphone|ipad|ipod/.test(ua) && window.screenShot != undefined){
408 + screenShot();
409 + }*/
405 $(this).attr("disabled",true); 410 $(this).attr("disabled",true);
406 $(this).css({"background":"#999"}); 411 $(this).css({"background":"#999"});
407 $(this).parent("li").css({"background":"#999"}); 412 $(this).parent("li").css({"background":"#999"});
......
...@@ -438,7 +438,9 @@ ...@@ -438,7 +438,9 @@
438 <a class="btn btn-bind" href="#modify_pwd">马上升级</a> 438 <a class="btn btn-bind" href="#modify_pwd">马上升级</a>
439 </div> 439 </div>
440 </div> 440 </div>
441 + {{? Core.Data.kefu_info != ""}}
441 <p style="text-align: center;font-size: 20px; color: #949494; position: absolute; width: 100%; bottom: 10px;left:0;">{{=Core.Data.kefu_info[0]}}</p> 442 <p style="text-align: center;font-size: 20px; color: #949494; position: absolute; width: 100%; bottom: 10px;left:0;">{{=Core.Data.kefu_info[0]}}</p>
443 + {{?}}
442 </div> 444 </div>
443 {{?? Core.Data.is_guest == 2}}<!--1:游客登录;2:第三方登录;0:正式用户登录--> 445 {{?? Core.Data.is_guest == 2}}<!--1:游客登录;2:第三方登录;0:正式用户登录-->
444 <div class="user-center-box"> 446 <div class="user-center-box">
...@@ -470,8 +472,10 @@ ...@@ -470,8 +472,10 @@
470 <li style="width:50%;"><a href="#modify_pwd">修改密码</a></li> 472 <li style="width:50%;"><a href="#modify_pwd">修改密码</a></li>
471 <li style="width:50%;"><a href="#identityCard">实名认证</a></li> 473 <li style="width:50%;"><a href="#identityCard">实名认证</a></li>
472 </ul> 474 </ul>
475 + {{? Core.Data.kefu_info != ""}}
473 <p style="text-align: center;font-size: 20px; color: #949494; position: absolute; width: 100%; bottom: 10px;left:0;">{{=Core.Data.kefu_info[0]}}</p> 476 <p style="text-align: center;font-size: 20px; color: #949494; position: absolute; width: 100%; bottom: 10px;left:0;">{{=Core.Data.kefu_info[0]}}</p>
474 {{?}} 477 {{?}}
478 + {{?}}
475 </div> 479 </div>
476 {{?? Core.Data.is_guest == 0}} 480 {{?? Core.Data.is_guest == 0}}
477 <div class="user-center-box"> 481 <div class="user-center-box">
...@@ -508,7 +512,9 @@ ...@@ -508,7 +512,9 @@
508 </a></li> 512 </a></li>
509 {{?}} 513 {{?}}
510 </ul> 514 </ul>
515 + {{? Core.Data.kefu_info != ""}}
511 <p style="text-align: center;font-size: 20px; color: #949494; position: absolute; width: 100%; bottom: 10px;left:0;">{{=Core.Data.kefu_info[0]}}</p> 516 <p style="text-align: center;font-size: 20px; color: #949494; position: absolute; width: 100%; bottom: 10px;left:0;">{{=Core.Data.kefu_info[0]}}</p>
517 + {{?}}
512 {{??}} 518 {{??}}
513 {{? Core.Data.bind_phone === ""}} 519 {{? Core.Data.bind_phone === ""}}
514 <ul class="list-item clearfix"> 520 <ul class="list-item clearfix">
...@@ -516,7 +522,9 @@ ...@@ -516,7 +522,9 @@
516 <li><a href="#mibao">设置密保</a></li> 522 <li><a href="#mibao">设置密保</a></li>
517 <li><a href="#modify_pwd">修改密码</a></li> 523 <li><a href="#modify_pwd">修改密码</a></li>
518 </ul> 524 </ul>
525 + {{? Core.Data.kefu_info != ""}}
519 <p style="text-align: center;font-size: 20px; color: #949494; position: absolute; width: 100%; bottom: 1em;left:0;">{{=Core.Data.kefu_info[0]}}</p> 526 <p style="text-align: center;font-size: 20px; color: #949494; position: absolute; width: 100%; bottom: 1em;left:0;">{{=Core.Data.kefu_info[0]}}</p>
527 + {{?}}
520 {{??}} 528 {{??}}
521 <ul class="list-item clearfix"> 529 <ul class="list-item clearfix">
522 <li style="width:50%;"><a href="#unbindMobile">解绑手机</a></li> 530 <li style="width:50%;"><a href="#unbindMobile">解绑手机</a></li>
...@@ -532,8 +540,10 @@ ...@@ -532,8 +540,10 @@
532 </a></li> 540 </a></li>
533 {{?}} 541 {{?}}
534 </ul> 542 </ul>
543 + {{? Core.Data.kefu_info != ""}}
535 <p style="text-align: center;font-size: 20px; color: #949494; position: absolute; width: 100%; bottom: 10px;left:0;">{{=Core.Data.kefu_info[0]}}</p> 544 <p style="text-align: center;font-size: 20px; color: #949494; position: absolute; width: 100%; bottom: 10px;left:0;">{{=Core.Data.kefu_info[0]}}</p>
536 {{?}} 545 {{?}}
546 + {{?}}
537 {{?}} 547 {{?}}
538 <!--<ul class="list-item clearfix"> 548 <!--<ul class="list-item clearfix">
539 {{? Core.Data.bind_phone === ""}} 549 {{? Core.Data.bind_phone === ""}}
......
...@@ -23,6 +23,7 @@ section{ ...@@ -23,6 +23,7 @@ section{
23 a,input,textarea,select { 23 a,input,textarea,select {
24 outline: 0; 24 outline: 0;
25 } 25 }
26 +input[type=button],input[type=text],input[type=password]{-webkit-appearance:none;outline:none}
26 a:focus { 27 a:focus {
27 outline:thin dotted; /* 处理“outline”在Chrome浏览器中和其它浏览器之间的不一致 */ 28 outline:thin dotted; /* 处理“outline”在Chrome浏览器中和其它浏览器之间的不一致 */
28 } 29 }
......
...@@ -385,6 +385,7 @@ ...@@ -385,6 +385,7 @@
385 385
386 that.$c.on('click', '[type=submit],.submit', function(e) { 386 that.$c.on('click', '[type=submit],.submit', function(e) {
387 var passWordReg = /^[0-9a-zA-Z]+$/; 387 var passWordReg = /^[0-9a-zA-Z]+$/;
388 + var ua = navigator.userAgent.toLowerCase();
388 e.preventDefault(); 389 e.preventDefault();
389 if(/[A-Z]/.test(that.$c.find("input[name='username']").val())){ 390 if(/[A-Z]/.test(that.$c.find("input[name='username']").val())){
390 Core.showTips("账号不能有大写字母!"); 391 Core.showTips("账号不能有大写字母!");
...@@ -402,6 +403,10 @@ ...@@ -402,6 +403,10 @@
402 if (that.$c.find('[name="username"]').val() == that.$c.find('[name="old_usernmae"]').val() && window.android != undefined && window.android.screenShot != undefined ){ 403 if (that.$c.find('[name="username"]').val() == that.$c.find('[name="old_usernmae"]').val() && window.android != undefined && window.android.screenShot != undefined ){
403 window.android.screenShot(); 404 window.android.screenShot();
404 } 405 }
406 + //ios截屏方法
407 + /*if(that.$c.find('[name="username"]').val() == that.$c.find('[name="old_usernmae"]').val() && /iphone|ipad|ipod/.test(ua) && window.screenShot != undefined){
408 + screenShot();
409 + }*/
405 $(this).attr("disabled",true); 410 $(this).attr("disabled",true);
406 $(this).css({"background":"#999"}); 411 $(this).css({"background":"#999"});
407 $(this).parent("li").css({"background":"#999"}); 412 $(this).parent("li").css({"background":"#999"});
......
...@@ -438,7 +438,9 @@ ...@@ -438,7 +438,9 @@
438 <a class="btn btn-bind" href="#modify_pwd">马上升级</a> 438 <a class="btn btn-bind" href="#modify_pwd">马上升级</a>
439 </div> 439 </div>
440 </div> 440 </div>
441 + {{? Core.Data.kefu_info != ""}}
441 <p style="text-align: center;font-size: 20px; color: #949494; position: absolute; width: 100%; bottom: 10px;left:0;">{{=Core.Data.kefu_info[0]}}</p> 442 <p style="text-align: center;font-size: 20px; color: #949494; position: absolute; width: 100%; bottom: 10px;left:0;">{{=Core.Data.kefu_info[0]}}</p>
443 + {{?}}
442 </div> 444 </div>
443 {{?? Core.Data.is_guest == 2}}<!--1:游客登录;2:第三方登录;0:正式用户登录--> 445 {{?? Core.Data.is_guest == 2}}<!--1:游客登录;2:第三方登录;0:正式用户登录-->
444 <div class="user-center-box"> 446 <div class="user-center-box">
...@@ -470,8 +472,10 @@ ...@@ -470,8 +472,10 @@
470 <li style="width:50%;"><a href="#modify_pwd">修改密码</a></li> 472 <li style="width:50%;"><a href="#modify_pwd">修改密码</a></li>
471 <li style="width:50%;"><a href="#identityCard">实名认证</a></li> 473 <li style="width:50%;"><a href="#identityCard">实名认证</a></li>
472 </ul> 474 </ul>
475 + {{? Core.Data.kefu_info != ""}}
473 <p style="text-align: center;font-size: 20px; color: #949494; position: absolute; width: 100%; bottom: 10px;left:0;">{{=Core.Data.kefu_info[0]}}</p> 476 <p style="text-align: center;font-size: 20px; color: #949494; position: absolute; width: 100%; bottom: 10px;left:0;">{{=Core.Data.kefu_info[0]}}</p>
474 {{?}} 477 {{?}}
478 + {{?}}
475 </div> 479 </div>
476 {{?? Core.Data.is_guest == 0}} 480 {{?? Core.Data.is_guest == 0}}
477 <div class="user-center-box"> 481 <div class="user-center-box">
...@@ -508,7 +512,9 @@ ...@@ -508,7 +512,9 @@
508 </a></li> 512 </a></li>
509 {{?}} 513 {{?}}
510 </ul> 514 </ul>
515 + {{? Core.Data.kefu_info != ""}}
511 <p style="text-align: center;font-size: 20px; color: #949494; position: absolute; width: 100%; bottom: 10px;left:0;">{{=Core.Data.kefu_info[0]}}</p> 516 <p style="text-align: center;font-size: 20px; color: #949494; position: absolute; width: 100%; bottom: 10px;left:0;">{{=Core.Data.kefu_info[0]}}</p>
517 + {{?}}
512 {{??}} 518 {{??}}
513 {{? Core.Data.bind_phone === ""}} 519 {{? Core.Data.bind_phone === ""}}
514 <ul class="list-item clearfix"> 520 <ul class="list-item clearfix">
...@@ -516,7 +522,9 @@ ...@@ -516,7 +522,9 @@
516 <li><a href="#mibao">设置密保</a></li> 522 <li><a href="#mibao">设置密保</a></li>
517 <li><a href="#modify_pwd">修改密码</a></li> 523 <li><a href="#modify_pwd">修改密码</a></li>
518 </ul> 524 </ul>
525 + {{? Core.Data.kefu_info != ""}}
519 <p style="text-align: center;font-size: 20px; color: #949494; position: absolute; width: 100%; bottom: 1em;left:0;">{{=Core.Data.kefu_info[0]}}</p> 526 <p style="text-align: center;font-size: 20px; color: #949494; position: absolute; width: 100%; bottom: 1em;left:0;">{{=Core.Data.kefu_info[0]}}</p>
527 + {{?}}
520 {{??}} 528 {{??}}
521 <ul class="list-item clearfix"> 529 <ul class="list-item clearfix">
522 <li style="width:50%;"><a href="#unbindMobile">解绑手机</a></li> 530 <li style="width:50%;"><a href="#unbindMobile">解绑手机</a></li>
...@@ -532,8 +540,10 @@ ...@@ -532,8 +540,10 @@
532 </a></li> 540 </a></li>
533 {{?}} 541 {{?}}
534 </ul> 542 </ul>
543 + {{? Core.Data.kefu_info != ""}}
535 <p style="text-align: center;font-size: 20px; color: #949494; position: absolute; width: 100%; bottom: 10px;left:0;">{{=Core.Data.kefu_info[0]}}</p> 544 <p style="text-align: center;font-size: 20px; color: #949494; position: absolute; width: 100%; bottom: 10px;left:0;">{{=Core.Data.kefu_info[0]}}</p>
536 {{?}} 545 {{?}}
546 + {{?}}
537 {{?}} 547 {{?}}
538 <!--<ul class="list-item clearfix"> 548 <!--<ul class="list-item clearfix">
539 {{? Core.Data.bind_phone === ""}} 549 {{? Core.Data.bind_phone === ""}}
......
...@@ -23,6 +23,7 @@ section{ ...@@ -23,6 +23,7 @@ section{
23 a,input,textarea,select { 23 a,input,textarea,select {
24 outline: 0; 24 outline: 0;
25 } 25 }
26 +input[type=button],input[type=text],input[type=password]{-webkit-appearance:none;outline:none}
26 a:focus { 27 a:focus {
27 outline:thin dotted; /* 处理“outline”在Chrome浏览器中和其它浏览器之间的不一致 */ 28 outline:thin dotted; /* 处理“outline”在Chrome浏览器中和其它浏览器之间的不一致 */
28 } 29 }
......