Authored by 李奇

调整入口页模块显示顺序

... ... @@ -16,15 +16,16 @@ module.exports = class extends global.yoho.BaseModel {
let share = (_.get(res[0], 'data.context', '')).match(/\>(\d+)</g);
let gainList = [
{
url: _.get(res[1], 'data.checkUrl', ''),
img: '//img11.static.yhbimg.com/yhb-img01/2018/07/09/10/018092224dc2f48195e3ad15269f981d1f.jpg?imageView2/{mode}/w/{width}/h/{height}', // eslint-disable-line
isShow: false
},
{
url: _.get(res[0], 'data.url', ''),
img: '//img11.static.yhbimg.com/yhb-img01/2018/07/09/10/010d4f185b1a155449966ef12d3ed41490.jpg?imageView2/{mode}/w/{width}/h/{height}', // eslint-disable-line
totalUser: parseInt(_.get(share, '[0]', 0).replace('>', '').replace('<', ''), 10),
totalCouponNum: parseInt(_.get(share, '[1]', 0).replace('>', '').replace('<', ''), 10),
isShow: true
}, {
url: _.get(res[1], 'data.checkUrl', ''),
img: '//img11.static.yhbimg.com/yhb-img01/2018/07/09/10/018092224dc2f48195e3ad15269f981d1f.jpg?imageView2/{mode}/w/{width}/h/{height}', // eslint-disable-line
isShow: false
}
];
... ...