|
@@ -62,10 +62,10 @@ Component({
|
|
|
pageLifetimes: {
|
|
|
// 组件所在页面的生命周期函数
|
|
|
show: function () {
|
|
|
- console.log('pageLifetimes goods_id = ', this.properties.goods_id)
|
|
|
+ console.log('pageLifetimes show goods_id = ', this.properties.goods_id)
|
|
|
},
|
|
|
hide: function () {
|
|
|
- console.log('pageLifetimes goods_id = ', this.properties.goods_id)
|
|
|
+ console.log('pageLifetimes hide goods_id = ', this.properties.goods_id)
|
|
|
},
|
|
|
resize: function () { },
|
|
|
},
|
|
@@ -119,15 +119,14 @@ Component({
|
|
|
op: 'goods_share',
|
|
|
goods_id: goods_id,
|
|
|
}, (res) => {
|
|
|
- console.log('res:', res)
|
|
|
+ console.log('res:', res)
|
|
|
if (res.code == 200) {
|
|
|
if (res.datas) {
|
|
|
let invitess = res.datas.invitess
|
|
|
let policy = res.datas.policy
|
|
|
let tip_title = res.datas.tip_title
|
|
|
let tip_num = res.datas.tip_num
|
|
|
- this.setData({ tip_title,tip_num,invitess, policy })
|
|
|
-
|
|
|
+ this.setData({ tip_title,tip_num,invitess, policy })
|
|
|
}
|
|
|
}
|
|
|
this.fGoodsRequesting = false
|