分享信息更新
This commit is contained in:
parent
b585437faf
commit
a34ac7b55c
@ -308,17 +308,21 @@
|
|||||||
// 根据循环出所有的skuid获取每一个skuid的库存
|
// 根据循环出所有的skuid获取每一个skuid的库存
|
||||||
// 获取库存数据后设置默认选中
|
// 获取库存数据后设置默认选中
|
||||||
getSkuIdStock();
|
getSkuIdStock();
|
||||||
|
let shareTitle = ''
|
||||||
|
let shareIcon = ''
|
||||||
let shareDesc = '';
|
let shareDesc = '';
|
||||||
if (id.value == 118 || id.value == 332) {
|
if (id.value == 118 || id.value == 332) {
|
||||||
shareDesc = '核心方案+专业服务团队与 AI 技术全程支持';
|
shareDesc = '核心方案+专业服务团队与 AI 技术全程支持';
|
||||||
} else if (id.value == 178) {
|
} else if (id.value == 178) {
|
||||||
shareDesc = '双证报考,自我提升 + 就业双赢';
|
shareDesc = '双证报考,自我提升 + 就业双赢';
|
||||||
} else if (id.value == 489) {
|
} else if (id.value == 489) {
|
||||||
shareDesc = '非医非药,让你的身体学会自己"瘦"';
|
shareTitle = '友福同门•体重管理'
|
||||||
|
shareIcon = 'https://images.health.ufutx.com/202608/10/114e3a0d4d38049b3a0b628bb0db8dbb.jpg'
|
||||||
|
shareDesc = '轻松减 不反弹';
|
||||||
} else {
|
} else {
|
||||||
shareDesc = '🌟 友福同享严选好物 →';
|
shareDesc = '🌟 友福同享严选好物 →';
|
||||||
}
|
}
|
||||||
weXinShare(`${result.spu.icon}`, `https://health.ufutx.cn/go_html/store_common#/shopDetail/${id.value}?from_user_id=${userStore.userID}&from_type=rt_${id.value}`, `${result.spu.title}`, `${shareDesc}`);
|
weXinShare(`${shareIcon || result.spu.icon}`, `https://health.ufutx.cn/go_html/store_common#/shopDetail/${id.value}?from_user_id=${userStore.userID}&from_type=rt_${id.value}`, `${shareTitle || result.spu.title}`, `${shareDesc}`);
|
||||||
|
|
||||||
let text = `https://health.ufutx.cn/go_html/store_common#/shopDetail/${id.value}?from_user_id=${userStore.userID}&from_type=rt_${id.value}`;
|
let text = `https://health.ufutx.cn/go_html/store_common#/shopDetail/${id.value}?from_user_id=${userStore.userID}&from_type=rt_${id.value}`;
|
||||||
shareUrl.value = text;
|
shareUrl.value = text;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user