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