Authored by hongweigao

brandlist 根据频道不同加载

@@ -142,7 +142,7 @@ const getBrandViewList = (channel, start, length) => { @@ -142,7 +142,7 @@ const getBrandViewList = (channel, start, length) => {
142 142
143 let switchParams = switchBrandParams(channel); 143 let switchParams = switchBrandParams(channel);
144 144
145 - let res = yield brandApi.getBrandListData(switchParams.brandCode); 145 + let res = yield brandApi.getBrandListData(switchParams.channelType);
146 146
147 let result = [], 147 let result = [],
148 navigation = []; 148 navigation = [];
@@ -24,7 +24,7 @@ exports.getBrandViewList = (channel) => { @@ -24,7 +24,7 @@ exports.getBrandViewList = (channel) => {
24 let apiMethod = [ 24 let apiMethod = [
25 headerModel.requestHeaderData(channel), 25 headerModel.requestHeaderData(channel),
26 brandsModel.getBrandViewTop(channel), 26 brandsModel.getBrandViewTop(channel),
27 - brandsModel.getBrandViewList(channel) 27 + brandsModel.getBrandViewList(channel, 1, 5) //分屏加载
28 ]; 28 ];
29 29
30 return api.all(apiMethod).then(result => { 30 return api.all(apiMethod).then(result => {