作者 xuqiang

提交

... ... @@ -190,7 +190,6 @@
<image @click="openLocation(item)" class="handleImg" src="../../static/image/Group_205.png" mode=""></image>
</view>
</view>
<!-- 服务信息 -->
<view class="serviceInfo">
<view class="leftEmp"></view>
<view class="service">
... ... @@ -518,10 +517,14 @@
//地图视野范围发生变化
regionchange(e) {
if(e.detail.type == 'end' || e.type == 'end'){
uni.showLoading({
title:'加载中...'
})
let _this = this
let landArr = []
_this.scale = 12.9
_this.landList = []
console.log('222222222222222222',_this.allLandList.length)
if(_this.allLandList.length > 0){
let map = uni.createMapContext('around-food-map');
    map.getRegion({
... ... @@ -572,10 +575,10 @@
index++
}
})
console.log('地图视野发生变化了',coverArr)
setTimeout(()=>{
_this.landList = landArr
_this.covers = coverArr
uni.hideLoading()
},200)
         }
    })
... ...