...
|
...
|
@@ -43,7 +43,21 @@ function newIndex(req, res, next) { |
|
|
floors: result.index,
|
|
|
tabs: result.tabData,
|
|
|
filterList: result.filterGroupList,
|
|
|
shareInfo: result.shareInfo
|
|
|
shareInfo: result.shareInfo,
|
|
|
tabbarItems: {
|
|
|
active: 0,
|
|
|
items: [{
|
|
|
title: '拼团首页',
|
|
|
url: '/activity/group/newIndex',
|
|
|
style: 'group-tab-home',
|
|
|
style_unselect: 'group-tab-home-unselect',
|
|
|
}, {
|
|
|
title: '我的拼团',
|
|
|
url: '/activity/group/order',
|
|
|
style: 'my-group-tab',
|
|
|
style_unselect: 'my-group-tab-unselect',
|
|
|
}]
|
|
|
}
|
|
|
});
|
|
|
}).catch(next);
|
|
|
}
|
...
|
...
|
@@ -354,8 +368,21 @@ function order(req, res, next) { |
|
|
{
|
|
|
title: '全部',
|
|
|
src: '/activity/group/order?type=1&selectIndex=1'
|
|
|
}
|
|
|
],
|
|
|
}],
|
|
|
tabbarItems: {
|
|
|
active: 1,
|
|
|
items: [{
|
|
|
title: '拼团首页',
|
|
|
url: '/activity/group/newIndex',
|
|
|
style: 'group-tab-home',
|
|
|
style_unselect: 'group-tab-home-unselect',
|
|
|
}, {
|
|
|
title: '我的拼团',
|
|
|
url: '/activity/group/order',
|
|
|
style: 'my-group-tab',
|
|
|
style_unselect: 'my-group-tab-unselect',
|
|
|
}]
|
|
|
},
|
|
|
selectIndex: Number(selectIndex) || 0
|
|
|
});
|
|
|
}).catch(next);
|
...
|
...
|
|