Authored by ccbikai

为您优选价格位置

@@ -45,20 +45,17 @@ @@ -45,20 +45,17 @@
45 line-height: 1; 45 line-height: 1;
46 46
47 span { 47 span {
48 - display: block; 48 + display: inline-block;
49 // chrome 最小支持12px, 设计图是 10px ,用CSS3变换 49 // chrome 最小支持12px, 设计图是 10px ,用CSS3变换
50 @include transform(scale(0.875)); 50 @include transform(scale(0.875));
51 } 51 }
52 52
53 .sale-price { 53 .sale-price {
54 color: #d9134f; 54 color: #d9134f;
55 - margin-left: pxToRem(-10px); 55 + margin-right: pxToRem(8px);
56 } 56 }
57 57
58 .old-price { 58 .old-price {
59 - position: absolute;  
60 - top: 0;  
61 - right: pxToRem(-4px);  
62 color: #b0b0b0; 59 color: #b0b0b0;
63 text-decoration: line-through; 60 text-decoration: line-through;
64 } 61 }