【共有0项查询结果 。 搜索用时0.0秒】

对不起!没有发现你要找的内容:

搜索历史

function chooseSite(siteID, siteName) $("#currentSiteName").html(siteName); $("#siteID").val(siteID); function verifyForm() $("#submitBtn").attr("disabled", "disabled"); var queryValue = $("#queryInput").val(); if (queryValue == null || queryValue == "") //alert("请输入搜索内容"); $("#submitBtn").removeAttr("disabled"); //return false; return true; function showOrHideAllSearchHistory() searchHistoryOpen = !searchHistoryOpen; var size = 0; var html = ""; if(searchHistoryOpen) size = Math.min(maxStoreSize,SearchHistoryArray.length); $("#showOrHideBtn").html("收起").addClass("on"); else size = Math.min(showSize,SearchHistoryArray.length) $("#showOrHideBtn").html("展开").removeClass("on"); listSearchHistory(size); function clearSearchHistory() var r=confirm("您确定清空搜索历史吗?"); if (r==true) $.cookie(cookieKey,""); $("#searchHistoryList").html(""); $("#searchHistoryDiv").remove(); $("#searchResultList").removeClass("col-md-10").addClass("col-md-12"); function listSearchHistory(size) var html = ""; var tmpArray = $.extend(true,[],SearchHistoryArray); tmpArray.reverse(); for(var i=0;i"+tmpArray[i]+""; $("#searchHistoryList").html(html); var cookieKey = "Gpower_Search_History"; var maxStoreSize = 10; var showSize = 5; var searchHistoryOpen = false; var SearchHistoryArray = []; function doHistory(queryValue) var SearchHistoryInCookie = $.cookie(cookieKey); if(SearchHistoryInCookie!=null && SearchHistoryInCookie!="") var tmpArray = SearchHistoryInCookie.split("@_@"); for(var i=0;i=maxStoreSize) SearchHistoryArray.splice(0,(SearchHistoryArray.length-maxStoreSize-1)); SearchHistoryArray.push(queryValue); $.cookie(cookieKey,SearchHistoryArray.join("@_@")) listSearchHistory(Math.min(showSize,SearchHistoryArray.length)); window.onload = function () var queryValue = $("#queryInput").val(); if (queryValue == null || queryValue == "") $("#resultDiv").hide(); else $("#resultDiv").show(); doHistory(queryValue); var searchSiteName = $("#35").html(); $("#currentSiteName").html(searchSiteName); searchFix() ;