Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
施宇
/
icsales
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
7d38e708
authored
Aug 14, 2019
by
施宇
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
111
parent
6f0ad156
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
Application/Home/View/Index/index.html
dist/js/index/search.js
Application/Home/View/Index/index.html
View file @
7d38e708
...
...
@@ -274,8 +274,7 @@
if
(
token
)
{
window
.
location
.
href
=
home_url
+
'/search?key='
+
val
+
'&type=1&time=1'
;
}
else
{
window
.
location
.
href
=
search_url
+
'/indexsearch?key='
+
val
+
'&type=1&time=1'
;
window
.
location
.
href
=
search_url
+
'/indexsearch/'
+
decodeURIComponent
(
val
)
+
'_1_1'
;
}
}
...
...
dist/js/index/search.js
View file @
7d38e708
...
...
@@ -81,7 +81,7 @@ $(function () {
}
else
if
(
val
.
length
<
3
)
{
layer
.
msg
(
'搜索内容太短'
)
}
else
{
window
.
location
.
replace
(
"/indexsearch
?key="
+
val
+
'&type='
+
self
.
type
+
'&time=
'
+
self
.
time
);
window
.
location
.
replace
(
"/indexsearch
/"
+
decodeURIComponent
(
val
)
+
'_'
+
self
.
type
+
'_
'
+
self
.
time
);
}
});
$
(
'.zz'
).
on
(
'click'
,
'.fl'
,
function
()
{
...
...
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