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