Authored by ccbikai

频道页面 数据处理修改

@@ -178,9 +178,9 @@ const _getChannelList = () => { @@ -178,9 +178,9 @@ const _getChannelList = () => {
178 list.channelList.push(channel); 178 list.channelList.push(channel);
179 } 179 }
180 180
181 - if (_.toNumber(item.yhChannel) !== 5) { 181 + if (_.toNumber(item.yhChannel) === 5) {
182 list.yohood.showYohood = true; 182 list.yohood.showYohood = true;
183 - list.yohood.yohoodHref = 'http://yohood.cn'; 183 + list.yohood.yohoodHref = 'http://www.yohood.cn';
184 } 184 }
185 }); 185 });
186 return Object.keys(list).length ? list : channelList; 186 return Object.keys(list).length ? list : channelList;
@@ -14,8 +14,11 @@ module.exports = { @@ -14,8 +14,11 @@ module.exports = {
14 port: 6001, 14 port: 6001,
15 siteUrl: '//m.yohobuy.com', 15 siteUrl: '//m.yohobuy.com',
16 domains: { 16 domains: {
17 - api: 'http://devapi.yoho.cn:58078/',  
18 - service: 'http://devservice.yoho.cn:58077/' 17 + api: 'http://api.yoho.yohoops.org/',
  18 + service: 'http://service.yoho.yohoops.org/'
  19 +
  20 + // api: 'http://devapi.yoho.cn:58078/',
  21 + // service: 'http://devservice.yoho.cn:58077/'
19 }, 22 },
20 useOneapm: false, 23 useOneapm: false,
21 useCache: false, 24 useCache: false,
@@ -78,7 +81,7 @@ if (isProduction) { @@ -78,7 +81,7 @@ if (isProduction) {
78 Object.assign(module.exports, { 81 Object.assign(module.exports, {
79 appName: 'm.yohobuy.com for test', 82 appName: 'm.yohobuy.com for test',
80 domains: { 83 domains: {
81 - api: 'http://devapi.yoho.cn:58078/', 84 + api: 'http://testapi.yoho.cn:28078/',
82 service: 'http://testservice.yoho.cn:28077/' 85 service: 'http://testservice.yoho.cn:28077/'
83 }, 86 },
84 memcache: { 87 memcache: {
1 <div class="icons-wrapper"> 1 <div class="icons-wrapper">
2 <ul class="icons-list clearfix"> 2 <ul class="icons-list clearfix">
3 {{#data}} 3 {{#data}}
4 - <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> 4 + <li class="icons-item item-{{../number}}"><a href="{{url}}" class="imagebar"><img src="{{image src 98 98}}" alt=""></a><a href="{{url}}" class="linkbar">{{title}}</a></li>
5 {{/data}} 5 {{/data}}
6 </ul> 6 </ul>
7 </div> 7 </div>
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
@@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@
11 height: 146px; 11 height: 146px;
12 text-align: center; 12 text-align: center;
13 13
14 - &.item-8 { 14 + &.item-4 {
15 width: 25%; 15 width: 25%;
16 } 16 }
17 } 17 }