Authored by yyq

style

... ... @@ -91,11 +91,16 @@
{{#each goods_list}}
<li class="left">
<img class="lazy package-goods-img" data-original="{{image goods_images 68 90}}">
{{#isEqual goods_type 'gift'}}
<span>赠品</span>
{{/isEqual}}
{{#isEqual goods_type 'price_gift'}}
<span>加价购</span>
{{/isEqual}}
</li>
{{/each}}
</ul>
</div>
{{log this}}
<p class="package-shipping">运费:¥{{shopping_cost}}元(原价{{shopping_orig_cost}}元,优惠{{shopping_cut_cost}}元)</p>
</div>
{{/each}}
... ...
... ... @@ -343,7 +343,7 @@ multiPackage = {
}
$ul.animate({
marginLeft: -(curPage - 1) * $ul.parent('.package-goods-wrap').width()
marginLeft: -(curPage - 1) * ($ul.parent('.package-goods-wrap').width() + 20)
}, 200);
theCache.cur = curPage;
... ...
... ... @@ -428,6 +428,7 @@
line-height: 40px;
text-align: center;
background: #fefbd5;
border-bottom: 1px solid $borderColor;
.red {
color: $red;
... ... @@ -503,8 +504,20 @@
border: 1px solid $borderColor;
margin-right: 20px;
overflow: hidden;
position: relative;
}
li > span {
width: 100%;
height: 16px;
line-height: 17px;
font-size: 12px;
color: #fff;
background: #ff5660;
text-align: center;
position: absolute;
bottom: 0;
}
.package-goods-img {
display: block;
... ...