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
1d54008130345a9515dc6998fa7d362e413f90a1
1 parent
08818a23
新人专享sass文件修改
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
118 additions
and
0 deletions
static/sass-bak/home/_fresh-only.scss
static/sass-bak/home/_fresh-only.scss
0 → 100644
View file @
1d54008
.fresh-swiper
{
position
:
relative
;
height
:
200rem
/
$pxConvertRem
;
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
:
20rem
/
$pxConvertRem
;
text-align
:
center
;
.pagination-inner
{
display
:
inline-block
;
span
{
display
:
inline-block
;
width
:
14rem
/
$pxConvertRem
;
height
:
14rem
/
$pxConvertRem
;
background
:
#fff
;
opacity
:
0
.5
;
margin
:
0
(
9rem
/
$pxConvertRem
);
border-radius
:
50%
;
}
span
.swiper-active-switch
{
opacity
:
1
;
}
}
}
}
.fresh-list-swiper
{
overflow
:
hidden
;
padding-bottom
:
15rem
/
$pxConvertRem
;
background-color
:
#fff
;
ul
{
box-sizing
:
border-box
;
}
li
{
float
:left
;
width
:
240rem
/
$pxConvertRem
;
margin
:
(
20rem
/
$pxConvertRem
)
(
10rem
/
$pxConvertRem
)
0
(
10rem
/
$pxConvertRem
);
&
:first-child
{
margin-left
:
20rem
/
$pxConvertRem
;
}
&
:last-child
{
margin-right
:
20rem
/
$pxConvertRem
;
}
.img-box
{
height
:
100%
;
height
:
320rem
/
$pxConvertRem
;
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
:
48rem
/
$pxConvertRem
;
font-size
:
22rem
/
$pxConvertRem
;
}
.cur-price
{
color
:
#d62927
;
font-size
:
22rem
/
$pxConvertRem
;
}
.old-price
{
margin
:
0
0
0
(
10rem
/
$pxConvertRem
);
color
:
#b0b0b0
;
text-decoration
:
line-through
;
font-size
:
22rem
/
$pxConvertRem
;
}
.fresh-icon
{
background
:
#d62927
;
width
:
100rem
/
$pxConvertRem
;
height
:
33rem
/
$pxConvertRem
;
display
:
block
;
margin
:
(
8rem
/
$pxConvertRem
)
auto
0
auto
;
color
:
#fff
;
text-align
:
center
;
border-radius
:
40rem
/
$pxConvertRem
;
line-height
:
37rem
/
$pxConvertRem
;
font-size
:
12rem
/
$pxConvertRem
;
}
}
}
}
.fresh-list
{
position
:
relative
;
padding
:(
15rem
/
$pxConvertRem
)
0
0
(
15rem
/
$pxConvertRem
);
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment