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
0c673254
authored
Aug 14, 2019
by
施宇
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
111
parent
7d38e708
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
Application/Home/View/Index/index.html
Application/Home/View/Index/index.html
View file @
0c673254
...
...
@@ -264,9 +264,9 @@
});
$
(
'.input_btn'
).
click
(
function
()
{
var
val
=
$
.
trim
(
$
(
'.search-input'
).
val
());
if
(
!
val
.
length
)
{
if
(
!
val
.
length
)
{
layer
.
msg
(
'搜索内容不能为空'
)
}
else
}
else
if
(
val
.
length
<
3
)
{
layer
.
msg
(
'请至少输入3个字符'
)
}
else
{
...
...
@@ -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
+
'/indexsearch/'
+
decodeURIComponent
(
val
)
+
'_1_1'
;
}
}
...
...
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