LIPENGTAO1313 6 years ago
parent
commit
1331229e06
3 changed files with 5 additions and 3 deletions
  1. 1 1
      js/productShow.js
  2. 2 1
      js/resourceShow.js
  3. 2 1
      js/sevriceShow.js

+ 1 - 1
js/productShow.js

@ -333,7 +333,7 @@ $(document).ready(function() {
333 333
			oSt += '</li>'
334 334
			osting += oSt;
335 335
		}
336
		$("#expertli").html(osting);
336
		$("#expertli").append(osting);
337 337
	}
338 338

339 339
	function comMess(oid) {

+ 2 - 1
js/resourceShow.js

@ -647,11 +647,12 @@ $(document).ready(function() {
647 647
			oSt += '</p>'
648 648
			oSt += '<p class="h2Font ellipsisSty">' + oTitle + '</p>'
649 649
			oSt += '</div>'
650
				if(userid != $res[i].professor.id)
650 651
			oSt += '<span class="addbtn" data-id="' + $res[i].professor.id + '">联系</span>'
651 652
			oSt += '</li>'
652 653
			osting += oSt;
653 654
		}
654
		$("#expertli").html(osting);
655
		$("#expertli").append(osting);
655 656
	}
656 657
	
657 658
	//纠错反馈

+ 2 - 1
js/sevriceShow.js

@ -627,11 +627,12 @@ $(document).ready(function() {
627 627
					oSt += '</p>'
628 628
					oSt += '<p class="h2Font ellipsisSty">' + oTitle + '</p>'
629 629
					oSt += '</div>'
630
					if(userid !=$res.id)
630 631
					oSt += '<span class="addbtn" data-id="' + $res.id + '">联系</span>'
631 632
					oSt += '</li>'
632 633
					osting += oSt;
633 634

634
					$("#expertli").html(osting);
635
					$("#expertli").append(osting);
635 636
				})
636 637
			})(i)
637 638
		}