rules.js
2.14 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
import jump from './jump';
export default {
home: {path: '/pages/index/index'},
userCenter: {path: '/pages/home/index'},
bindMobile: {path: '/pages/account/bindMobile'},
chooseArea: {path: '/pages/account/chooseArea'},
brand: {path: '/pages/brand/index'},
brandList: {path: '/pages/brand/list'},
brandSearch: {path: '/pages/brand/search'},
classRoomDetail: { path: '/pages/classroom/detail', report: { paramKey: 'activityId'}},
classRoomList: {path: '/pages/classroom/list'},
cmsDetail: { path: '/pages/cms/detail', report: { paramKey: 'id'}},
couponDetail: {path: '/pages/home/coupon/detail'},
couponList: { path: '/pages/home/coupon/list', auth: true, report: { paramKey: 'mername' }},
clock: {path: '/pages/activity/clock'},
classroomDetail: {path: '/pages/activity/classroomDetail'},
activityIndex: {path: '/pages/activity/index'},
booking: {path: '/pages/activity/booking', auth: true},
bookingList: {path: '/pages/activity/bookingList', auth: true},
bookingDetail: {path: '/pages/activity/bookingDetail'},
bookingSuccess: {path: '/pages/activity/bookingSuccess', type: jump.redirectTo},
fission: {path: '/pages/activity/fission'},
fissionRule: {path: '/pages/activity/fissionRule'},
fissionClose: {path: '/pages/activity/fissionClose', type: jump.redirectTo},
limitSale: {path: '/pages/activity/limitSale'},
limitSaleDetail: {path: '/pages/activity/limitSaleDetail'},
limitSaleSnapshoot: {path: '/pages/snapshoot/limitSale'},
limitSaleNews: {path: '/pages/activity/limitSaleNews'},
limitSaleCode: {path: '/pages/activity/limitSaleCode', auth: true},
limitSaleRegister: {path: '/pages/activity/limitSaleRegister', auth: true},
limitSuccess: {path: '/pages/activity/limitSuccess', auth: true, type: jump.redirectTo},
cmsNews: {path: '/pages/cms/news'},
cmsNewsDetail: {path: '/pages/cms/newsDetail'},
webView: {path: '/pages/webview/webview', type: jump.redirectTo},
login: {path:'/pages/login/login'},
yohoCoin: { path: '/pages/home/coin/coin' },
experience: { path: '/pages/home/experience/list' },
setting: { path: '/pages/home/setting/setting' }
};