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
Email Patches
Plain Diff
Browse Files
Authored by
阿达
9 years ago
Commit
e7fe0a79ff4d307da3b59ece9ad4fb0744f7b666
1 parent
b993ffc6
gulp ge
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
9 deletions
static/dist/myohobuy/1.3.30/index-debug.js
static/dist/myohobuy/1.3.30/index.css
static/dist/myohobuy/1.3.30/index.js
static/js/category/brand.js
static/dist/myohobuy/1.3.30/index-debug.js
View file @
e7fe0a7
...
...
@@ -659,8 +659,9 @@ function bindWirteLocal($brandList, list) {
}
if
(
localStorage
)
{
historys
=
localStorage
.
getItem
(
'historys-brand'
);
if
(
isLocalStorageSupported
)
{
historys
=
localStorage
.
getItem
(
'historys-brand'
);
}
historys
=
historys
?
historys
:
''
;
...
...
@@ -749,15 +750,11 @@ function searchResult() {
// 插入 dom,绑定事件
$
(
'.search-result'
).
html
(
html
);
changeBackground
();
if
(
isLocalStorageSupported
)
{
bindWirteLocal
(
$
(
'.brand-list'
),
true
);
}
bindWirteLocal
(
$
(
'.brand-list'
),
true
);
}
loading
.
showLoadingMask
();
lazyLoad
(
$
(
'img.lazy'
));
$
(
'.yoho-header'
).
css
({
'z-index'
:
2
,
...
...
@@ -988,7 +985,9 @@ if ($('.brand-search-page').length > 0) {
if
(
localStorage
)
{
historys
=
localStorage
.
getItem
(
'historys-brand'
);
if
(
isLocalStorageSupported
)
{
historys
=
localStorage
.
getItem
(
'historys-brand'
);
}
if
(
historys
&&
historys
.
length
>
0
)
{
historys
=
historys
.
split
(
ranToken
);
...
...
static/dist/myohobuy/1.3.30/index.css
View file @
e7fe0a7
This diff could not be displayed because it is too large.
static/dist/myohobuy/1.3.30/index.js
View file @
e7fe0a7
This diff could not be displayed because it is too large.
static/js/category/brand.js
View file @
e7fe0a7
...
...
@@ -241,7 +241,6 @@ function searchResult() {
// 插入 dom,绑定事件
$
(
'.search-result'
).
html
(
html
);
changeBackground
();
bindWirteLocal
(
$
(
'.brand-list'
),
true
);
}
...
...
Please
register
or
login
to post a comment