Browse Source

解决bug5706 【上饶i健康】我的:修改手机号时在原手机验证页,点击获取验证码提示“请输入有效的手机号”无法修改手机号。

raolu 6 years ago
parent
commit
32c96073ac
2 changed files with 8 additions and 5 deletions
  1. 6 4
      html/mine/html/edit_mobilephone.html
  2. 2 1
      html/mine/js/homepage.js

+ 6 - 4
html/mine/html/edit_mobilephone.html

@ -95,6 +95,10 @@
		<script src="../../js/common.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../../js/app.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
		    var curTime  = 60;
            var self = null;
            var mobile = null;
            
			mui.init();
			mui.plusReady(function() {
				initPage();
@ -102,11 +106,9 @@
				var doctorInfo  = plus.storage.getItem("docInfo");
				doctorInfo = JSON.parse(doctorInfo);
				$("#mobile").val(self.mobile);
				mobile = doctorInfo.mobile;
				mobile = $.trim(doctorInfo.mobile);
			});
			var curTime  = 60;
			var self = null;
			var mobile = null;
			
			function initPage(){
				bindEvents();		
			}

+ 2 - 1
html/mine/js/homepage.js

@ -113,7 +113,8 @@ function clickEvent() {
    });
    
    $("#mobile").click(function() {
        openWebviewExtras("edit_mobilephone.html",{"mobile":oldMobile});
        var val = $.trim($(this).text());
        openWebviewExtras("edit_mobilephone.html",{"mobile": val});
    }); 
    
    //跳转去文章列表页面