import { createRouter, createWebHashHistory } from 'vue-router'; const router = createRouter({ history: createWebHashHistory(), routes: [ { path: "/", redirect: "/home", }, { path: "/home", name: "home", meta: { title: "首页", keepAlive: true, }, component: () => import("../views/home/Home.vue"), }, { path: "/findSchoolCoach", name: "findSchoolCoach", meta: { title: "", }, component: () => import("../views/findSchoolCoach/FindSchoolCoach.vue"), }, { path: "/schoolDetail", name: "schoolDetail", meta: { title: "驾校详情", }, component: () => import("../views/findSchoolCoach/SchoolDetail.vue"), }, { path: "/classType", name: "classType", meta: { title: "班型", }, component: () => import("../views/classType/ClassType.vue"), }, { path: "/serviceNetwork", name: "serviceNetwork", meta: { title: "服务网点", }, component: () => import("../views/serviceNetwork/ServiceNetwork.vue"), }, { path: "/examNetwork", name: "examNetwork", meta: { title: "考试网点", }, component: () => import("../views/serviceNetwork/ExamNetwork.vue"), }, { path: "/login", name: "login", meta: { title: "登陆", }, component: () => import("../views/login/Index.vue"), }, { path: "/forget-password", name: "forget-password", meta: { title: "忘记密码", }, component: () => import("../views/forget-password/Index.vue"), }, { path: "/queryBill", name: "queryBill", meta: { title: "账单查询", }, component: () => import("../views/bill/QueryBill.vue"), }, { //红黑榜 path: "/red-black-list", name: "red-black-list", component: () => import("../views/red-black-list/Index.vue"), meta: { title: "红黑榜", keepAlive: true, }, }, { //动态消息 path: "/learning-garden", name: "learning-garden", component: () => import("../views/learning-garden/Index.vue"), meta: { title: "动态消息", }, }, { //个人中心 path: "/personal-center", name: "personal-center", component: () => import("../views/personal-center/Index.vue"), meta: { title: "个人中心", }, }, { //去评价 path: "/evaluate", name: "evaluate", component: () => import("../views/personal-center/EvaluatePage.vue"), meta: { title: "去评价", }, }, { //评价结果 path: "/evaluateResult", name: "evaluateResult", component: () => import("../views/personal-center/EvaluateResult.vue"), meta: { title: "评价结果", }, }, { //政策法规 path: "/policies-regulations", name: "policies-regulations", component: () => import("../views/policies-regulations/Index.vue"), meta: { title: "政策法规", }, }, { path: "/industryNews", name: "industryNews", meta: { title: "行业动态", }, component: () => import("../views/industryNews/IndustryNews.vue"), }, { path: "/onlineRegist", name: "onlineRegist", meta: { title: "在线报名", }, component: () => import("../views/online/index.vue"), }, { path: "/agreement", name: "agreement", meta: { title: "合同预览", }, component: () => import("../views/online/agreement.vue"), }, { path: "/esign", name: "esign", meta: { title: "合同签约", }, component: () => import("../views/online/ESign.vue"), }, { path: "/newsPdf", name: "newsPdf", meta: { title: "详情", }, component: () => import("../views/industryNews/NewsPdf.vue"), }, { path: "/quitSchool", name: "quitSchool", meta: { title: "退学申请", }, component: () => import("../views/personal-center/QuitSchool.vue"), }, { path: "/coachDetail", name: "coachDetail", meta: { title: "教练详情", }, component: () => import("../views/findSchoolCoach/CoachDetail.vue"), }, { path: "/classDetail", name: "classDetail", meta: { title: "班型详情", }, component: () => import("../views/classType/ClassDetail.vue"), }, { path: "/chat", name: "chat", meta: { title: "在线客服", }, component: () => import("../views/chat/index.vue"), }, { path: "/appointExam", name: "appointExam", meta: { title: "预约考试", }, component: () => import("../views/appoint-exam/AppointExam.vue"), }, { path: "/bargain", name: "bargain", meta: { title: "沟通", }, component: () => import("../views/bargain/index.vue"), }, { path: "/opinion", name: "opinion", meta: { title: "学车评价", }, component: () => import("../views/opinion/opinion.vue"), }, ], }); export default router; //# sourceMappingURL=index.js.map