Authored by lijing

品牌页

... ... @@ -9,6 +9,9 @@
var api = global.yoho.API;
const service = global.yoho.ServiceAPI;
//const utils = '../../../utils';
//const floorProcess = require(`${utils}/floor-process`);
/* 男生频道取品牌广告及热门品牌数据的位置码 */
let CODE_TOPPOS_BOYS = 'ce6ac059493ec26241a8cbe0bfa1b17a';
... ... @@ -94,7 +97,7 @@ const getBrandByChannel = (channel) => {
]).then(result => {
console.log(result);
console.log(floorProcess.getContent(result));
let resu = {
brandPage: true,
... ...
... ... @@ -24,7 +24,7 @@
{{# topData}}
{{! 头部banner}}
{{# bannerTop}}
{{> home/banner_top}}
{{> brand/banner_top}}
{{/ bannerTop}}
{{! 热门品牌可滑动}}
... ...
<div class="banner-top">
<div class="banner-swiper swiper-container">
<ul class="swiper-wrapper">
{{#each list}}
{{#if @first}}
<li class="swiper-slide buriedpoint" data-bp-id="shop_bannerarea_{{url}}_0">
<a href="{{url}}">
<img src="{{img}}">
</a>
</li>
{{^}}
<li class="swiper-slide buriedpoint" data-bp-id="shop_bannerarea_two_0">
<a href="{{url}}">
<img class="swiper-lazy" data-src="{{img}}">
</a>
<div class="swiper-lazy-preloader"></div>
</li>
{{/if}}
{{/each}}
</ul>
</div>
<div class="swiper-pagination">
<div class="pagination-inner">
</div>
</div>
</div>
\ No newline at end of file
... ...
/**
* 品牌处理类
*/
'use strict';
const helpers = global.yoho.helpers;
const getContent = (data, type) => {
let resu = {
}
return resu;
};
module.exports = {
getContent
};
... ...