|
|
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
|
|
|
},
|
|
|
{
|
|
|
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: '/',
|
|
|
// name: 'HelloWorld',
|
|
|
// component: HelloWorld
|
|
|
// }
|
|
|
]
|
|
|
}); |
|
|
\ No newline at end of file |
...
|
...
|
|