Commit 8b11da96011a6c1a166c3d4daa2688aeb80f897f

Authored by wangfan
1 parent dde45fb7

c端预定

... ... @@ -126,14 +126,18 @@ Page({
},
follow(e){
console.log('收藏',e)
let param={
sid:this.options.id,
openid:getApp().openid,
}
if(this.data.IsCollectionSeller){//已收藏
param.cancel=1
}
this.setData({
IsCollectionSeller:!this.data.IsCollectionSeller
})
if(this.data.IsCollectionSeller){//已收藏
}else{
}
App.Customer.SetCollectionRel(param);
},
getPos(){
this._getPos().then(res => {
... ...
... ... @@ -172,4 +172,7 @@ export default {
//是否收藏
'App.Customer.IsCollectionSeller':null,
//顾客收藏、取消收藏店铺
'App.Customer.SetCollectionRel':null,
}
\ No newline at end of file
... ...