From 27ccc11dd76f572fbc7619cfa3e74dfc8d8ea668 Mon Sep 17 00:00:00 2001 From: lVAL Date: Sun, 27 Sep 2020 13:40:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 3 ++- src/views/Home/main/eHonor.vue | 4 ++-- src/views/Layout/eFooter/eCustom.vue | 4 ++-- src/views/Layout/eHeader/index.vue | 15 +++------------ src/views/PreviewPdf/index.vue | 2 +- 5 files changed, 10 insertions(+), 18 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 7998051..bfadc64 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -81,8 +81,9 @@ const routes = [ const createRouter = () => new VueRouter({ + base: "/official-website/", + // base: process.env.BASE_URL, mode: "history", - base: process.env.BASE_URL, routes }); diff --git a/src/views/Home/main/eHonor.vue b/src/views/Home/main/eHonor.vue index ea77e74..729177c 100644 --- a/src/views/Home/main/eHonor.vue +++ b/src/views/Home/main/eHonor.vue @@ -12,9 +12,9 @@ height="550px" > - + - + diff --git a/src/views/Layout/eFooter/eCustom.vue b/src/views/Layout/eFooter/eCustom.vue index 098deb6..397ca21 100644 --- a/src/views/Layout/eFooter/eCustom.vue +++ b/src/views/Layout/eFooter/eCustom.vue @@ -100,12 +100,12 @@ export default { children: [ { name: "西安铁路职业技术学院", - href: "/preview/pdf?src=/西安铁路职业技术学院.pdf" + href: "/preview/pdf?src=西安铁路职业技术学院.pdf" }, { name: "贵州装备制造职业学院", href: - "/preview/pdf?src=/贵州装备制造职业学院机电技术专业实训室建设.pdf" + "/preview/pdf?src=贵州装备制造职业学院机电技术专业实训室建设.pdf" } ] }, diff --git a/src/views/Layout/eHeader/index.vue b/src/views/Layout/eHeader/index.vue index 3fd316a..15f3aee 100644 --- a/src/views/Layout/eHeader/index.vue +++ b/src/views/Layout/eHeader/index.vue @@ -8,14 +8,7 @@
-
- -
+
@@ -23,13 +16,11 @@