Bladeren bron

1.首次登陆,首页空白、咨询页空白。2.【身份认证】未认证身份状态,无法点击进入身份认证功能。

xuchunyang 8 jaren geleden
bovenliggende
commit
a836d95870
2 gewijzigde bestanden met toevoegingen van 11 en 3 verwijderingen
  1. 9 1
      app/js/fillinfo.js
  2. 2 2
      app/js/security.js

+ 9 - 1
app/js/fillinfo.js

@ -149,9 +149,17 @@ mui.ready(function() {
149 149
					console.log(data.success);
150 150
						console.log(data.data);
151 151
					if(data.success) {
152
						goHome();
152
						var indexClose = plus.webview.getWebviewById("html/index_home.html");
153 153
						var myaccountClose = plus.webview.getWebviewById("html/myaccount.html");
154
						var consultClose = plus.webview.getWebviewById("html/consult_home.html");
155
						var centenClose = plus.webview.getWebviewById("index_centen.html");
156
						var consultlistClose = plus.webview.getWebviewById("consultlist.html");
157
						plus.webview.close(indexClose);
158
						plus.webview.close(centenClose);
154 159
						plus.webview.close(myaccountClose);
160
						plus.webview.close(consultlistClose);
161
						plus.webview.close(consultClose);
162
						goHome();
155 163
					} else {
156 164
						plus.nativeUI.toast("提交失败,用户ID失效", toastStyle);
157 165
					}

+ 2 - 2
app/js/security.js

@ -66,9 +66,9 @@ mui.plusReady(function() {
66 66
	identity.addEventListener('tap', function() {
67 67
			
68 68
			console.log(authStatus)
69
			console.log(typenum)
69
			//console.log(typenum)
70 70
			
71
			if(authStatus==0 && authStatus==4 && authStatus==5){
71
			if(authStatus==0 || authStatus==4 || authStatus==5){
72 72
				mui.openWindow({
73 73
					url: '../html/identity.html',
74 74
					id: '../html/identity.html',