From b3ed8112bbaa67a9413a738dea6cf86b1984253d Mon Sep 17 00:00:00 2001 From: xixi <123@qq.com> Date: Mon, 22 Apr 2024 11:16:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=98=E7=BA=BF=E5=9B=BE=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 10 +-- src/api/ddzhxt.js | 114 +++++++++++------------ src/components/ddzhxt/rysshyqk.vue | 140 ++++++++++++++++------------- src/pages/ddzhxt/ddzhxts.vue | 82 ++++++++--------- src/router/index.js | 72 +++++++-------- 5 files changed, 216 insertions(+), 202 deletions(-) diff --git a/src/App.vue b/src/App.vue index b72df6e..2cd8460 100644 --- a/src/App.vue +++ b/src/App.vue @@ -6,9 +6,9 @@ - + \ No newline at end of file + diff --git a/src/pages/ddzhxt/ddzhxts.vue b/src/pages/ddzhxt/ddzhxts.vue index 61c5a4e..44804ce 100644 --- a/src/pages/ddzhxt/ddzhxts.vue +++ b/src/pages/ddzhxt/ddzhxts.vue @@ -32,18 +32,19 @@ - \ No newline at end of file + + diff --git a/src/router/index.js b/src/router/index.js index f921af2..1b93609 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -6,44 +6,44 @@ 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); +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' - // } - }, - ] -}) \ No newline at end of file + 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' + // } + } + ] +})