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 @@