Browse Source

绑定留言头像跳转事件

luyanan 7 years ago
parent
commit
1b741c2fda
4 changed files with 9 additions and 30 deletions
  1. 1 16
      app/js/articleShow.js
  2. 7 0
      app/js/leaveWords.js
  3. 0 7
      app/js/paperShow.js
  4. 1 7
      app/js/patentShow.js

+ 1 - 16
app/js/articleShow.js

26
			});
26
			});
27
		}
27
		}
28
	}
28
	}
29
	var leaveWord = {
30
		getLeaveWord: function($data) {
31
			console.log(JSON.stringify($data));
32
		},
33
		sendLeaveWord: function($data) {
34
			console.log(JSON.stringify($data));
35
		}
36
	}
37
	
29
	
38
	var oArticleModule = {
30
	var oArticleModule = {
39
		articleId: oCurren.self.articleId,
31
		articleId: oCurren.self.articleId,
505
			cmpId: id
497
			cmpId: id
506
		});
498
		});
507
	})
499
	})
508
	/*留言*/
509
	mui('.commentBlock').on('tap', '.useHead', function() {
510
		var id = this.getAttribute("data-id");
511
		plus.nativeUI.showWaiting(); //显示原生等待框
512
		plus.webview.create("../html/userInforShow.html", 'userInforShow.html', {}, {
513
			proid: id
514
		});
515
	})
500
	
516
	/*资源浏览*/
501
	/*资源浏览*/
517
	mui('#resourceList').on('tap', 'li', function() {
502
	mui('#resourceList').on('tap', 'li', function() {
518
		var resouId = this.getAttribute("data-id");
503
		var resouId = this.getAttribute("data-id");

+ 7 - 0
app/js/leaveWords.js

192
		mui(".commentBlock").on("tap", ".dele", function() {
192
		mui(".commentBlock").on("tap", ".dele", function() {
193
			self.LwordDel(this, this.getAttribute("data-id"));
193
			self.LwordDel(this, this.getAttribute("data-id"));
194
		});
194
		});
195
		mui('.commentBlock').on('tap', '.useHead', function() {
196
			var id = this.getAttribute("data-id");
197
			plus.nativeUI.showWaiting();
198
			plus.webview.create("../html/userInforShow.html", 'userInforShow.html', {}, {
199
				proid: id
200
			});
201
		})
195
		mui(".artfoot").on("tap", ".inputShow", function() {
202
		mui(".artfoot").on("tap", ".inputShow", function() {
196
			if(!lgin()) {
203
			if(!lgin()) {
197
				return;
204
				return;

+ 0 - 7
app/js/paperShow.js

690
	});
690
	});
691
}
691
}
692
692
693
mui('.commentBlock').on('tap', '.useHead', function() {
694
		var id = this.getAttribute("data-id");
695
		plus.nativeUI.showWaiting(); //显示原生等待框
696
		plus.webview.create("../html/userInforShow.html", 'userInforShow.html', {}, {
697
			proid: id
698
		});
699
	})
700
//您可能感兴趣的论文
693
//您可能感兴趣的论文
701
	paperInterestingList()
694
	paperInterestingList()
702
	function paperInterestingList(){
695
	function paperInterestingList(){

+ 1 - 7
app/js/patentShow.js

664
		}
664
		}
665
	});
665
	});
666
}
666
}
667
mui('.commentBlock').on('tap', '.useHead', function() {
668
		var id = this.getAttribute("data-id");
669
		plus.nativeUI.showWaiting(); //显示原生等待框
670
		plus.webview.create("../html/userInforShow.html", 'userInforShow.html', {}, {
671
			proid: id
672
		});
673
	})
667
674
//您可能感兴趣的专利
668
//您可能感兴趣的专利
675
	patentInterestingList()
669
	patentInterestingList()
676
	function patentInterestingList(){
670
	function patentInterestingList(){