|
...
|
...
|
@@ -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 |
...
|
...
|
|