分享信息更新

This commit is contained in:
lanzhihui2020 2026-08-10 16:50:33 +08:00
parent b585437faf
commit a34ac7b55c

View File

@ -308,17 +308,21 @@
// skuidskuid
//
getSkuIdStock();
let shareTitle = ''
let shareIcon = ''
let shareDesc = '';
if (id.value == 118 || id.value == 332) {
shareDesc = '核心方案+专业服务团队与 AI 技术全程支持';
} else if (id.value == 178) {
shareDesc = '双证报考,自我提升 + 就业双赢';
} else if (id.value == 489) {
shareDesc = '非医非药,让你的身体学会自己"瘦"';
shareTitle = '友福同门•体重管理'
shareIcon = 'https://images.health.ufutx.com/202608/10/114e3a0d4d38049b3a0b628bb0db8dbb.jpg'
shareDesc = '轻松减 不反弹';
} else {
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}`;
shareUrl.value = text;