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
郭成尧
2016-08-23 14:28:55 +0800
Commit
1a2411b90bd30dab242c54ece5a8c45ab6aeef55
1 parent
ba8e372c
'new-festival-icon'
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
9 deletions
static/img/product/new-festival.png
static/sass/_good.css
static/sass/product/_detail.css
template/m.yohobuy.com/actions/product/detail/index.phtml
template/m.yohobuy.com/partials/good.phtml
static/img/product/new-festival.png
0 → 100644
View file @
1a2411b
2.84 KB
static/sass/_good.css
View file @
1a2411b
...
...
@@ -42,9 +42,12 @@
color
:
#fff
;
}
.new-festival-tag
{
width
:
90px
;
background-color
:
#000
;
color
:
#fff
;
color
:
#000
;
width
:
100px
;
background-image
:
resolve
(
"product/new-festival.png"
);
background-repeat
:
no-repeat
;
background-color
:
#fff
;
background-size
:
100px
28px
;
}
.limit-tag
{
width
:
100px
;
...
...
static/sass/product/_detail.css
View file @
1a2411b
...
...
@@ -144,8 +144,12 @@ $basicBtnC:#eb0313;
color
:
#fff
;
}
.new-festival-tag
{
background-color
:
#000
;
color
:
#fff
;
color
:
#000
;
width
:
120px
;
background-image
:
resolve
(
"product/new-festival.png"
);
background-repeat
:
no-repeat
;
background-color
:
#fff
;
background-size
:
120px
38px
;
}
.yohood-tag
{
background-color
:
#000
;
...
...
template/m.yohobuy.com/actions/product/detail/index.phtml
View file @
1a2411b
...
...
@@ -13,7 +13,7 @@
<p
class=
"good-tag sale-tag"
>SALE</p>
{
{/
is_discount
}
}
{
{#
is_yohood
}
}
<
div
class=
"good-tag new-tag"
>NEW</div
>
<
p
class=
"good-tag new-festival-tag"
>新品节</p
>
{
{/
is_yohood
}
}
{
{#
is_limited
}
}
<p
class=
"good-tag limit-tag"
>限量商品</p>
...
...
template/m.yohobuy.com/partials/good.phtml
View file @
1a2411b
...
...
@@ -12,9 +12,9 @@
{
{#
is_discount
}
}
<p
class=
"good-tag sale-tag"
>SALE</p>
{
{/
is_discount
}
}
{
{#
is_yohoood
}
}
<p
class=
"good-tag new-tag"
>NEW</p>
{
{/
is_yohoood
}
}
{
{#
is_yohood
}
}
<p
class=
"good-tag new-festival-tag"
>新品节</p>
{
{/
is_yohood
}
}
{
{#
is_limited
}
}
<p
class=
"good-tag limit-tag"
>限量商品</p>
{
{/
is_limited
}
}
...
...
Please
register
or
login
to post a comment