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