This commit is contained in:
lanzhihui2020 2026-08-11 18:16:00 +08:00
parent 0ab8a34728
commit 89fc67eda1

View File

@ -190,6 +190,7 @@
const title = ref<any>('');
const icon = ref<any>('');
const shareIcon = ref<any>('');
const shareIconV2 = ref<any>('');
const sharePosterDesc = ref<any>('');
const policyId = ref<any>('');
const policyTitle = ref<any>('');
@ -310,18 +311,19 @@
// skuidskuid
//
getSkuIdStock();
let shareTitle = ''
shareIcon.value = ''
let shareTitle = '';
shareIcon.value = '';
let shareDesc = '';
if (id.value == 118 || id.value == 332) {
shareDesc = '核心方案+专业服务团队与 AI 技术全程支持';
} else if (id.value == 178) {
shareDesc = '双证报考,自我提升 + 就业双赢';
} else if (id.value == 489) {
shareTitle = '友福同享•体重管理'
shareIcon.value = 'https://images.health.ufutx.com/202608/11/e2cd3393a41a54fe00d6f446fc7e1826.jpg'
} else if (id.value == 489) {
shareTitle = '友福同享•体重管理';
shareIcon.value = 'https://images.health.ufutx.com/202608/11/e2cd3393a41a54fe00d6f446fc7e1826.jpg';
shareIconV2.value = 'https://images.health.ufutx.com/202608/11/709b4e9a3e7eeedfeebdf20e0f50977f.jpg';
shareDesc = '轻松减 不反弹';
sharePosterDesc.value = '轻松减 不反弹'
sharePosterDesc.value = '轻松减 不反弹';
} else {
shareDesc = '🌟 友福同享严选好物 →';
}
@ -347,7 +349,7 @@
canvasData.value.avatar = res;
});
// base64
imageConversion(`${shareIcon.value || result.spu.icon}`).then((res) => {
imageConversion(`${shareIconV2.value || result.spu.icon}`).then((res) => {
canvasData.value.pic = res;
});
console.log(result);