Authored by ccbikai

首页 1000+ 搞定

@@ -11,8 +11,11 @@ @@ -11,8 +11,11 @@
11 </a> 11 </a>
12 </li> 12 </li>
13 {{/ list}} 13 {{/ list}}
  14 +
14 <li class="more"> 15 <li class="more">
15 - <a href="{{more}}"></a> 16 + <a class="{{#unless image.src}}default{{/unless}}" href="{{image.url}}">
  17 + <img src="{{image image.src 320 172}}">
  18 + </a>
16 </li> 19 </li>
17 </ul> 20 </ul>
18 {{/data}} 21 {{/data}}
@@ -69,15 +69,19 @@ @@ -69,15 +69,19 @@
69 width: 317px; 69 width: 317px;
70 height: 174px; 70 height: 174px;
71 border-top: 1px solid #e0e0e0; 71 border-top: 1px solid #e0e0e0;
  72 + overflow: hidden;
72 73
73 a { 74 a {
74 display: block; 75 display: block;
75 width: 100%; 76 width: 100%;
76 height: 100%; 77 height: 100%;
  78 +
  79 + &.default {
77 background: resolve("channel/more-brand.png") no-repeat; 80 background: resolve("channel/more-brand.png") no-repeat;
78 background-size: 100% 100%; 81 background-size: 100% 100%;
79 } 82 }
80 } 83 }
  84 + }
81 } 85 }
82 86
83 .brands-swiper { 87 .brands-swiper {