diff --git a/src/components/NewBottom.vue b/src/components/NewBottom.vue
index 92049ea..df396f9 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/SoftHardware/Header/index.vue b/src/components/SoftHardware/Header/index.vue
index 00f83b7..0ce5532 100644
--- a/src/components/SoftHardware/Header/index.vue
+++ b/src/components/SoftHardware/Header/index.vue
@@ -46,8 +46,8 @@
不止于此
-
工业设计
-
加工生产
+
工业设计
+
加工生产
整机开发
@@ -99,17 +99,11 @@ 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}/softdetail?t=${t}`
+ window.location.href = `${window.location.origin}/pc-hardware/#/softdetail?t=${t}`
}
const toPage = page => {
diff --git a/src/components/SoftHardware/LinkCard/index.vue b/src/components/SoftHardware/LinkCard/index.vue
index 4e3b71a..36ff4b6 100644
--- a/src/components/SoftHardware/LinkCard/index.vue
+++ b/src/components/SoftHardware/LinkCard/index.vue
@@ -13,7 +13,7 @@
-
+
工业设计
@@ -40,13 +40,7 @@ const router = useRouter()
const route = useRoute()
const toPage = (path, p) => {
- if (p) {
- window.location.href = window.location.origin + '?p=' + p
- } else {
- router.push({
- path,
- })
- }
+ window.location.href = `http://iflytop.com${path}`
}