|
|
@ -226,7 +226,8 @@ |
|
|
route: 'goods', |
|
|
route: 'goods', |
|
|
pt: 2, |
|
|
pt: 2, |
|
|
id: this.goods_id, |
|
|
id: this.goods_id, |
|
|
share_id: userInfo.id |
|
|
|
|
|
|
|
|
share_id: userInfo.id, |
|
|
|
|
|
scene_code: this.$scene.V2_GOODS_SHAREPOSTER |
|
|
} |
|
|
} |
|
|
this.generateKooken(token, options); // 谁分享了就生成一个token |
|
|
this.generateKooken(token, options); // 谁分享了就生成一个token |
|
|
|
|
|
|
|
|
@ -501,7 +502,9 @@ |
|
|
}, |
|
|
}, |
|
|
// 将token上传到后端 |
|
|
// 将token上传到后端 |
|
|
generateKooken(token, options){ |
|
|
generateKooken(token, options){ |
|
|
|
|
|
options.version = this.API.VERSION; |
|
|
let values = JSON.stringify(options); |
|
|
let values = JSON.stringify(options); |
|
|
|
|
|
values = encodeURIComponent(values); |
|
|
this.$http(this.API.API_WAREHOUSE_SET, { |
|
|
this.$http(this.API.API_WAREHOUSE_SET, { |
|
|
key: token, |
|
|
key: token, |
|
|
value: values |
|
|
value: values |
|
|
@ -515,7 +518,8 @@ |
|
|
let goods = this.goods_detail; |
|
|
let goods = this.goods_detail; |
|
|
let options = { |
|
|
let options = { |
|
|
id: goods.id, |
|
|
id: goods.id, |
|
|
route: 'goods' |
|
|
|
|
|
|
|
|
route: 'goods', |
|
|
|
|
|
scene_code: this.$scene.V2_GOODS_SHAREPOSTER |
|
|
} |
|
|
} |
|
|
this.generateKooken(token, options); // 谁分享了就生成一个token |
|
|
this.generateKooken(token, options); // 谁分享了就生成一个token |
|
|
|
|
|
|
|
|
@ -844,7 +848,8 @@ |
|
|
width: 80%; |
|
|
width: 80%; |
|
|
height: 80%; |
|
|
height: 80%; |
|
|
position: fixed; |
|
|
position: fixed; |
|
|
top: 50rpx; |
|
|
|
|
|
|
|
|
// top: 50rpx; |
|
|
|
|
|
top: 140rpx; |
|
|
left: 50%; |
|
|
left: 50%; |
|
|
margin-left: -40%; |
|
|
margin-left: -40%; |
|
|
z-index: 100; |
|
|
z-index: 100; |
|
|
@ -858,7 +863,7 @@ |
|
|
line-height: 80rpx; |
|
|
line-height: 80rpx; |
|
|
text-align: center; |
|
|
text-align: center; |
|
|
position: fixed; |
|
|
position: fixed; |
|
|
bottom: 50rpx; |
|
|
|
|
|
|
|
|
bottom: 100rpx; |
|
|
left: 10%; |
|
|
left: 10%; |
|
|
background: rgba(254, 153, 3, 1); |
|
|
background: rgba(254, 153, 3, 1); |
|
|
color: #fff; |
|
|
color: #fff; |
|
|
|