revert Merge branch 'main' of http://47.107.152.87:3000/liubiao/APP # Conflicts: # .gitignore # pages/common/index/index.vue # unpackage/dist/dev/app-plus/app-config-service.js # unpackage/dist/dev/app-plus/app-service.js # unpackage/dist/dev/app-plus/app-view.js # unpackage/dist/dev/app-plus/manifest.json # utils/request.js
37 lines
545 B
Vue
37 lines
545 B
Vue
<template>
|
|
<view class="page-section page-section-gap">
|
|
<map class="map" :latitude="latitude" :longitude="longitude":show-location="true"
|
|
:markers="covers">
|
|
</map>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
id: 0, // 使用 marker点击事件 需要填写id
|
|
title: 'map',
|
|
latitude: 39.909,
|
|
longitude: 116.39742,
|
|
covers: [{
|
|
latitude: 39.909,
|
|
longitude: 116.39742,
|
|
|
|
}],
|
|
|
|
}
|
|
},
|
|
methods: {
|
|
|
|
}
|
|
}
|
|
</script>
|
|
|
|
|
|
<style>
|
|
.map {
|
|
width: 100%;
|
|
height: 100vh;
|
|
}
|
|
</style> |