rules.js 2.14 KB
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' }
};