Commit d3581c014fa3c950af92cb2e04bf1b781e4f5f32

Authored by wangfan
1 parent 0139f2c9

C端调整

@@ -224,11 +224,7 @@ Page({ @@ -224,11 +224,7 @@ Page({
224 console.log('regionchange.getRegion',res) 224 console.log('regionchange.getRegion',res)
225 if((res.southwest.latitude!=this.mapData.region.southwest.latitude) || this.data.hasSuggestion) { 225 if((res.southwest.latitude!=this.mapData.region.southwest.latitude) || this.data.hasSuggestion) {
226 this.mapData.region = res 226 this.mapData.region = res
227 - if(this.data.hasSuggestion){  
228 - this.getMarkers();  
229 - }else{  
230 - this.timeoutGetMarkers();  
231 - } 227 + this.timeoutGetMarkers();
232 } 228 }
233 }, 229 },
234 }) 230 })
@@ -241,7 +237,7 @@ Page({ @@ -241,7 +237,7 @@ Page({
241 } 237 }
242 this.setTimeoutGetMarkers=setTimeout(()=>{ 238 this.setTimeoutGetMarkers=setTimeout(()=>{
243 this.getMarkers(); 239 this.getMarkers();
244 - },800) 240 + },500)
245 }, 241 },
246 mapUpdated(e){ 242 mapUpdated(e){
247 console.log('mapUpdated', e) 243 console.log('mapUpdated', e)
@@ -106,6 +106,8 @@ @@ -106,6 +106,8 @@
106 line-height: 60rpx; 106 line-height: 60rpx;
107 height: 60rpx; 107 height: 60rpx;
108 overflow: hidden; 108 overflow: hidden;
  109 + width: 100%;
  110 + text-align: left;
109 } 111 }
110 .empty-txt{ 112 .empty-txt{
111 height: 300rpx; 113 height: 300rpx;