fanzhen 1022

This commit is contained in:
fanzhen123
2019-10-22 19:24:30 +08:00
parent 52e80e404b
commit 686ed8c82d
38 changed files with 2471 additions and 16 deletions

View File

@@ -1,17 +1,51 @@
import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/views/index/Index.vue'
// 导航
import Nav from '@/components/nav/Nav.vue'
// 页脚信息
import FooterInfor from '@/components/footerInfor/FooterInfor.vue'
// 公司介绍
import CmpanyIntroduction from '@/views/companyIntroduction/CompanyIntroduction.vue'
// 联系我们
import Relation from '@/views/relation/Relation.vue'
// 个人中心
import PersonalCenter from '@/views/personalCenter/PersonalCenter.vue'
Vue.use(Router)
export default new Router({
mode: 'history',
base: process.env.BASE_URL,
routes: [
{
path: '/',
name: 'index',
component: Index
}
routes: [{
path: '/',
name: 'index',
component: Index
},
{
path: '/nav',
name: 'nav',
component: Nav
},
{
path: '/footerInfor',
name: 'footerInfor',
component: FooterInfor
},
{
path: '/companyIntroduction',
name: 'companyIntroduction',
component: CmpanyIntroduction
},
{
path: '/relation',
name: 'relation',
component: Relation
},
{
path: '/personalCenter',
name: 'personalCenter',
component: PersonalCenter
}
]
})