去掉map组件
This commit is contained in:
BIN
public/static/images/link/map.png
Normal file
BIN
public/static/images/link/map.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 282 KiB |
@ -2,10 +2,16 @@
|
|||||||
import {ref, onMounted} from 'vue'
|
import {ref, onMounted} from 'vue'
|
||||||
import Swiper from '@/components/Swiper/index.vue'
|
import Swiper from '@/components/Swiper/index.vue'
|
||||||
import Banner from '@/components/Banner/index.vue'
|
import Banner from '@/components/Banner/index.vue'
|
||||||
import Map from './map.vue'
|
// import Map from './map.vue'
|
||||||
|
|
||||||
const currentPage = ref(1)
|
const currentPage = ref(1)
|
||||||
|
|
||||||
|
const toCompany = () => {
|
||||||
|
window.open(
|
||||||
|
'https://www.amap.com/search?query=%E7%87%83%E8%B0%B7%E7%A7%91%E6%8A%80(%E5%8D%97%E4%BA%AC)%E6%9C%89%E9%99%90%E5%85%AC%E5%8F%B8'
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
onMounted(() => {})
|
onMounted(() => {})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@ -30,9 +36,7 @@ onMounted(() => {})
|
|||||||
<div class="label">邮箱:company@rangutech.com</div>
|
<div class="label">邮箱:company@rangutech.com</div>
|
||||||
<div class="label">地址:江苏省南京市鼓楼区万谷硅巷9F</div>
|
<div class="label">地址:江苏省南京市鼓楼区万谷硅巷9F</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="img">
|
<img class="img" src="/static/images/link/map.png" @click="toCompany"></img>
|
||||||
<Map />
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</Swiper>
|
</Swiper>
|
||||||
@ -52,6 +56,7 @@ onMounted(() => {})
|
|||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
.title {
|
.title {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
margin-top: 40px;
|
||||||
.label {
|
.label {
|
||||||
font-family: 'PingFang SC';
|
font-family: 'PingFang SC';
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
@ -65,8 +70,9 @@ onMounted(() => {})
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.img {
|
.img {
|
||||||
width: 500px;
|
width: 520px;
|
||||||
height: 300px;
|
height: 380px;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user