50 lines
950 B
JavaScript
50 lines
950 B
JavaScript
import Vue from 'vue'
|
|
import Router from 'vue-router'
|
|
// import HelloWorld from '@/components/HelloWorld'
|
|
import ddzhxt from '@/pages/ddzhxt/ddzhxts.vue'
|
|
import zhdjxt from '@/pages/zhdjxt/zhdjxts.vue'
|
|
import jcxxxt from '@/pages/jcxxxt/jcxxxts.vue'
|
|
import detailDitu from '@/components/ddzhxt/detail-ditu.vue'
|
|
|
|
Router.prototype.openUrl = function (url, type) {
|
|
window.open(url, !type ? '_self' : type)
|
|
}
|
|
|
|
Vue.use(Router)
|
|
|
|
export default new Router({
|
|
routes: [{
|
|
path: '/',
|
|
name: 'ddzhxt',
|
|
component: ddzhxt
|
|
// meta:{
|
|
// title:'ddzhxt'
|
|
// }
|
|
},
|
|
{
|
|
path: '/zhdjxt',
|
|
name: 'zhdjxt',
|
|
component: zhdjxt
|
|
// meta:{
|
|
// title:'zhdjxt'
|
|
// }
|
|
},
|
|
{
|
|
path: '/jcxxxt',
|
|
name: 'jcxxxt',
|
|
component: jcxxxt
|
|
// meta:{
|
|
// title:'jcxxxt'
|
|
// }
|
|
},
|
|
{
|
|
path: '/detailDitu',
|
|
name: 'detailDitu',
|
|
component: detailDitu
|
|
// meta:{
|
|
// title:'jcxxxt'
|
|
// }
|
|
}
|
|
]
|
|
})
|