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
biao
9 years ago
Commit
f020711e8477a6f81458b422e0c1f9f9e0239d43
1 parent
d05b331a
修复lifestyle 我可能喜欢数据异常
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
static/js/home/maybe-like.js
static/js/home/maybe-like.js
View file @
f020711
...
...
@@ -35,13 +35,18 @@ module.exports = function(specificGender) {
}
else
if
(
lifestyleType
)
{
//有货币页面加载男生首页的数据
url
=
specificGender
?
'/product/recom/maylike?gender=1,3'
:
'/product/recom/maylikelife'
;
url
=
specificGender
===
'lifestyle'
?
'/product/recom/maylike?gender=1,3'
:
'/product/recom/maylikelife'
;
}
else
{
gender
=
(
specificGender
===
'boys'
||
$
(
'.mobile-wrap'
).
hasClass
(
'boys-wrap'
))
?
'1,3'
:
'2,3'
,
url
=
'/product/recom/maylike?gender='
+
gender
;
}
//以防cookie异常,强制加载男首
if
(
specificGender
===
'boys'
)
{
url
=
'/product/recom/maylike?gender=1,3'
;
}
$curNav
=
$navList
.
children
(
'.focus'
);
if
(
lifestyleType
)
{
...
...
Please
register
or
login
to post a comment