Authored by 毕凯

加价购 样式

@@ -52,6 +52,7 @@ @@ -52,6 +52,7 @@
52 } 52 }
53 53
54 .name { 54 .name {
  55 + width: 440rem / $pxConvertRem;
55 font-size: 28rem / $pxConvertRem; 56 font-size: 28rem / $pxConvertRem;
56 } 57 }
57 58
@@ -76,6 +77,11 @@ @@ -76,6 +77,11 @@
76 .price { 77 .price {
77 font-size: 24rem / $pxConvertRem; 78 font-size: 24rem / $pxConvertRem;
78 color: #000; 79 color: #000;
  80 +
  81 + &.market-price {
  82 + color: #999;
  83 + text-decoration: line-through;
  84 + }
79 } 85 }
80 86
81 .count { 87 .count {
@@ -96,9 +102,9 @@ @@ -96,9 +102,9 @@
96 } 102 }
97 103
98 .title { 104 .title {
99 - height: 50rem / $pxConvertRem;  
100 - line-height: 50rem / $pxConvertRem;  
101 - padding-left: 20rem / $pxConvertRem; 105 + height: 60rem / $pxConvertRem;
  106 + line-height: 60rem / $pxConvertRem;
  107 + padding: 0 20rem / $pxConvertRem;
102 font-size: 24rem / $pxConvertRem; 108 font-size: 24rem / $pxConvertRem;
103 background: #f8f8f8; 109 background: #f8f8f8;
104 } 110 }
@@ -109,4 +115,4 @@ @@ -109,4 +115,4 @@
109 content: '加价购'; 115 content: '加价购';
110 } 116 }
111 } 117 }
112 -}  
  118 +}
@@ -22,7 +22,7 @@ @@ -22,7 +22,7 @@
22 <span class="price"> 22 <span class="price">
23 ¥{{price}} 23 ¥{{price}}
24 </span> 24 </span>
25 - <span class="price"> 25 + <span class="price market-price">
26 ¥{{marketPrice}} 26 ¥{{marketPrice}}
27 </span> 27 </span>
28 <span class="count"> 28 <span class="count">