Commit ac2fcd2ec5d1645c3f16d53f032da665c36d7454

Authored by vking
1 parent 9f78f419

boost

... ... @@ -50,6 +50,7 @@ Page({
],
listMoreCount:0,
hasSearchLimit:false,
hasGetPos:false,
},
hasClickMoveToLocation:false,//点击回到我的位置
hasSellerConcat:hasSellerConcat,
... ... @@ -187,7 +188,7 @@ Page({
})
//this.getPos(systemInfo);
this.systemInfo=systemInfo
this.selectComponent('#getpos').getPos();
//this.selectComponent('#getpos').getPos();
if(!this.hasClickMoveToLocation){
//this.getMarkers();
//this.timeoutGetMarkers();
... ... @@ -910,5 +911,12 @@ Page({
},
boostEvent(e){
console.log('boostEvent',e)
//wx.aldstat.sendEvent( '强提醒', {...e.detail,time:parseInt(new Date()/1000)})
if(e.detail.act=='hide'){
this.setData({
hasGetPos:true,
})
this.selectComponent('#getpos').getPos();
}
},
})
\ No newline at end of file
... ...
... ... @@ -135,12 +135,12 @@
<getpos bindpos="onpos" id="getpos"></getpos>
<seller-box id="seller-box" bindevent="sellerBoxEvent"></seller-box>
<cover-view class="tab-patch"></cover-view>
<ds wx:if="{{hasSetActivity}}" map="{{map}}" id="ds"></ds>
<ds wx:if="{{hasSetActivity && hasGetPos}}" map="{{map}}" id="ds"></ds>
<a2l bindshow="a2lshow" bindhide="a2lshow" key="INDEX"></a2l>
<list id="list" bindevent="listEvent"
multiArray="{{multiArray}}" multiIndex="{{multiIndex}}" tags="{{tags}}"></list>
<caixi multiArray="{{multiArray}}" multiIndex="{{multiIndex}}"
bindactive="caixiActive" id="caixi"
></caixi>
<activity-enter hasInHome></activity-enter>
<activity-enter hasInHome wx:if="{{hasGetPos}}"></activity-enter>
<boost bindevent="boostEvent"></boost>
\ No newline at end of file
... ...