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
729cc4fd4074bb46ee28e7312b427e6f3689f0b7
1 parent
d913bfea
update
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
0 deletions
static/js/home/maybe-like.js
static/sass/home/_maybe-like.scss
static/js/home/maybe-like.js
View file @
729cc4f
...
...
@@ -15,12 +15,15 @@ var winH = $(window).height(),
page
=
0
,
gender
=
$
(
'.mobile-wrap'
).
hasClass
(
'boys-wrap'
)
?
'1,3'
:
'2,3'
,
kidsType
=
$
(
'.mobile-wrap'
).
hasClass
(
'kids-wrap'
)
?
true
:
false
,
lifestyleType
=
$
(
'.mobile-wrap'
).
hasClass
(
'lifestyle-wrap'
)
?
true
:
false
,
num
,
url
;
///recom/maylikekids
if
(
kidsType
)
{
url
=
'/product/recom/maylikekids'
;
}
else
if
(
lifestyleType
)
{
url
=
'/product/recom/maylikelife'
;
}
else
{
url
=
'/product/recom/maylike?gender='
+
gender
;
}
...
...
static/sass/home/_maybe-like.scss
View file @
729cc4f
...
...
@@ -17,4 +17,26 @@
background
:
image-url
(
"up-icon.png"
)
no-repeat
;
background-size
:
100%
100%
;
}
.maybe-like-nav
{
width
:
100%
;
height
:
60rem
/
$pxConvertRem
;
padding
:
10rem
/
$pxConvertRem
0
;
background-color
:
#fff
;
}
.maybe-like-nav-item
{
box-sizing
:
border-box
;
float
:
left
;
width
:
50%
;
height
:
60rem
/
$pxConvertRem
;
line-height
:
60rem
/
$pxConvertRem
;
text-align
:
center
;
color
:
#ccc
;
border-right
:
1px
solid
#ccc
;
&
.focus
{
color
:
#000
;
}
}
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment