Browse Source

需求浏览页面关注企业无效的问题

luyanan 7 years ago
parent
commit
e5139b26c6
1 changed files with 3 additions and 3 deletions
  1. 3 3
      js/demandShow.js

+ 3 - 3
js/demandShow.js

21
	})
21
	})
22
	//点击关注按钮
22
	//点击关注按钮
23
	$(".goSpan").on('click',"span.attenSpan", function() {
23
	$(".goSpan").on('click',"span.attenSpan", function() {
24
		var pId=$(this).parent().siblings("a").attr("data-id");
24
		var cId=$(this).parent().siblings("a").attr("data-id");
25
		if(userid && userid != null && userid != "null") {
25
		if(userid && userid != null && userid != "null") {
26
			if($(this).is('.attenedSpan')){
26
			if($(this).is('.attenedSpan')){
27
				cancelCollectionAbout(pId, $(this),1)
27
				cancelCollectionAbout(cId, $(this),6)
28
			} else {
28
			} else {
29
				collectionAbout(pId, $(this),1);
29
				collectionAbout(cId, $(this),6);
30
			}
30
			}
31
		}else{
31
		}else{
32
			quickLog();
32
			quickLog();