index.js
1.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
import PriceChange from './price-change';
import OrderList from './order-list';
import OrderDetail from './order-detail';
export default [
{
name: 'OrderSellConfirm',
path: '/xianyu/order/sellconfirm.html',
component: () => import(/* webpackChunkName: "order" */ './seller-confirm'),
props: route => ({
productId: route.query.productId,
storageId: route.query.storageId
})
},
{
name: 'OrderPay',
path: '/xianyu/order/pay.html',
component: () => import(/* webpackChunkName: "order" */ './pay'),
props: route => ({
orderCode: route.query.orderCode,
payParams: route.query.payParams,
extra: route.query.extra
}),
},
{
name: 'OrderBuyConfirm',
path: '/xianyu/order/buyconfirm.html',
component: () => import(/* webpackChunkName: "order" */ './buyer-confirm'),
props: route => ({
productId: route.query.productId,
storageId: route.query.storageId
})
},
{
name: 'SellPayOk',
path: '/xianyu/order/sellpayok.html',
component: () => import(/* webpackChunkName: "order" */ './sell-pay-ok'),
props: route => ({
orderCode: route.query.orderCode,
})
},
{
name: 'BuyPayOk',
path: '/xianyu/order/buypayok.html',
component: () => import(/* webpackChunkName: "order" */ './buy-pay-ok'),
props: route => ({
orderCode: route.query.orderCode,
productId: route.query.productId
})
},
{
name: 'buyerAskOrder', // 买家求购确认
path: '/xianyu/order/buyeraskorder.html',
component: () => import('./buyer-ask-order'),
},
// 物流信息
// code: 订单编码
{
name: 'orderLogisticsInfo',
path: '/xianyu/:owner/order/logistics/:code',
component: () => import('./order-logistics-info'),
},
{
name: 'order.deliver',
path: '/xianyu/order/deliver/:skup/:code',
component: () =>
import(/* webpackChunkName: "order.deliver" */ './deliver'),
},
...PriceChange,
...OrderList,
...OrderDetail,
];