You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
816 B
39 lines
816 B
5 years ago
|
<template>
|
||
|
<view>
|
||
|
<view class="page-body">
|
||
|
<view class="page-section page-section-gap">
|
||
|
<map style="width: 100%; height: 400px;" :latitude="latitude" :longitude="longitude" :markers="covers">
|
||
|
</map>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
data() {
|
||
|
return {
|
||
|
title: 'map',
|
||
|
latitude: 39.909,
|
||
|
longitude: 116.39742,
|
||
|
covers: [{
|
||
|
latitude: 41.909,
|
||
|
longitude: 117.39742,
|
||
|
iconPath: '/static/location_active.png'
|
||
|
}, {
|
||
|
latitude: 39.90,
|
||
|
longitude: 116.39,
|
||
|
iconPath: '/static/location_active.png'
|
||
|
}]
|
||
|
}
|
||
|
},
|
||
|
methods: {
|
||
|
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style>
|
||
|
|
||
|
</style>
|