Commit d3e7967a6f87bc9e7b626587e1a20221d2f345c7

Authored by vking
1 parent f5c67c1b

fix 预订loading bug

@@ -205,7 +205,7 @@ @@ -205,7 +205,7 @@
205 205
206 </view> 206 </view>
207 <as id="as" items="{{seller.seller_tel}}" bindclick="reservePhone" hasTip="{{false}}"></as> 207 <as id="as" items="{{seller.seller_tel}}" bindclick="reservePhone" hasTip="{{false}}"></as>
208 - <getpos bindpos="onpos" id="getpos"></getpos> 208 + <getpos bindpos="onpos" id="getpos" hasAllowLoading="{{false}}"></getpos>
209 <discount id="discount" seller="{{seller}}" bindhide="discountHide" bindshow="discountShow"></discount> 209 <discount id="discount" seller="{{seller}}" bindhide="discountHide" bindshow="discountShow"></discount>
210 <share id="share" seller_id="{{seller.id}}" seller="{{seller}}" wx:if="{{seller.id}}"></share> 210 <share id="share" seller_id="{{seller.id}}" seller="{{seller}}" wx:if="{{seller.id}}"></share>
211 </view> 211 </view>
@@ -228,7 +228,7 @@ Page({ @@ -228,7 +228,7 @@ Page({
228 onpos(e){ 228 onpos(e){
229 console.log('onpos',e); 229 console.log('onpos',e);
230 let res=e.detail; 230 let res=e.detail;
231 - if(!res.latitude) return; 231 + if(!res.latitude) return this.timeoutGetMarkers();
232 this.hasGetLocation=true; 232 this.hasGetLocation=true;
233 this.sellersIds=[] 233 this.sellersIds=[]
234 this.sellers=[] 234 this.sellers=[]