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
2e33c5b0e61bcb2ef093f9da4daec87373ac24fc
1 parent
5f1181e0
新人专享bug修改
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
static/sass/home/_fresh-only.scss
template/m.yohobuy.com/partials/home/fresh_only.phtml
static/sass/home/_fresh-only.scss
View file @
2e33c5b
...
...
@@ -51,6 +51,7 @@
float
:left
;
width
:
240rem
/
$pxConvertRem
;
margin
:
(
20rem
/
$pxConvertRem
)
(
10rem
/
$pxConvertRem
)
0
(
10rem
/
$pxConvertRem
);
border
:
none
;
&
:first-child
{
margin-left
:
20rem
/
$pxConvertRem
;
...
...
@@ -65,10 +66,13 @@
height
:
320rem
/
$pxConvertRem
;
text-align
:
center
;
position
:
relative
;
border
:
none
;
img
{
width
:
100%
;
height
:
100%
;
vertical-align
:
middle
;
border
:
none
;
}
}
...
...
@@ -107,7 +111,7 @@
text-align
:
center
;
border-radius
:
40rem
/
$pxConvertRem
;
line-height
:
37rem
/
$pxConvertRem
;
font-size
:
1
2rem
/
$pxConvertRem
;
font-size
:
2
2rem
/
$pxConvertRem
;
}
}
}
...
...
template/m.yohobuy.com/partials/home/fresh_only.phtml
View file @
2e33c5b
...
...
@@ -22,7 +22,7 @@
<p
class=
"price"
>
<span
class=
"cur-price"
>¥
{
{salePrice
}
}</span>
{
{#
price
}
}
<span
class=
"old-price"
>¥
{
{.
}
}<span>
<span
class=
"old-price"
>¥
{
{.
}
}<
/
span>
{
{/price
}
}
</p>
<span
class=
"fresh-icon"
>新人价</span>
...
...
Please
register
or
login
to post a comment