Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
cms_sys
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
西魏
cms_sys
Commits
081504ef
Commit
081504ef
authored
Mar 01, 2019
by
sunxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
搜索注释
parent
e868564d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
search.htm
src/main/webapp/templets/1/default/search.htm
+4
-2
No files found.
src/main/webapp/templets/1/default/search.htm
View file @
081504ef
...
...
@@ -45,17 +45,19 @@ new Vue({
list
:
[],
},
methods
:
{
//上下页
search
:
function
(
flag
){
var
pageNo
=
{
ms
:
search
.
pageNo
/
};
var
total
=
{
ms
:
page
.
total
/
};
if
(
flag
){
pageNo
=
pageNo
==
total
?
total
:
pageNo
+
1
;
pageNo
=
pageNo
==
total
?
total
:
pageNo
+
1
;
//下一页
}
else
{
pageNo
=
pageNo
-
1
==
0
?
1
:
pageNo
-
1
;
pageNo
=
pageNo
-
1
==
0
?
1
:
pageNo
-
1
;
//上一页
}
window
.
location
.
href
=
"{ms:global.host/}/cms/1/search.do?basic_title={ms:search.basic_title/}&pageNo="
+
pageNo
;
window
.
event
.
returnValue
=
false
;
},
//首页和尾页
indexAndLast
:
function
(
pageNo
){
window
.
location
.
href
=
"{ms:global.host/}/cms/1/search.do?basic_title={ms:search.basic_title/}&pageNo="
+
pageNo
;
window
.
event
.
returnValue
=
false
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment