|
...
|
...
|
@@ -349,4 +349,21 @@ Page({ |
|
|
|
shareDisplay(){
|
|
|
|
this.selectComponent('#share').show()
|
|
|
|
},
|
|
|
|
reserve(e){
|
|
|
|
if(this.data.seller.is_online_reserve==1){
|
|
|
|
let url=util.http_build_query({id:this.data.seller.id,activeTab:'reserve'},'./reserve')
|
|
|
|
let cid=util.attr(e,'cid')
|
|
|
|
if(cid){
|
|
|
|
url=util.http_build_query({
|
|
|
|
classID:cid,
|
|
|
|
className:util.attr(e,'cname'),
|
|
|
|
},url)
|
|
|
|
}
|
|
|
|
return wx.navigateTo({
|
|
|
|
url:url,
|
|
|
|
})
|
|
|
|
}else{
|
|
|
|
this.selectComponent('#as').show(this.data.seller);
|
|
|
|
}
|
|
|
|
},
|
|
|
|
}) |
|
|
\ No newline at end of file |
...
|
...
|
|