diff --git a/src/components/NewBottom.vue b/src/components/NewBottom.vue index 92049ea..a75e5c6 100644 --- a/src/components/NewBottom.vue +++ b/src/components/NewBottom.vue @@ -6,9 +6,9 @@
更多服务 | More
@@ -81,7 +81,7 @@ const router = useRouter() const toPage = path => { document.body.scrollTop = document.documentElement.scrollTop = 0 - router.push({ path }) + window.location.href = `http://iflytop.com${path}` } const props = defineProps({ diff --git a/src/components/NewBottomWhite.vue b/src/components/NewBottomWhite.vue index 2bd3aad..ae9bfc6 100644 --- a/src/components/NewBottomWhite.vue +++ b/src/components/NewBottomWhite.vue @@ -6,9 +6,9 @@
更多服务 | More
@@ -80,8 +80,8 @@ import { useRouter } from 'vue-router' const router = useRouter() const toPage = path => { - router.push({ path }) document.body.scrollTop = document.documentElement.scrollTop = 0 + window.location.href = `http://iflytop.com${path}` } const props = defineProps({ diff --git a/src/components/design/Header/index.vue b/src/components/design/Header/index.vue index 996e397..6ae03a6 100644 --- a/src/components/design/Header/index.vue +++ b/src/components/design/Header/index.vue @@ -46,8 +46,8 @@

不止于此

-

软硬件开发

-

加工生产

+

软硬件开发

+

加工生产

整机开发

@@ -95,17 +95,16 @@ const props = defineProps({ }) const toHomePage = (path, p) => { - if (p) { - window.location.href = window.location.origin + '?p=' + p - } else { - router.push({ - path, - }) - } + window.location.href = `http://iflytop.com${path}` } const toDetail = t => { document.body.scrollTop = document.documentElement.scrollTop = 0 - window.location.href = `${window.location.origin}/design-detail?t=${t}` + router.push({ + path: '/design-detail', + query: { + t, + }, + }) } const toPage = page => { diff --git a/src/components/design/LinkCard/index.vue b/src/components/design/LinkCard/index.vue index f25ba30..b892fdd 100644 --- a/src/components/design/LinkCard/index.vue +++ b/src/components/design/LinkCard/index.vue @@ -11,7 +11,7 @@

Complete machine

-
+