Authored by 毕凯

sale 活的入口增加图标

<div class="activity-entry clearfix">
{{#activityEnter}}
<a class="entry-item pull-left {{#if @first}}first{{/if}} {{#if @last}}last{{/if}}" href="{{link}}">
<img class="icon pull-left" src="{{icon}}">
<span class="icon pull-left {{icon}}"></span>
<div class="entry-text">
<span class="title">{{title}}</span>
<p class="desc">{{desc}}</p>
... ...
... ... @@ -3,8 +3,8 @@
折扣专场 SALE
</div>
{{#brandSale}}
<div class="sale-group-big clearfix">
{{#brandSale}}
{{#big}}
<a class="item pull-left" href="{{link}}">
<div class="pic">
... ... @@ -35,11 +35,7 @@
</div>
</a>
{{/normal}}
{{/brandSale}}
</div>
<div class="sale-group">
</div>
{{/brandSale}}
</div>
... ...
... ... @@ -33,9 +33,22 @@
}
.icon {
width: 72px;
height: 72px;
width: 70px;
height: 70px;
margin-left: 48px;
background-repeat: no-repeat;
&.vip {
background-image: image-url('sale/for-vip.png');
}
&.discount {
background-image: image-url('sale/discount.png');
}
&.off-price {
background-image: image-url('sale/off-price.png');
}
}
.title {
... ...
... ... @@ -33,19 +33,19 @@ class Sale1Controller extends WebAction
),
'activityEnter' => array(
array(
'icon' => '',
'icon' => 'vip',
'title' => 'VIP会员专享',
'desc' => 'Only for VIP',
'link' => 'http://www.yohobuy.com'
),
array(
'icon' => '',
'icon' => 'discount',
'title' => '断码区',
'desc' => 'Discount',
'link' => 'http://www.yohobuy.com'
),
array(
'icon' => '',
'icon' => 'off-price',
'title' => '最新降价',
'desc' => 'Off Price',
'link' => 'http://www.yohobuy.com'
... ...