Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHO-ACTIVITY-PHP
·
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-03-07 21:05:44 +0800
Commit
fe2dd895df6dbda1d2ee11f612f29b22ccc7ff3e
2 parents
6a0e9608
2fab0cb3
Merge remote-tracking branch 'remotes/origin/develop/wap' into beta/wap
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
119 additions
and
1 deletions
static/sass/home/_fresh-only.scss
static/sass/home/_index.scss
static/sass/home/_fresh-only.scss
0 → 100644
View file @
fe2dd89
.fresh-swiper
{
position
:
relative
;
height
:
200px
;
overflow
:
hidden
;
ul
{
li
{
float
:
left
;
width
:
100%
;
a
,
img
{
display
:
block
;
width
:
100%
;
height
:
100%
;
}
}
}
.swiper-pagination
{
position
:
absolute
;
left
:
0
;
right
:
0
;
bottom
:
20px
;
text-align
:
center
;
.pagination-inner
{
display
:
inline-block
;
span
{
display
:
inline-block
;
width
:
14px
;
height
:
14px
;
background
:
#fff
;
opacity
:
0
.5
;
margin
:
0
9px
;
border-radius
:
50%
;
}
span
.swiper-active-switch
{
opacity
:
1
;
}
}
}
}
.fresh-list-swiper
{
overflow
:
hidden
;
padding-bottom
:
15px
;
background-color
:
#fff
;
ul
{
box-sizing
:
border-box
;
}
li
{
float
:left
;
width
:
240px
;
margin
:
20px
10px
0
10px
;
&
:first-child
{
margin-left
:
20px
;
}
&
:last-child
{
margin-right
:
20px
;
}
.img-box
{
height
:
100%
;
height
:
320px
;
text-align
:
center
;
position
:
relative
;
img
{
width
:
100%
;
height
:
100%
;
vertical-align
:
middle
;
}
}
.fresh-info
{
.fresh-name
a
{
display
:block
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
width
:
100%
;
white-space
:
nowrap
;
color
:
#444
;
line-height
:
48px
;
font-size
:
22px
;
}
.cur-price
{
color
:
#d62927
;
font-size
:
22px
;
}
.old-price
{
margin
:
0
0
0
10px
;
color
:
#b0b0b0
;
text-decoration
:
line-through
;
font-size
:
22px
;
}
.fresh-icon
{
background
:
#d62927
;
width
:
100px
;
height
:
33px
;
display
:
block
;
margin
:
8px
auto
0
auto
;
color
:
#fff
;
text-align
:
center
;
border-radius
:
40px
;
line-height
:
37px
;
font-size
:
12px
;
}
}
}
}
.fresh-list
{
position
:
relative
;
padding
:
15px
0
0
15px
;
}
\ No newline at end of file
...
...
static/sass/home/_index.scss
View file @
fe2dd89
@import
"header-download"
,
"banner-top"
,
"banner-center"
,
"banner-bottom"
,
"side-nav"
,
"floor-header"
,
"hot-brands"
,
"fine-brands"
,
"creative-life"
,
"plus-star"
,
"maybe-like"
,
"icons-enter"
,
"trendsetter-collocation"
,
"trend-topics"
,
"goods-category"
,
"hot-brands"
,
"hot-category"
,
"home-header"
,
"thumb-row"
,
"fresh-only"
;
"trend-topics"
,
"goods-category"
,
"hot-brands"
,
"hot-category"
,
"home-header"
,
"thumb-row"
;
.mobile-container
{
width
:
100%
;
...
...
Please
register
or
login
to post a comment