Browse Source

搜索企业翻页bug,个人和企业的显示关注量

luyanan 7 years ago
parent
commit
cf2e456d1a
3 changed files with 5 additions and 6 deletions
  1. 1 1
      cmpInforShow.html
  2. 2 3
      js/searchNew.js
  3. 2 2
      userInforShow.html

+ 1 - 1
cmpInforShow.html

@ -174,8 +174,8 @@
174 174
			<div class="rightconBox floatR">
175 175
				<div class="conItem statisticsBox alignCenter clearfix">
176 176
					<div class="col-w-12">
177
						<p>关注者</p>
177 178
						<span id="attenNum">68</span>
178
						<p>关注我的</p>
179 179
					</div>
180 180
				</div>
181 181
				<ul class="advertItem">

+ 2 - 3
js/searchNew.js

@ -53,7 +53,7 @@ $(function() {
53 53
	companyListVal(20,1,true);
54 54
	articalListVal(20, 1,true);
55 55
	resourceListVal(20, 1,true);
56
	patentListVal(20, 1,true);
56
	patentListVal(20, 1,true);
57 57
	paperListVal(20, 1,true);
58 58
	
59 59
	academicFieldVal(subjectText);
@ -475,7 +475,7 @@ $(function() {
475 475
								current: data.data.pageNo,
476 476
								backFn: function(p) {
477 477
									$("#companyList").html("");
478
									articalListVal(20, p,false);
478
									companyListVal(20, p,false);
479 479
									document.body.scrollTop = document.documentElement.scrollTop = 0;
480 480
								}
481 481
							});
@ -543,7 +543,6 @@ $(function() {
543 543
								if(datalist.editOrganization.forShort) {
544 544
									$itemlist.find("#userName").text(datalist.editOrganization.forShort);
545 545
								}else{
546
									alert(2)
547 546
									$itemlist.find("#username").text(datalist.editOrganization.name);
548 547
								}
549 548
								//$itemlist.find("#userName").text(datalist.editOrganization.name);

+ 2 - 2
userInforShow.html

@ -384,12 +384,12 @@
384 384
			<div class="rightconBox floatR">
385 385
				<div class="conItem statisticsBox alignCenter clearfix">
386 386
					<div class="col-w-6">
387
						<p>关注了</p>
387 388
						<span id="myFocus"></span>
388
						<p>关注</p>
389 389
					</div>
390 390
					<div class="col-w-6">
391
						<span id="focusMe"></span>
392 391
						<p>关注者</p>
392
						<span id="focusMe"></span>
393 393
					</div>
394 394
				</div>
395 395
				<ul class="advertItem">