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
Email Patches
Plain Diff
Browse Files
Authored by
梁志锋
9 years ago
Commit
bcca902cfc6e880193b4e367084825f2cab92cfe
1 parent
1d755da7
update
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
7 deletions
static/js/home/home.js
static/js/home/maybe-like.js
static/js/product/newsale/discount.js
static/js/product/newsale/newarrival.js
static/js/home/home.js
View file @
bcca902
...
...
@@ -21,8 +21,6 @@ var requestFrame,
$logotrans
=
$
(
'.home-header .logo'
),
isen
=
true
;
var
noResult
=
'<p class="no-result">未找到相关搜索结果</p>'
;
require
(
'./maybe-like'
);
lazyLoad
(
$
(
'img.lazy'
));
...
...
static/js/home/maybe-like.js
View file @
bcca902
...
...
@@ -31,7 +31,6 @@ if (kidsType) {
}
else
{
gender
=
$
(
'.mobile-wrap'
).
hasClass
(
'boys-wrap'
)
?
'1,3'
:
'2,3'
,
url
=
'/product/recom/maylike?gender='
+
gender
;
boygirl_flag
=
true
;
}
$curNav
=
$navList
.
children
(
'.focus'
);
...
...
@@ -77,9 +76,7 @@ $(window).scroll(function () {
success
:
function
(
data
)
{
if
(
data
===
' '
)
{
loading
=
true
;
alert
(
'haha'
);
if
(
gender
)
{
var
url
;
if
(
gender
===
'1,3'
)
{
url
=
'/boys/bottomBanner'
;
}
else
{
...
...
@@ -97,7 +94,7 @@ $(window).scroll(function () {
}
});
}
}
return
;
}
$goodList
.
append
(
data
);
...
...
static/js/product/newsale/discount.js
View file @
bcca902
...
...
@@ -217,8 +217,8 @@ function search(opt) {
lazyLoad
(
$
(
'.lazy'
));
filter
.
registerCbFn
(
search
);
// loading.initLoadingMask();
// loading.initLoadingMask();
//导航栏点击逻辑说明:
//1.点击非active项时切换active状态
//2.价格和折扣active状态时继续点击切换排序
...
...
static/js/product/newsale/newarrival.js
View file @
bcca902
...
...
@@ -244,6 +244,7 @@ function search(opt) {
lazyLoad
(
$
(
'.lazy'
));
filter
.
registerCbFn
(
search
);
// loading.initLoadingMask();
//导航栏点击逻辑说明:
...
...
Please
register
or
login
to post a comment