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
周少峰
2016-05-26 17:59:49 +0800
Commit
3c5252b014b9274eb55933660299071b089c9964
2 parents
2b2d277b
ab16b25e
Merge branch 'release/4.5' of
http://git.dev.yoho.cn/web/yohobuywap
into release/4.5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
static/js/category/write-search.js
template/m.yohobuy.com/actions/category/brand/search.phtml
static/js/category/write-search.js
View file @
3c5252b
...
...
@@ -29,7 +29,7 @@ function addHistory(brandName, brandId, brandDomain) {
//绑定提交前的存local操作
function
bindWirteLocal
(
$brandList
)
{
$brandList
.
on
(
'click'
,
'p ,
ul
'
,
function
(
e
)
{
$brandList
.
on
(
'click'
,
'p ,
li
'
,
function
(
e
)
{
var
brandName
,
brandId
,
brandDomain
,
url
;
var
a
=
$
(
this
).
find
(
'a'
);
var
query
=
a
.
attr
(
'brandName'
)
+
a
.
attr
(
'href'
),
...
...
template/m.yohobuy.com/actions/category/brand/search.phtml
View file @
3c5252b
...
...
@@ -24,7 +24,7 @@
<ul
class=
"history clearfix"
>
{
{#
history
}
}
<li>
<a
href=
{
{url
}
}
brandName
=
"{{name}} brandId = "
{
{brandId
}
}
" brandDomain =
"
{
{brandDomain
}
}
">{{name}}</a>
<a
href=
{
{url
}
}
brandName
=
"{{name}}"
brandId=
"{{brandId}}"
brandDomain=
"{{brandDomain}}"
>
{
{name
}
}</a>
</li>
{
{/
history
}
}
</ul>
...
...
@@ -43,7 +43,7 @@
<ul
class=
"hot clearfix"
>
{
{#
hot
}
}
<li>
<a href={{url}} brandName
= "
{
{name
}
}
brandId
=
"{{brandId}}"
brandDomain
=
"{{brandDomain}}"
>
{
{name
}
}</a>
<a
href=
{
{url
}
}
brandName
=
"{{name}}"
brandId=
"{{brandId}}"
brandDomain=
"{{brandDomain}}"
>
{
{name
}
}</a>
</li>
{
{/
hot
}
}
</ul>
...
...
Please
register
or
login
to post a comment