Browse Source

pages

master
maochaoying 2 years ago
parent
commit
d31624dcbc
  1. 8
      src/components/Bottom.vue
  2. 5
      src/components/SubNavigation.vue
  3. 5
      src/components/Top.vue

8
src/components/Bottom.vue

@ -1,7 +1,7 @@
<template>
<div :class="isDrag ? 'bottom_container drag' : 'bottom_container'">
<img :src="getData()" class="bottom_img" alt="" />
<div class="btn1"></div>
<div class="btn1" @click="toService"></div>
<div class="btn2" @click="toPhone"></div>
<div
class="btn3 copy"
@ -29,6 +29,12 @@ const props = defineProps({
},
})
const toService = () => {
window.open(
'https://affim.baidu.com/unique_40873323/chat?siteId=18103961&userId=40873323&siteToken=aead83b1b0f20ee468cdb1a81eb2e9c8&cp=http%3A%2F%2Fwww.iflytop.com&cr=&cw=',
)
}
const getData = () => {
return BottomBackground2
}

5
src/components/SubNavigation.vue

@ -20,6 +20,7 @@
<div class="btn" @click="toPage('/factory')">工厂展示</div>
<div class="btn" @click="toPage('/hardware')">软硬件研发</div>
<div class="btn" @click="toPage('/metal')">加工生产</div>
<div class="btn" @click="toPage('/onestep')">整机开发</div>
<!-- <div class="btn" @click="toPage('/product')">产品研发</div> -->
</div>
</div>
@ -50,6 +51,10 @@ const toPage = path => {
window.location.href = 'https://iflytop.com/mobile/metal/#/'
return
}
if (path == '/onestep') {
window.location.href = 'https://iflytop.com/mobile/onestep/#/'
return
}
window.location.href = p
drawer.value = false
}

5
src/components/Top.vue

@ -32,6 +32,7 @@
<div class="btn" @click="toPage('/factory')">工厂展示</div>
<div class="btn" @click="toPage('/hardware')">软硬件研发</div>
<div class="btn" @click="toPage('/metal')">加工生产</div>
<div class="btn" @click="toPage('/onestep')">整机开发</div>
<!-- <div class="btn" @click="toPage('/product')">产品研发</div> -->
</div>
</div>
@ -80,6 +81,10 @@ const toPage = path => {
window.location.href = 'https://iflytop.com/mobile/metal/#/'
return
}
if (path == '/onestep') {
window.location.href = 'https://iflytop.com/mobile/onestep/#/'
return
}
window.location.href = p
drawer.value = false
}

Loading…
Cancel
Save