|
|
@ -20,6 +20,7 @@ |
|
|
|
<div class="btn" @click="toPage('/factory')">工厂展示</div> |
|
|
|
<div class="btn" @click="toPage('/mobile/design')">工业设计</div> |
|
|
|
<div class="btn" @click="toPage('/mobile/hardware')">软硬件研发</div> |
|
|
|
<div class="btn" @click="toPage('/mobile/metal')">加工生产</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -46,6 +47,10 @@ const toPage = path => { |
|
|
|
window.location.href = 'https://iflytop.com/mobile/hardware' |
|
|
|
return |
|
|
|
} |
|
|
|
if (path == '/mobile/metal') { |
|
|
|
window.location.href = 'https://iflytop.com/mobile/metal' |
|
|
|
return |
|
|
|
} |
|
|
|
const origin = window.location.origin |
|
|
|
const pathname = window.location.pathname |
|
|
|
const p = `${origin}${pathname}#${path}` |
|
|
|