Browse Source

提交代码。

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

+ 1
- 1
public/home/search.js View File

@@ -753,7 +753,7 @@ function page(current){
html += "<a class=\"item navigation\" href=\"javascript:page(" + totalPage + ")\"><span class=\"navigation_label\">末页</span></a>"; html += "<a class=\"item navigation\" href=\"javascript:page(" + totalPage + ")\"><span class=\"navigation_label\">末页</span></a>";
} }


html +="<div class=\"item\"> 前往<div id=\"inputpage_div\" class=\"ui input\"><input id=\"inputpage\" type=\"text\"></div>页</div><div id=\"tipmsg\"></div>";
html +="<div class=\"item\"> 前往<div id=\"inputpage_div\" class=\"ui input\"><input id=\"inputpage\" type=\"text\"></div>页</div>";
console.log("html=" + html) console.log("html=" + html)
document.getElementById("page_menu").innerHTML=html; document.getElementById("page_menu").innerHTML=html;
$('#inputpage').on('keypress',function(event){ $('#inputpage').on('keypress',function(event){


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

@@ -82,7 +82,7 @@
</div> </div>
</div> </div>
<div id="tipmsg"></div>
</div> </div>


</div> </div>


Loading…
Cancel
Save