Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
pull/1788/head
zouap 3 years ago
parent
commit
48085c79b1
2 changed files with 4 additions and 1 deletions
  1. +3
    -0
      public/home/search.js
  2. +1
    -1
      templates/explore/search_new.tmpl

+ 3
- 0
public/home/search.js View File

@@ -121,6 +121,8 @@ function initDiv(isSearchLabel=false){
document.getElementById("pr_item").style.display="none";
document.getElementById("user_item").style.display="none";
document.getElementById("org_item").style.display="none";
document.getElementById("find_id").innerHTML="";
}else{
document.getElementById("search_div").style.display="block";
document.getElementById("search_label_div").style.display="none";
@@ -129,6 +131,7 @@ function initDiv(isSearchLabel=false){
document.getElementById("pr_item").style.display="block";
document.getElementById("user_item").style.display="block";
document.getElementById("org_item").style.display="block";
document.getElementById("find_id").innerHTML="找到";
}
}



+ 1
- 1
templates/explore/search_new.tmpl View File

@@ -53,7 +53,7 @@

<div class="ui container">
找到“<strong class="highlight" id="keyword_desc"></strong>”相关<span id="obj_desc"></span>约为<span id="child_total"></span>个
<span id="find_id">找到</span>“<strong class="highlight" id="keyword_desc"></strong>”相关<span id="obj_desc"></span>约为<span id="child_total"></span>个
<div class="ui right floated secondary filter menu">
<!-- Sort -->


Loading…
Cancel
Save