Commit 6d68b9904d30001c461121f2203c6ed513ccb8be

Authored by vking
1 parent 7cdb2e5b

search

Showing 1 changed file with 23 additions and 0 deletions
... ... @@ -292,4 +292,27 @@ Page({
})
})
},
hasGoto:false,
bindtransition(e){
console.log(e)
if('change'==e.type){
this.hasGoto=false
}
if('animationfinish'==e.type){
if(this.hasGoto && (e.detail.current+1)==this.data.rsl.length){
wx.switchTab({
url: '/pages/reserve/index'
})
return;
}else{
this.hasGoto=true
}
}
},
gotoSellerDetail(e){
let url='/pages/reserve/detail?id='+e.currentTarget.id
wx.navigateTo({
url:url,
})
},
})
\ No newline at end of file
... ...