Authored by ccbikai

首页 1000+ 搞定

{{#data}}
<ul class="hot-brands clearfix">
{{> common/floor-header}}
{{# list}}
{{# list}}
<li class="brand">
<a href="{{url}}">
<div class="brand-logo">
... ... @@ -11,8 +11,11 @@
</a>
</li>
{{/ list}}
<li class="more">
<a href="{{more}}"></a>
<a class="{{#unless image.src}}default{{/unless}}" href="{{image.url}}">
<img src="{{image image.src 320 172}}">
</a>
</li>
</ul>
{{/data}}
\ No newline at end of file
{{/data}}
... ...
... ... @@ -69,13 +69,17 @@
width: 317px;
height: 174px;
border-top: 1px solid #e0e0e0;
overflow: hidden;
a {
display: block;
width: 100%;
height: 100%;
background: resolve("channel/more-brand.png") no-repeat;
background-size: 100% 100%;
&.default {
background: resolve("channel/more-brand.png") no-repeat;
background-size: 100% 100%;
}
}
}
}
... ...