index.js
644 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 {
storageId: parseInt(params.id, 10),
};
},
}];