Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
王水玲
9 years ago
Commit
2c7e2d1f32ede0feb419ecddcdbdbe9a201e7a71
2 parents
f12605b3
7ca5bd3f
Merge branch 'feature/search' of git.yoho.cn:fe/YOHOBUYWAP into feature/search
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
static/js/category/brand.js
template/m.yohobuy.com/actions/category/brand/search.phtml
static/js/category/brand.js
View file @
2c7e2d1
...
...
@@ -331,10 +331,10 @@ if ($('.brand-search-page').length > 0) {
brandsData
=
$
.
parseJSON
(
$
(
'#brands-data'
).
html
());
$keyword
=
$
(
'#keyword'
);
$keyword
.
on
(
'input'
,
function
()
{
searchInput
();
}).
focus
();
//$keyword.on('input', function() {
// searchInput();
//
//}).focus();
// 2016.1.13 产品(高扬)要求进入页面默认显示取消按钮
$icon
.
css
(
'color'
,
'#444'
);
...
...
template/m.yohobuy.com/actions/category/brand/search.phtml
View file @
2c7e2d1
...
...
@@ -2,7 +2,7 @@
<div
class=
"brand-page brand-search-page yoho-page"
>
<div
class=
"newbrand-search"
>
<form
class=
"search-box clearfix"
>
<input
type=
"text"
class=
"search-input"
id=
"keyword"
placeholder=
"查找品牌"
autofocus
>
<input
type=
"text"
class=
"search-input"
id=
"keyword"
placeholder=
"查找品牌"
>
<i
class=
"search-icon iconfont"
>
60
f;</i>
<div
class=
"search-action"
>
<span
class=
"iconfont clear-text"
>
623
;</span>
...
...
Please
register
or
login
to post a comment