Commit e1a2a5ac489af05f505d8a3332949dc9d47e4a00

Authored by vking
1 parent 3233ae18

商家红包活动

Showing 1 changed file with 15 additions and 7 deletions
... ... @@ -16,11 +16,13 @@ Page({
*/
onLoad: function (options) {
this.options=options
this.setData({
seller:{
id:options.sid
}
})
if(options.sid){
this.setData({
seller:{
id:options.sid
}
})
}
//this.GetBalance()
},
... ... @@ -93,10 +95,16 @@ Page({
checkout.subsidy_price=subsidy_price.toFixed(2)
}
}
this.setData({
let obj={
checkout:checkout,
hasLoading:false,
})
}
if(!this.data.seller){
obj.seller={
id:checkout.sid
}
}
this.setData(obj)
})
},
is_wine:0,
... ...