Browse Source

个人相关页面搜索链接
相关资源相关文章布局同搜索

luyanan 7 years ago
parent
commit
81e25ab41b
7 changed files with 7 additions and 26 deletions
  1. 1 1
      articalShow.html
  2. 1 1
      js/articalShow.js
  3. 1 1
      js/information-console.js
  4. 1 1
      js/information.brow.js
  5. 1 1
      js/information.js
  6. 0 19
      js/organization-brow.js
  7. 2 2
      js/resourceShow.js

+ 1 - 1
articalShow.html

@ -113,7 +113,7 @@
113 113
					</div>
114 114
					<!--相关文章-->
115 115
					<div class="form-item otherShow displayNone">
116
						<div class="aboutTit">相关文章</div>
116
						<div class="aboutTit">您可能感兴趣的文章</div>
117 117
						<div class="form-result aboutRes pointOk">
118 118
							<ul id="abutartical">
119 119
								

+ 1 - 1
js/articalShow.js

@ -336,7 +336,7 @@ $(function() {
336 336
							itemlist += '<div class="madiaHead artHead" id="userimg"></div>';
337 337
							itemlist += '<div class="madiaInfo">';
338 338
							itemlist += '<p class="h1Font ellipsisSty" id="resourceName"></p>';
339
							itemlist += '<p><span class="h1Font username2"></span><em class="authiconNew" id="relatedLabels" title="科袖认证专家"></em></p>';
339
							itemlist += '<p><span class="h2Font username2"></span><em class="authiconNew" id="relatedLabels" title="科袖认证专家"></em></p>';
340 340
							itemlist += '</div></a></li>';
341 341
							$itemlist = $(itemlist);
342 342
							$("#abutartical").append($itemlist);

+ 1 - 1
js/information-console.js

@ -706,7 +706,7 @@ $(function() {
706 706
    //搜索框
707 707
    $("#hsearch").on("click", function() {
708 708
        var searchContent = $("#hsearchContent").val();
709
        location.href = "search.html?searchContent=" + searchContent;
709
        location.href = "searchNew.html?searchContent=" + searchContent;
710 710
    });
711 711
712 712
    function trim(str) { //删除左右两端的空格			  

+ 1 - 1
js/information.brow.js

@ -686,7 +686,7 @@ $(".attentList").on("click","li",function(){
686 686
	}
687 687
	$("#hsearch").on("click", function() {
688 688
		var searchContent = $("#hsearchContent").val();
689
		location.href = "search.html?searchContent=" + searchContent;
689
		location.href = "searchNew.html?searchContent=" + searchContent;
690 690
	});
691 691
692 692
	

+ 1 - 1
js/information.js

@ -701,7 +701,7 @@ $(function() {
701 701
		//搜索框
702 702
	$("#hsearch").on("click", function() {
703 703
		var searchContent = $("#hsearchContent").val();
704
		location.href = "search.html?searchContent=" + searchContent;
704
		location.href = "searchNew.html?searchContent=" + searchContent;
705 705
	});
706 706

707 707
	function trim(str) { //删除左右两端的空格			  

+ 0 - 19
js/organization-brow.js

@ -1,19 +0,0 @@
1
$(function(){
2
//loginStatus();	 
3
	 	var id = GetQueryString("orgId");
4
	 	console.log(id);
5
	    $.get("/ajax/org/" + id, function($data) {
6
		    			if ($data.success) 
7
		    			{
8
		    				console.log($data);
9
		    				$info=$data.data;
10
		    				$(".named").text($info.name);		    				
11
		    			}
12
	    			})
13
		$("#hsearch").on("click",function (){
14
	   		var searchContent = $("#hsearchContent").val();
15
	   		location.href = "search.html?searchContent="+searchContent;
16
	  });
17

18
})
19


+ 2 - 2
js/resourceShow.js

@ -248,7 +248,7 @@ $(document).ready(function() {
248 248
							}
249 249
							str += '<div class="madiaInfo"  style="margin-top:18px;padding-bottom:8px">'
250 250
							str += '<p class="h1Font ellipsisSty">' + $html[n].article.articleTitle + '</p>'
251
							str += '<p><span class="h1Font">' + data.data.name + '</span><em class="authiconNew ' + stl.sty + '" title="' + stl.title + '"></em></p>'
251
							str += '<p><span class="h2Font">' + data.data.name + '</span><em class="authiconNew ' + stl.sty + '" title="' + stl.title + '"></em></p>'
252 252
							str += '</div></li>'
253 253
							$("#oArticle").append(str);
254 254
						}
@ -326,8 +326,8 @@ $(document).ready(function() {
326 326
			}
327 327
			oStr += '<div class="madiaInfo">'
328 328
			oStr += '<p class="h1Font">' + $respond[i].resourceName + '</p>'
329
			oStr += '<p><span class="h1Font">' + name + '</span><em class="authiconNew ' + stl.sty + '" title="' + stl.title + '"></em></p>'
330 329
			oStr += '<p class="h2Font ellipsisSty">用途:<span>' + $respond[i].supportedServices + '</span></p>'
330
			oStr += '<p><span class="h2Font">' + name + '</span><em class="authiconNew ' + stl.sty + '" title="' + stl.title + '"></em></p>'
331 331
			oStr += '</div></li>'
332 332
			$("#resourceList").append(oStr);
333 333
		}