index.js 12.2 KB
import Vue from "vue";
import Router from "vue-router";
// import HelloWorld from '@/components/HelloWorld'
import index from "@/components/views/course/index.vue";

Vue.use(Router);

export default new Router({
    mode: "history",
    routes: [{
            path: "/",
            name: "index",
            component: index,
            meta: {
                title: "唐元集公众号"
            }
        },
        {
            path: "/society",
            name: "society",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/society/society.vue"], resolve)
        },
        {
            path: "/login",
            name: "login",
            meta: { title: "唐元集公众号" },
            component: resolve => require(["@/components/views/login.vue"], resolve)
        },
        {
            path: "/activity",
            name: "activity",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/activity/activity.vue"], resolve)
        },
        {
            path: "/usercenter",
            name: "usercenter",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/usercenter/usercenter.vue"], resolve)
        },
        {
            path: "/publish",
            name: "publish",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/society/publish.vue"], resolve)
        },

        {
            path: "/changeziliao",
            name: "changeziliao",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/usercenter/changeziliao.vue"], resolve)
        },
        {
            path: "/opencourse",
            name: "opencourse",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/usercenter/opencourse.vue"], resolve)
        },
        {
            path: "/zuozhanbao",
            name: "zuozhanbao",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/usercenter/zuozhanbao.vue"], resolve)
        },
        {
            path: "/formsub",
            name: "formsub",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/usercenter/formsub.vue"], resolve)
        },
        {
            path: "/sucaibao",
            name: "sucaibao",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/usercenter/sucaibao.vue"], resolve)
        },
        {
            path: "/videosucaidetail",
            name: "videosucaidetail",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/usercenter/videosucaidetail.vue"], resolve)
        },
        {
            path: "/picsucaidetail",
            name: "picsucaidetail",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/usercenter/picsucaidetail.vue"], resolve)
        },
        {
            path: "/wenansucaidetail",
            name: "wenansucaidetail",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/usercenter/wenansucaidetail.vue"], resolve)
        },
        {
            path: "/mycollect",
            name: "mycollect",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/usercenter/mycollect.vue"], resolve)
        },
        {
            path: "/joinus",
            name: "joinus",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/usercenter/joinus.vue"], resolve)
        },
        {
            path: "/applayjoin",
            name: "applayjoin",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/usercenter/applayjoin.vue"], resolve)
        },
        {
            path: "/kefucenter",
            name: "kefucenter",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/usercenter/kefucenter.vue"], resolve)
        },
        {
            path: "/coupon",
            name: "coupon",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/usercenter/coupon.vue"], resolve)
        },
        {
            path: "/companyintro",
            name: "companyintro",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/usercenter/companyintro.vue"], resolve)
        },
        {
            path: "/shiyeyoushi",
            name: "shiyeyoushi",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/usercenter/shiyeyoushi.vue"], resolve)
        },
        {
            path: "/dailistory",
            name: "dailistory",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/usercenter/dailistory.vue"], resolve)
        },
        {
            path: "/shiyefenxi",
            name: "shiyefenxi",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/usercenter/shiyefenxi.vue"], resolve)
        },
        {
            path: "/menkanactivity",
            name: "menkanactivity",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/usercenter/menkanactivity.vue"], resolve)
        },
        {
            path: "/formsubtwo",
            name: "formsubtwo",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/usercenter/formsubtwo.vue"], resolve)
        },
        {
            path: "/productintro",
            name: "productintro",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/usercenter/productintro.vue"], resolve)
        },
        {
            path: "/productvideo",
            name: "productvideo",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/usercenter/productvideo.vue"], resolve)
        },
        {
            path: "/anlifenxi",
            name: "anlifenxi",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/usercenter/anlifenxi.vue"], resolve)
        },
        {
            path: "/jianzhonganli",
            name: "jianzhonganli",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/usercenter/jianzhonganli.vue"], resolve)
        },
        {
            path: "/zhibodetail",
            name: "zhibodetail",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/course/zhibodetail.vue"], resolve)
        },
        {
            path: "/yingyangdetail",
            name: "yingyangdetail",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/course/yingyangdetail.vue"], resolve)
        },
        {
            path: "/userzhibo",
            name: "userzhibo",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/usercenter/userzhibo.vue"], resolve)
        },

        {
            path: "/calander",
            name: "calander",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/activity/calander.vue"], resolve)
        },
        {
            path: "/choujiang",
            name: "choujiang",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/usercenter/choujiang.vue"], resolve)
        },
        {
            path: "/videoplay",
            name: "videoplay",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/usercenter/videoplay.vue"], resolve)
        },
        {
            path: "/activitylist",
            name: "activitylist",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/activity/activitylist.vue"], resolve)
        },
        {
            path: "/activitydetail",
            name: "activitydetail",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/activity/activitydetail.vue"], resolve)
        },
        {
            path: "/lubodetail",
            name: "lubodetail",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/course/lubodetail.vue"], resolve)
        },
        {
            path: "/searchcourse",
            name: "searchcourse",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/course/searchcourse.vue"], resolve)
        },
        {
            path: "/tiezilist",
            name: "searchcourse",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/usercenter/tiezilist.vue"], resolve)
        },
        {
            path: "/userlubo",
            name: "searchcourse",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/usercenter/userlubo.vue"], resolve)
        },
        {
            path: "/activitycalendar",
            name: "activitycalendar",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/activity/activitycalendar.vue"], resolve)
        },
        {
            path: "/finish",
            name: "finish",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/usercenter/finish.vue"], resolve)
        },
        {
            path: "/coursesucai",
            name: "coursesucai",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/usercenter/coursesucai.vue"], resolve)
        },
        {
            path: "/picsucai",
            name: "picsucai",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/usercenter/picsucai.vue"], resolve)
        },
        {
            path: "/wenzisucai",
            name: "wenzisucai",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/usercenter/wenzisucai.vue"], resolve)
        },
        {
            path: "/zuozhanbaolishi",
            name: "zuozhanbaolishi",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/usercenter/zuozhanbaolishi.vue"], resolve)
        },
        {
            path: "/youhuitext",
            name: "youhuitext",
            meta: { title: "唐元集公众号" },
            component: resolve =>
                require(["@/components/views/usercenter/youhuitext.vue"], resolve)
        }
        // {
        //     path: '/',
        //     name: 'HelloWorld',
        //     component: HelloWorld
        // }
    ]
});