Authored by ccbikai

首页图标入口资源位修改

{{# content}}
{{! 头部banner}}
{{#if focus}}
{{> resources/banner-top}}
{{/if}}
{{! 图标入口}}
{{#if appIconList}}
{{> resources/icons-enter}}
{{/if}}
{{! 中间banner}}
{{#if singleImage}}
{{> resources/banner}}
{{/if}}
{{! 两个小图}}
{{#if smallPic}}
{{> resources/thumb-row}}
{{/if}}
{{! 热门品类}}
{{#if recommendContentFive}}
{{> resources/hot-category}}
{{/if}}
{{! 热门品牌}}
{{#if appHotBrands}}
{{> resources/hot-brands-list}}
{{/if}}
{{! 热门品牌可滑动}}
{{#if customBrands}}
{{> resources/hot-brands-swipe}}
{{/if}}
{{! 潮人搭配}}
{{#if trendsetterCollocation}}
{{> resources/trendsetter-collocation}}
{{/if}}
{{! 潮流话题}}
{{#if trendgoodsTopic}}
{{> resources/trend-topics}}
{{/if}}
{{! 潮流时装/经典裤裙/时尚靴履/潮人配饰/潮流上装}}
{{#if recommendContentOne}}
{{> resources/goods-category}}
{{/if}}
{{! 新入住品牌/品味生活/创意生活}}
{{#if recommendContentTwo}}
{{> resources/creative-life}}
{{/if}}
{{! PLUS}}
{{#if singleNameImage}}
{{> resources/plus-star}}
{{/if}}
{{! 新人专享}}
{{#if newUserFloor}}
{{> resources/fresh-only}}
{{/if}}
{{/ content}}
<div class="icons-wrapper">
<ul class="icons-list clearfix">
{{#data}}
<li class="icons-item"><a href="{{url}}" class="imagebar"><img src="{{image src 98 98}}" alt=""></a><a href="{{url}}" class="linkbar">{{title}}</a></li>
<li class="icons-item item-{{../data.length}}"><a href="{{url}}" class="imagebar"><img src="{{image src 98 98}}" alt=""></a><a href="{{url}}" class="linkbar">{{title}}</a></li>
{{/data}}
</ul>
</div>
... ...
... ... @@ -3,17 +3,20 @@
padding: 30px 0 16px;
background: #fff;
border-bottom: 1px solid #e0e0e0;
}
.icons-item {
.icons-item {
float: left;
margin-bottom: 10px;
width: 25%;
width: 20%;
height: 146px;
text-align: center;
}
.imagebar {
&.item-8 {
width: 25%;
}
}
.imagebar {
display: block;
margin: 0 auto;
text-align: center;
... ... @@ -27,9 +30,9 @@
width: 100%;
height: 100%;
}
}
}
.linkbar {
.linkbar {
display: block;
line-height: 44px;
font-size: 24px;
... ... @@ -41,4 +44,5 @@
&:hover {
color: #444;
}
}
}
... ...