index.js
645 Bytes
export default [{
name: 'SecondProductDetail',
path: '/xianyu/second/product/:skup.html',
component: () => import(/* webpackChunkName: "second" */ './detail'),
props({params}) {
return {
skup: parseInt(params.skup, 10),
};
},
}, {
name: 'SecondList',
path: '/xianyu/second/list.html',
component: () => import(/* webpackChunkName: "second" */ './list')
}, {
name: 'SecondSellList', // 筛选页
path: '/xianyu/second/product/:id/selllist.html',
component: () => import(/* webpackChunkName: "second" */ './sell-list'),
props({params}) {
return {
storage_id: parseInt(params.id, 10),
};
},
}];