Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
梁志锋
9 years ago
Commit
31e92958161765fab7c0612098efc41230ad83a6
2 parents
72f5cdae
525de19d
Merge branch 'develop' of
http://git.dev.yoho.cn/web/yohobuy
into develop
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
static/js/category/brand.js
static/js/category/brand.js
View file @
31e9295
...
...
@@ -165,7 +165,7 @@ if ($('.brand-search-page').length) {
if
(
$keyword
.
val
().
length
)
{
$icon
.
css
(
'color'
,
'#000'
);
$
(
this
).
closest
(
'.search-box'
).
css
(
'width'
,
'11.25rem'
);
$searchAction
.
show
();
$searchAction
.
show
()
.
find
(
'.clear-text'
).
show
()
;
}
else
{
$icon
.
css
(
'color'
,
'#b2b2b2'
);
$
(
this
).
closest
(
'.search-box'
).
css
(
'width'
,
'12.5rem'
);
...
...
@@ -177,7 +177,7 @@ if ($('.brand-search-page').length) {
// 2016.1.13 产品(高扬)要求进入页面默认显示取消按钮
$icon
.
css
(
'color'
,
'#000'
);
$keyword
.
closest
(
'.search-box'
).
css
(
'width'
,
'11.25rem'
);
$searchAction
.
show
();
$searchAction
.
show
()
.
find
(
'.clear-text'
).
hide
()
;
clearTextHammer
=
new
Hammer
(
$
(
'.clear-text'
)[
0
]);
clearTextHammer
.
on
(
'tap'
,
function
(
e
)
{
...
...
Please
register
or
login
to post a comment