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,7 +166,7 @@ mui.plusReady(function() {
166 166
		});
167 167
	}
168 168
	/*进入个人简介页面*/
169
	document.getElementById("detailProfessor").addEventListener("tap", function() {
169
	document.getElementById("professorBreifinfo").addEventListener("tap", function() {
170 170
		plus.nativeUI.showWaiting(); //显示原生等待框
171 171
		var webviewShow = plus.webview.create("../html/userInforShow-more.html", 'userInforShow-more.html', {}, {
172 172
			pId: proId
@ -801,7 +801,18 @@ mui.plusReady(function() {
801 801
//			webviewShow.addEventListener("loaded", function() {
802 802
//
803 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 816
				url: '../html/weChat.html',
806 817
				id: 'weChat.html',
807 818
				show: {
@ -813,6 +824,8 @@ mui.plusReady(function() {
813 824
					flag:1
814 825
				}
815 826
			})
827
			},100);
828
			
816 829

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