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
30aad146
authored
Aug 14, 2019
by
施宇
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
11
parent
aaa2370b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
Application/Index/View/Index/index.html
dist/js/index/search.js
Application/Index/View/Index/index.html
View file @
30aad146
...
...
@@ -274,7 +274,7 @@
if
(
token
)
{
window
.
location
.
href
=
home_url
+
'/search?key='
+
val
+
'&type=1&time=1'
;
}
else
{
window
.
location
.
href
=
search_url
+
'/
indexsearch/
'
+
decodeURIComponent
(
val
)
+
'_1_1'
;
window
.
location
.
href
=
search_url
+
'/'
+
decodeURIComponent
(
val
)
+
'_1_1'
;
}
}
...
...
dist/js/index/search.js
View file @
30aad146
...
...
@@ -81,7 +81,7 @@ $(function () {
}
else
if
(
val
.
length
<
3
)
{
layer
.
msg
(
'搜索内容太短'
)
}
else
{
window
.
location
.
replace
(
"/
indexsearch/
"
+
decodeURIComponent
(
val
)
+
'_'
+
self
.
type
+
'_'
+
self
.
time
);
window
.
location
.
replace
(
"/"
+
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