diff --git a/public/home/search.js b/public/home/search.js
index 361a4e5bc..392399ec1 100644
--- a/public/home/search.js
+++ b/public/home/search.js
@@ -695,16 +695,13 @@ function page(current){
var inputpage = document.getElementById("inputpage")
var goNum = inputpage.value;
if (goNum<=0){
- //showTip("请输入大于0的数值","warning");
- inputpage.setCustomValidity("请输入大于0的数值。");
+ showTip("请输入大于0的数值","warning");
}
else if(goNum<=totalPage){
- inputpage.setCustomValidity("");
page(goNum);
}
else{
- inputpage.setCustomValidity("不能超出总页数。");
- //showTip("不能超出总页数!","warning");
+ showTip("不能超出总页数!","warning");
}
}
@@ -750,7 +747,7 @@ function page(current){
html += "末页";
}
- html +="
";
+ html +="";
console.log("html=" + html)
document.getElementById("page_menu").innerHTML=html;
$('#inputpage').on('keypress',function(event){
diff --git a/templates/explore/search_new.tmpl b/templates/explore/search_new.tmpl
index 3aaebe8bc..f43dac49e 100644
--- a/templates/explore/search_new.tmpl
+++ b/templates/explore/search_new.tmpl
@@ -79,19 +79,7 @@
@@ -102,6 +90,6 @@
-
+
{{template "base/footer" .}}
\ No newline at end of file
diff --git a/web_src/less/openi.less b/web_src/less/openi.less
index 4bca15af5..6bb433322 100644
--- a/web_src/less/openi.less
+++ b/web_src/less/openi.less
@@ -880,7 +880,7 @@ display: block;
#tipmsg {
- position: absolute;
+ position: relative;
top: 50px;
left: 50%;
display: none;