|
@@ -1,6 +1,7 @@
|
|
|
<template>
|
|
|
- <view class="wrap">
|
|
|
- <u-empty src="/static/img/empty.png" icon-size="335" text="正在建设中" color="#878787" mode="search"></u-empty>
|
|
|
+ <view>
|
|
|
+ <map style="width: 100%; height: 100vh;" :latitude="latitude" :longitude="longitude" :markers="covers"></map>
|
|
|
+ <!-- <u-empty src="/static/img/empty.png" icon-size="335" text="正在建设中" color="#878787" mode="search"></u-empty> -->
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
@@ -8,6 +9,17 @@
|
|
|
export default{
|
|
|
data(){
|
|
|
return{
|
|
|
+ latitude: 26.605849,
|
|
|
+ longitude: 106.728733,
|
|
|
+ covers: [{
|
|
|
+ latitude: 26.604745,
|
|
|
+ longitude: 106.724332,
|
|
|
+ iconPath: 'https://www.baidu.com/img/flexible/logo/pc/result.png'
|
|
|
+ }, {
|
|
|
+ latitude: 39.90,
|
|
|
+ longitude: 116.39,
|
|
|
+ // iconPath: '../../../static/location.png'
|
|
|
+ }]
|
|
|
|
|
|
}
|
|
|
},
|