Authored by lzhy

wap去掉首页频道选择页面、角频道切换入口

@@ -15,11 +15,11 @@ const custom = require(`${cRoot}/custom`); @@ -15,11 +15,11 @@ const custom = require(`${cRoot}/custom`);
15 const rewrite = require('../../doraemon/middleware/rewrite'); 15 const rewrite = require('../../doraemon/middleware/rewrite');
16 const router = express.Router(); // eslint-disable-line 16 const router = express.Router(); // eslint-disable-line
17 17
18 -router.get('/', channel.switchChannel, channel.index); // 首页,频道选择页  
19 -router.get('/boys', channel.switchChannel, channel.boys);  
20 -router.get('/girls', channel.switchChannel, channel.girls);  
21 -router.get('/kids', channel.switchChannel, channel.kids);  
22 -router.get('/lifestyle', channel.switchChannel, channel.lifestyle); 18 +router.get('/', channel.switchChannel, channel.boys); // 首页,频道选择页
  19 +router.get('/boys', channel.switchChannel, channel.boys); // 男生页面
  20 +// router.get('/girls', channel.switchChannel, channel.girls); // 去掉girls频道 2020-05-28
  21 +// router.get('/kids', channel.switchChannel, channel.kids); // 去掉kids频道 2020-05-28
  22 +// router.get('/lifestyle', channel.switchChannel, channel.lifestyle); // 去掉lifestyle频道 2020-05-28
23 router.get('/channel/getResourceContent', channel.getResourceContent);// 获取首页,其余频道楼层 23 router.get('/channel/getResourceContent', channel.getResourceContent);// 获取首页,其余频道楼层
24 24
25 router.get('/(:channel)/bottomBanner', channel.bottomBanner); 25 router.get('/(:channel)/bottomBanner', channel.bottomBanner);
1 <div id="home-header" class="home-header clearfix" {{# bgColor}}style="background-color:{{.}};background-image:none"{{/ bgColor}}> 1 <div id="home-header" class="home-header clearfix" {{# bgColor}}style="background-color:{{.}};background-image:none"{{/ bgColor}}>
2 <div id="browser-header"> 2 <div id="browser-header">
3 - <span class="nav-btn iconfont">&#xe60b;</span> 3 + <!--<span class="nav-btn iconfont">&#xe60b;</span>-->
4 <span class="logo"></span> 4 <span class="logo"></span>
5 <span class="search-btn iconfont"><a href="{{searchUrl}}">&#xe60f;</a></span> 5 <span class="search-btn iconfont"><a href="{{searchUrl}}">&#xe60f;</a></span>
6 </div> 6 </div>