Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
yyq
9 years ago
Commit
028278413b40f6e6f0d98efb4001356dfe7d67a9
1 parent
c06ee389
页面js
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
apps/product/controllers/item.js
doraemon/views/partial/nav-menu.hbs
apps/product/controllers/item.js
View file @
0282784
...
...
@@ -245,6 +245,7 @@ const index = (req, res, next) => {
if
(
_
.
isEmpty
(
result
))
{
return
next
();
}
result
.
page
=
'item'
;
res
.
display
(
'item'
,
result
);
}).
catch
(
next
);
};
...
...
doraemon/views/partial/nav-menu.hbs
View file @
0282784
...
...
@@ -54,7 +54,7 @@
<span
class=
"iconfont"
>

</span>
<div
class=
"search-wrapper"
>
<div
class=
"search-input"
>
<form
id=
"search-form"
action=
"
/product/lis
t/query"
>
<form
id=
"search-form"
action=
"
{{
..
/
siteUrl
}}
/produc
t/query"
>
<span
class=
"iconfont left"
>

</span>
<input
type=
"text"
name=
"query"
id=
"search-key"
class=
"search-key"
placeholder=
"search"
autocomplete=
"off"
>
<span
class=
"iconfont right clear-input"
>

</span>
...
...
Please
register
or
login
to post a comment