Authored by biao

优化购物车页面加价购和赠品栏样式。code review by XWG

... ... @@ -141,7 +141,7 @@
}
.freebie-and-advance-buy {
padding: 20rem / $pxConvertRem;
padding: 20rem / $pxConvertRem 0;
font-size: 24rem / $pxConvertRem;
border-top: 1px solid #e0e0e0;
margin-bottom: 30rem / $pxConvertRem;
... ... @@ -152,7 +152,6 @@
line-height: 80rem / $pxConvertRem;
margin-bottom: 10rem / $pxConvertRem;
padding: 0 20rem / $pxConvertRem;
background: #f1f1f1;
&:last-child {
margin-bottom: 0;
... ... @@ -162,6 +161,22 @@
float: right;
width: 100%;
}
.under-line {
display: inline-block;
height: 1px;
width: 91%;
position: absolute;
left: 9%;
background-color: #f1f1f1;
}
}
> li:first-child {
.under-line {
display: none;
}
}
.count {
... ...
... ... @@ -22,6 +22,7 @@
<span class="iconfont icon-right-arrow">&#xe614;</span>
<span class="count">{{giftCount}}</span>
</a>
<span class="under-line"></span>
</li>
{{/if}}
{{#if advanceBuy}}
... ... @@ -32,6 +33,7 @@
<span class="iconfont icon-right-arrow">&#xe614;</span>
<span class="count">{{advanceBuyCount}}</span>
</a>
<span class="under-line"></span>
</li>
{{/if}}
</ul>
... ...