Browse Source

修改个人企业主页关注操作

luyanan 7 years ago
parent
commit
dfbab02591
3 changed files with 19 additions and 6 deletions
  1. 1 0
      css/genindex.css
  2. 8 2
      js/cmpInforShow.js
  3. 10 4
      js/userInforShow.js

+ 1 - 0
css/genindex.css

600
600
601
.conBlock .leftconBox2{background:none;padding:0;}
601
.conBlock .leftconBox2{background:none;padding:0;}
602
.conBlock .leftconBox2 .reInfoBlock{width:320px;margin-left:24px;position: relative;height: 270px;}
602
.conBlock .leftconBox2 .reInfoBlock{width:320px;margin-left:24px;position: relative;height: 270px;}
603
.conBlock .leftconBox2 .showDetail .reInfoBlock{width:368px}
603
.conBlock .leftconBox2 .reInfoBlock .h2Font{font-size:16px;color:#666;line-height: 26px;margin-top:12px;}
604
.conBlock .leftconBox2 .reInfoBlock .h2Font{font-size:16px;color:#666;line-height: 26px;margin-top:12px;}
604
.conBlock .leftconBox2 .showReBasic{background: #FFFFFF;padding:30px;margin-bottom:20px;}
605
.conBlock .leftconBox2 .showReBasic{background: #FFFFFF;padding:30px;margin-bottom:20px;}
605
.conBlock .leftconBox2 .showReOther{background: #FFFFFF;padding:30px;}
606
.conBlock .leftconBox2 .showReOther{background: #FFFFFF;padding:30px;}

+ 8 - 2
js/cmpInforShow.js

650
					} else {
650
					} else {
651
						collectionAbout(orgId,$(this), 6);
651
						collectionAbout(orgId,$(this), 6);
652
					}
652
					}
653
					guanzhuNum();
654
					attentMy();
653
					queryPubCount();
654
					watchO={
655
						beiTime:"",
656
						beiProId:"",
657
					}
658
					$("#item8drop1").find("ul").html("")
659
					$("#item8drop1").find(".js-load-more").show();
660
					attentMyself(true);
655
				}else{
661
				}else{
656
					quickLog();
662
					quickLog();
657
					operatTab();
663
					operatTab();

+ 10 - 4
js/userInforShow.js

2067
			$("#attentBtn").on('click', function() {
2067
			$("#attentBtn").on('click', function() {
2068
				if(userid && userid != null && userid != "null") {
2068
				if(userid && userid != null && userid != "null") {
2069
					if($(this).is('.attenedSpan')){
2069
					if($(this).is('.attenedSpan')){
2070
						cancelCollectionAbout(orgId,$(this),6)
2070
						cancelCollectionAbout(professorId,$(this),1)
2071
					} else {
2071
					} else {
2072
						collectionAbout(orgId,$(this), 6);
2072
						collectionAbout(professorId,$(this), 1);
2073
					}
2073
					}
2074
					guanzhuNum();
2075
					attentMy();
2074
					queryPubCount();
2075
					watchO={
2076
						beiTime:"",
2077
						beiProId:"",
2078
					}
2079
					$("#item8drop5").find("ul").html("")
2080
					$("#item8drop5").find(".js-load-more").show();
2081
					attentMyself(true);
2076
				}else{
2082
				}else{
2077
					quickLog();
2083
					quickLog();
2078
					operatTab();
2084
					operatTab();