Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
htoooth
8 years ago
Commit
5c1cf0ec6d264153096a96f850fd6c784d432053
1 parent
4ee4a6d5
add price
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
apps/product/views/partial/product/price-list.hbs
public/scss/product/_detail.css
apps/product/views/partial/product/price-list.hbs
View file @
5c1cf0e
...
...
@@ -3,8 +3,10 @@
<span
class=
"price
{{#if
hasOtherPrice
}}
has-other-price
{{/if}}
"
>
{{
marketPrice
}}
</span>
</p>
<div
class=
"sale-price"
>
{{#if
salePrice
}}
<span
class=
"sale-price"
>
<span>
<span
class=
"title"
>
促销价:
</span>
<span
class=
"price"
>
{{
salePrice
}}
</span>
</span>
...
...
@@ -65,6 +67,6 @@
</span>
{{/if}}
</div>
...
...
public/scss/product/_detail.css
View file @
5c1cf0e
...
...
@@ -182,6 +182,10 @@
margin-top
:
8px
;
}
.sale-price
{
margin-top
:
8px
;
}
.price
{
color
:
#000
;
font-size
:
22px
;
...
...
@@ -190,7 +194,9 @@
}
.promotion
{
display
:
inline-block
;
border
:
1px
red
solid
;
font-size
:
13px
;
}
.has-other-price
{
...
...
Please
register
or
login
to post a comment