Browse Source

重新提交,专家信息和资源中,判断是否登录

wangaidan 8 years ago
parent
commit
c2beff1079
2 changed files with 2 additions and 2 deletions
  1. 1 1
      app/js/proinfobrow.js
  2. 1 1
      app/js/resinforbrow.js

+ 1 - 1
app/js/proinfobrow.js

8
	var userid = plus.storage.getItem('userid');
8
	var userid = plus.storage.getItem('userid');
9
	var self = plus.webview.currentWebview();
9
	var self = plus.webview.currentWebview();
10
	var proId = self.proid;
10
	var proId = self.proid;
11
	console.log(userid);
11
	console.log(userid); 
12
	/*点击咨询*/
12
	/*点击咨询*/
13
	//判断是否登录,登录才可咨询,否则登录
13
	//判断是否登录,登录才可咨询,否则登录
14
	function isLogin(){
14
	function isLogin(){

+ 1 - 1
app/js/resinforbrow.js

247
		isLogin();
247
		isLogin();
248
	});
248
	});
249
	
249
	
250
250
 
251
	/*咨询成功,返回资源信息*/
251
	/*咨询成功,返回资源信息*/
252
	window.addEventListener('backziyuaninfo', function(event) {
252
	window.addEventListener('backziyuaninfo', function(event) {
253
253