Authored by yyq

页面js

... ... @@ -245,6 +245,7 @@ const index = (req, res, next) => {
if (_.isEmpty(result)) {
return next();
}
result.page = 'item';
res.display('item', result);
}).catch(next);
};
... ...
... ... @@ -54,7 +54,7 @@
<span class="iconfont">&#xe605;</span>
<div class="search-wrapper">
<div class="search-input">
<form id="search-form" action="/product/list/query">
<form id="search-form" action="{{../siteUrl}}/product/query">
<span class="iconfont left">&#xe605;</span>
<input type="text" name="query" id="search-key" class="search-key" placeholder="search"autocomplete="off">
<span class="iconfont right clear-input">&#xe608;</span>
... ...