Authored by 毕凯

增加赠品页面

... ... @@ -43,7 +43,7 @@
background: #a1ce4e;
&:before {
content: '赠品';
content: '加价购';
display: block;
font-size: 12px;
line-height: 25rem / $pxConvertRem;
... ... @@ -56,6 +56,7 @@
}
.name {
margin-bottom: 20rem / $pxConvertRem;
width: 440rem / $pxConvertRem;
font-size: 28rem / $pxConvertRem;
}
... ... @@ -114,7 +115,7 @@
background: #f8f8f8;
}
.advance-block .tag {
.gift-block .tag {
background: #eb76aa;
&:before {
content: '加价购';
... ...
... ... @@ -11,7 +11,12 @@
{{/ advanceBuy}}
{{else}}
{{# freebie}}
{{> cart/gift-advance-good}}
<div class="advance-block gift-block" data-promotion-id="{{promotionId}}">
<p class="title">{{title}}</p>
{{#goods}}
{{> cart/gift-advance-good}}
{{/goods}}
</div>
{{/ freebie}}
{{/if}}
... ...
... ... @@ -7,11 +7,13 @@
<p class="name row">{{name}}</p>
<p class="row">
<span class="price">
¥{{price}}
¥{{#if price}}{{price}}{{else}}{{marketPrice}}{{/if}}
</span>
{{#if price}}
<span class="price market-price">
¥{{marketPrice}}
</span>
{{/if}}
<span class="count">
×{{count}}
</span>
... ...