Authored by htoooth

add price

... ... @@ -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>
... ...
... ... @@ -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 {
... ...