Authored by ccbikai

频道页面 数据处理修改

... ... @@ -178,9 +178,9 @@ const _getChannelList = () => {
list.channelList.push(channel);
}
if (_.toNumber(item.yhChannel) !== 5) {
if (_.toNumber(item.yhChannel) === 5) {
list.yohood.showYohood = true;
list.yohood.yohoodHref = 'http://yohood.cn';
list.yohood.yohoodHref = 'http://www.yohood.cn';
}
});
return Object.keys(list).length ? list : channelList;
... ...
... ... @@ -14,8 +14,11 @@ module.exports = {
port: 6001,
siteUrl: '//m.yohobuy.com',
domains: {
api: 'http://devapi.yoho.cn:58078/',
service: 'http://devservice.yoho.cn:58077/'
api: 'http://api.yoho.yohoops.org/',
service: 'http://service.yoho.yohoops.org/'
// api: 'http://devapi.yoho.cn:58078/',
// service: 'http://devservice.yoho.cn:58077/'
},
useOneapm: false,
useCache: false,
... ... @@ -78,7 +81,7 @@ if (isProduction) {
Object.assign(module.exports, {
appName: 'm.yohobuy.com for test',
domains: {
api: 'http://devapi.yoho.cn:58078/',
api: 'http://testapi.yoho.cn:28078/',
service: 'http://testservice.yoho.cn:28077/'
},
memcache: {
... ...
<div class="icons-wrapper">
<ul class="icons-list clearfix">
{{#data}}
<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>
<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>
{{/data}}
</ul>
</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 @@
height: 146px;
text-align: center;
&.item-8 {
&.item-4 {
width: 25%;
}
}
... ...