|
|
@ -46,8 +46,8 @@ |
|
|
|
<div class="btn service"> |
|
|
|
<p class="text">不止于此</p> |
|
|
|
<div class="select_modal"> |
|
|
|
<p class="b" @click="toHomePage('/softhard')">软硬件开发</p> |
|
|
|
<p class="b" @click="toHomePage('/metal')">加工生产</p> |
|
|
|
<p class="b" @click="toHomePage('/pc-hardware')">软硬件开发</p> |
|
|
|
<p class="b" @click="toHomePage('/pc-metal')">加工生产</p> |
|
|
|
<p class="b" @click="toHomePage('/')">整机开发</p> |
|
|
|
<!-- <p class="b" @click="toHomePage('/medical')">医疗健康</p> --> |
|
|
|
</div> |
|
|
@ -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 => { |
|
|
|