Authored by 毕凯

增加赠品页面

@@ -43,7 +43,7 @@ @@ -43,7 +43,7 @@
43 background: #a1ce4e; 43 background: #a1ce4e;
44 44
45 &:before { 45 &:before {
46 - content: '赠品'; 46 + content: '加价购';
47 display: block; 47 display: block;
48 font-size: 12px; 48 font-size: 12px;
49 line-height: 25rem / $pxConvertRem; 49 line-height: 25rem / $pxConvertRem;
@@ -56,6 +56,7 @@ @@ -56,6 +56,7 @@
56 } 56 }
57 57
58 .name { 58 .name {
  59 + margin-bottom: 20rem / $pxConvertRem;
59 width: 440rem / $pxConvertRem; 60 width: 440rem / $pxConvertRem;
60 font-size: 28rem / $pxConvertRem; 61 font-size: 28rem / $pxConvertRem;
61 } 62 }
@@ -114,7 +115,7 @@ @@ -114,7 +115,7 @@
114 background: #f8f8f8; 115 background: #f8f8f8;
115 } 116 }
116 117
117 - .advance-block .tag { 118 + .gift-block .tag {
118 background: #eb76aa; 119 background: #eb76aa;
119 &:before { 120 &:before {
120 content: '加价购'; 121 content: '加价购';
@@ -11,7 +11,12 @@ @@ -11,7 +11,12 @@
11 {{/ advanceBuy}} 11 {{/ advanceBuy}}
12 {{else}} 12 {{else}}
13 {{# freebie}} 13 {{# freebie}}
14 - {{> cart/gift-advance-good}} 14 + <div class="advance-block gift-block" data-promotion-id="{{promotionId}}">
  15 + <p class="title">{{title}}</p>
  16 + {{#goods}}
  17 + {{> cart/gift-advance-good}}
  18 + {{/goods}}
  19 + </div>
15 {{/ freebie}} 20 {{/ freebie}}
16 {{/if}} 21 {{/if}}
17 22
@@ -7,11 +7,13 @@ @@ -7,11 +7,13 @@
7 <p class="name row">{{name}}</p> 7 <p class="name row">{{name}}</p>
8 <p class="row"> 8 <p class="row">
9 <span class="price"> 9 <span class="price">
10 - ¥{{price}} 10 + ¥{{#if price}}{{price}}{{else}}{{marketPrice}}{{/if}}
11 </span> 11 </span>
  12 + {{#if price}}
12 <span class="price market-price"> 13 <span class="price market-price">
13 ¥{{marketPrice}} 14 ¥{{marketPrice}}
14 </span> 15 </span>
  16 + {{/if}}
15 <span class="count"> 17 <span class="count">
16 ×{{count}} 18 ×{{count}}
17 </span> 19 </span>