xiaoe_mp_npm 0.5.24 → 0.5.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -159,9 +159,11 @@ Component({
|
|
|
159
159
|
if (!Object.keys(data.goodsItem).length) {
|
|
160
160
|
return ''
|
|
161
161
|
} else {
|
|
162
|
+
// 商品带货链接需拼接多一个aliveId
|
|
163
|
+
const aliveId = data.aliveInfo.alive_id
|
|
162
164
|
let url = data.goodsItem.target_url.replaceAll('&', "@")
|
|
163
165
|
let url2 = url.replaceAll('?', "$")
|
|
164
|
-
return `${data.page_path}?type=1&link=${url2}&title=${data.goodsItem.title}`
|
|
166
|
+
return `${data.page_path}?type=1&link=${url2}@aliveId=${aliveId}&title=${data.goodsItem.title}`
|
|
165
167
|
}
|
|
166
168
|
},
|
|
167
169
|
isStudent(properties) {
|
package/package.json
CHANGED
package/src/GoodsItem/index.js
CHANGED
|
@@ -159,9 +159,11 @@ Component({
|
|
|
159
159
|
if (!Object.keys(data.goodsItem).length) {
|
|
160
160
|
return ''
|
|
161
161
|
} else {
|
|
162
|
+
// 商品带货链接需拼接多一个aliveId
|
|
163
|
+
const aliveId = data.aliveInfo.alive_id
|
|
162
164
|
let url = data.goodsItem.target_url.replaceAll('&', "@")
|
|
163
165
|
let url2 = url.replaceAll('?', "$")
|
|
164
|
-
return `${data.page_path}?type=1&link=${url2}&title=${data.goodsItem.title}`
|
|
166
|
+
return `${data.page_path}?type=1&link=${url2}@aliveId=${aliveId}&title=${data.goodsItem.title}`
|
|
165
167
|
}
|
|
166
168
|
},
|
|
167
169
|
isStudent(properties) {
|