Browse Source

修复测试bug

lulihong 6 years ago
parent
commit
c62391bd07

+ 5 - 0
html/home/html/jianjiaotuisong-xiangqing.html

@ -96,6 +96,11 @@
        		}  	
        		function bindEvents(){
        			$("#xiangqing-content").on("tap",".handle-bar",function(){
        			var userAgent = JSON.parse(plus.storage.getItem("userAgent"));
        			if(userAgent.observer){
				       mui.toast("观察者模式无法推送健康文章");
				       return false;
				    }
					var articleId = $(this).attr('data-id'); 
				    openWebviewExtras("tuisong_duixiang.html",{articleId:articleId});
				    return false;

+ 4 - 0
html/jkjy/js/article-list.js

@ -343,6 +343,10 @@ function bindEvents(){
        }
        }
    }).on('tap','div.share', function(){
    	if(isfromAdmin){
        		mui.toast("观察者模式无法分享健康文章");
        		return false;
        	}
        var $this = $(this);
        var code = $this.attr("data-code");
        var title = $this.attr("data-title");

+ 10 - 0
html/mine/html/edit_mobilephone.html

@ -115,6 +115,11 @@
			
			function bindEvents(){
				$("#verity_code_div .verity-span").bind("click",function(){
					var userAgent = JSON.parse(plus.storage.getItem("userAgent"));
        			if(userAgent.observer){
				       mui.toast("观察者模式无法发送验证码");
				       return false;
				    }
					if(!isphone(mobile)) {
						mui.toast("请输入有效的手机号码");
						return;
@ -155,6 +160,11 @@
				});
				
				$("#next_step").bind("click",function(){
					var userAgent = JSON.parse(plus.storage.getItem("userAgent"));
        			if(userAgent.observer){
				       mui.toast("观察者模式无法执行下一步操作");
				       return false;
				    }
						var code  = $("#verity_code").val();
						if(code.length != 6) {
							mui.toast("验证码格式错误,请重新输入");

+ 5 - 0
html/mine/html/shezhimima.html

@ -89,6 +89,11 @@
			}
			
			function submit(){
				var userAgent = JSON.parse(plus.storage.getItem("userAgent"));
    			if(userAgent.observer){
			       mui.toast("观察者模式无法修改密码");
			       return false;
			    }
				var opsd;
				if(!mobile){
					opsd = $.trim($('#opsd').val());