Authored by 梁志锋

Merge branch 'bind' into 'develop'

频道选择页修改

1. 可选频道通过后台配置
2. 增加yohood频道

See merge request !23
@@ -1316,3 +1316,29 @@ @@ -1316,3 +1316,29 @@
1316 ] 1316 ]
1317 } 1317 }
1318 1318
  1319 +
  1320 +### 频道选择页
  1321 + {
  1322 + 'background' : 'http://img11.static.yhbimg.com/yhb-img01/2015/12/14/03/0189f7499bcb98cbeb4d18d61275606716.png?imageView/2/w/640/h/800',
  1323 + 'searchUrl' : 'http://search.dev.yohobuy.com',
  1324 + 'channelList' : [
  1325 + {
  1326 + 'href' : '/boys',
  1327 + 'title' : '男生',
  1328 + 'entitle' : 'BOYS',
  1329 + }, {
  1330 + 'href' : '/girls',
  1331 + 'title' : ' 女生',
  1332 + 'entitle' : 'GIRLS',
  1333 + }, {
  1334 + 'href' : '/kids',
  1335 + 'title' : '潮童',
  1336 + 'entitle' : KIDS'',
  1337 + }, {
  1338 + 'href' : '/lifestyle',
  1339 + 'title' : '创意生活',
  1340 + 'entitle' : 'LIFESTYLE',
  1341 + }
  1342 + ],
  1343 + 'showYohood' : true/false
  1344 + }
@@ -143,7 +143,7 @@ @@ -143,7 +143,7 @@
143 font-size: 16px; 143 font-size: 16px;
144 line-height: 52px; 144 line-height: 52px;
145 color: #fff; 145 color: #fff;
146 - background: #000; 146 + background-color: #000;
147 border: 4px solid #fff; 147 border: 4px solid #fff;
148 font-weight: bold; 148 font-weight: bold;
149 &:last-child { 149 &:last-child {
@@ -19,10 +19,12 @@ @@ -19,10 +19,12 @@
19 <div class="index-channel"> 19 <div class="index-channel">
20 <img class="img" src="{{background}}"> 20 <img class="img" src="{{background}}">
21 <div class="index-channel-list"> 21 <div class="index-channel-list">
22 - <a href="/boys" class="list-item">男生 <span class="lighter">BOYS</span> <span class="iconfont right-icon">&#xe614;</span></a>  
23 - <a href="/girls" class="list-item">女生 <span class="lighter">GIRLS</span> <span class="iconfont right-icon">&#xe614;</span></a>  
24 - <a href="/kids" class="list-item">潮童 <span class="lighter">KIDS</span> <span class="iconfont right-icon">&#xe614;</span></a>  
25 - <a href="/lifestyle" class="list-item">创意生活 <span class="lighter">LIFESTYLE</span> <span class="iconfont right-icon">&#xe614;</span></a> 22 + {{#channelList}}
  23 + <a href="{{href}}" class="list-item">{{title}} <span class="lighter">{{entitle}}</span> <span class="iconfont right-icon">&#xe614;</span></a>
  24 + {{/channelList}}
  25 + {{#showYohood}}
  26 + <a href="/yohood" id="yohood" class="list-item"> <span class="iconfont right-icon">&#xe614;</span></a>
  27 + {{/showYohood}}
26 </div> 28 </div>
27 </div> 29 </div>
28 </div> 30 </div>