li 7 years ago
parent
commit
7571b83f6e
2 changed files with 18 additions and 1 deletions
  1. 4 0
      app/js/needShow.js
  2. 14 1
      app/js/resourceShow.js

+ 4 - 0
app/js/needShow.js

@ -325,6 +325,9 @@ mui.ready(function() {
325 325
			if(jubao) {
326 326
				jubao.close();
327 327
			}
328
			setTimeout(function(){
329
				
330
			
328 331
			if(userid && userid != null && userid != "null") {
329 332
				mui.openWindow({
330 333
								url: '../html/weChat.html',
@ -342,6 +345,7 @@ mui.ready(function() {
342 345
			}else{
343 346
				isLogin();
344 347
			}
348
			},100)
345 349
		}
346 350
		//立即回复新建跳转咨询
347 351
		function createConsult() {

+ 14 - 1
app/js/resourceShow.js

@ -451,7 +451,19 @@ mui.plusReady(function() {
451 451
		if(userid && userid != null && userid != 'null' && userid != undefined && userid != 'undefined') {
452 452
			var flag = 'ziyuan';
453 453
			var consulttitle = oresourceName.innerHTML;
454
			var nwaiting = plus.nativeUI.showWaiting(); //显示原生等待框
454
			//var nwaiting = plus.nativeUI.showWaiting(); //显示原生等待框
455
			var wechat=plus.webview.getWebviewById('weChat.html');
456
			var jubao=plus.webview.getWebviewById('jubao.html');
457
			
458
			if(wechat) {
459
				wechat.close();
460
			}
461
			if(jubao) {
462
				jubao.close()
463
			}
464
			setTimeout(function(){
465
				
466
			
455 467
			if(reType=="1"){
456 468
				mui.openWindow({
457 469
				url: '../html/weChat.html',
@ -496,6 +508,7 @@ mui.plusReady(function() {
496 508
					}
497 509
				});
498 510
			}
511
			},100);
499 512
		}
500 513
	});
501 514