Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
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:36:56 +0800
Commit
42099c1fb4ebf702e44d60f0b7947c382e14bc7f
1 parent
2c80bd45
'new-festival-icon'
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
9 deletions
apps/product/views/action/detail/detail.hbs
doraemon/views/partial/common/goods.hbs
public/img/product/new-festival.png
public/scss/common/_good.css
public/scss/product/detail/_detail.css
apps/product/views/action/detail/detail.hbs
View file @
42099c1
...
...
@@ -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>
...
...
doraemon/views/partial/common/goods.hbs
View file @
42099c1
...
...
@@ -11,9 +11,9 @@
{{#
isDiscount
}}
<p
class=
"good-tag sale-tag"
>
SALE
</p>
{{/
isDiscount
}}
{{#
isYohoood
}}
<p
class=
"good-tag new-tag"
>
NEW
</p>
{{/
isYohoood
}}
{{#
isYohood
}}
<p
class=
"good-tag new-festival-tag"
>
新品节
</p>
{{/
isYohood
}}
{{#
isLimited
}}
<p
class=
"good-tag limit-tag"
>
限量商品
</p>
{{/
isLimited
}}
...
...
public/img/product/new-festival.png
0 → 100644
View file @
42099c1
2.84 KB
public/scss/common/_good.css
View file @
42099c1
...
...
@@ -43,9 +43,12 @@
}
.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
{
...
...
public/scss/product/detail/_detail.css
View file @
42099c1
...
...
@@ -156,8 +156,12 @@ $basicBtnC: #eb0313;
}
.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
{
...
...
Please
register
or
login
to post a comment