li 7 years ago
parent
commit
6311f45370
1 changed files with 15 additions and 2 deletions
  1. 15 2
      app/js/userInforShow.js

+ 15 - 2
app/js/userInforShow.js

166
		});
166
		});
167
	}
167
	}
168
	/*进入个人简介页面*/
168
	/*进入个人简介页面*/
169
	document.getElementById("detailProfessor").addEventListener("tap", function() {
169
	document.getElementById("professorBreifinfo").addEventListener("tap", function() {
170
		plus.nativeUI.showWaiting(); //显示原生等待框
170
		plus.nativeUI.showWaiting(); //显示原生等待框
171
		var webviewShow = plus.webview.create("../html/userInforShow-more.html", 'userInforShow-more.html', {}, {
171
		var webviewShow = plus.webview.create("../html/userInforShow-more.html", 'userInforShow-more.html', {}, {
172
			pId: proId
172
			pId: proId
801
//			webviewShow.addEventListener("loaded", function() {
801
//			webviewShow.addEventListener("loaded", function() {
802
//
802
//
803
//			}, false);
803
//			}, false);
804
			mui.openWindow({
804
			
805
			var wechat=plus.webview.getWebviewById('weChat.html');
806
			var jubao=plus.webview.getWebviewById('jubao.html');
807
			
808
			if(wechat) {
809
				wechat.close();
810
			}
811
			if(jubao) {
812
				jubao.close();
813
			}
814
			setTimeout(function() {
815
				mui.openWindow({
805
				url: '../html/weChat.html',
816
				url: '../html/weChat.html',
806
				id: 'weChat.html',
817
				id: 'weChat.html',
807
				show: {
818
				show: {
813
					flag:1
824
					flag:1
814
				}
825
				}
815
			})
826
			})
827
			},100);
828
			
816

829

817
		} else {
830
		} else {
818
			mui.openWindow({
831
			mui.openWindow({