Authored by 毕凯

购物车加价购标签样式

@@ -28,12 +28,17 @@ @@ -28,12 +28,17 @@
28 } 28 }
29 29
30 .few-tag { 30 .few-tag {
31 - width: 148rem / $pxConvertRem; 31 + width: 180rem / $pxConvertRem;
32 position: absolute; 32 position: absolute;
33 - left: 92rem / $pxConvertRem; 33 + left: 76rem / $pxConvertRem;
34 text-align: center; 34 text-align: center;
35 top: 75%; 35 top: 75%;
36 color: #fff; 36 color: #fff;
  37 +
  38 + span {
  39 + display: inline-block;
  40 + @include transform(scale(0.833));
  41 + }
37 } 42 }
38 43
39 .gift-tag { 44 .gift-tag {
@@ -13,10 +13,10 @@ @@ -13,10 +13,10 @@
13 <img class="thumb lazy" data-original="{{thumb}}"> 13 <img class="thumb lazy" data-original="{{thumb}}">
14 </a> 14 </a>
15 {{#if isAdvanceBuy}} 15 {{#if isAdvanceBuy}}
16 - <p class="few-tag plus-tag">加价购</p> 16 + <p class="few-tag plus-tag"><span>加价购</span></p>
17 {{/if}} 17 {{/if}}
18 {{#if isGift}} 18 {{#if isGift}}
19 - <p class="few-tag gift-tag">赠品</p> 19 + <p class="few-tag gift-tag"><span>赠品</span></p>
20 {{/if}} 20 {{/if}}
21 21
22 <div class="deps show"> 22 <div class="deps show">