update
This commit is contained in:
parent
0ab8a34728
commit
89fc67eda1
@ -190,6 +190,7 @@
|
|||||||
const title = ref<any>('');
|
const title = ref<any>('');
|
||||||
const icon = ref<any>('');
|
const icon = ref<any>('');
|
||||||
const shareIcon = ref<any>('');
|
const shareIcon = ref<any>('');
|
||||||
|
const shareIconV2 = ref<any>('');
|
||||||
const sharePosterDesc = ref<any>('');
|
const sharePosterDesc = ref<any>('');
|
||||||
const policyId = ref<any>('');
|
const policyId = ref<any>('');
|
||||||
const policyTitle = ref<any>('');
|
const policyTitle = ref<any>('');
|
||||||
@ -310,18 +311,19 @@
|
|||||||
// 根据循环出所有的skuid获取每一个skuid的库存
|
// 根据循环出所有的skuid获取每一个skuid的库存
|
||||||
// 获取库存数据后设置默认选中
|
// 获取库存数据后设置默认选中
|
||||||
getSkuIdStock();
|
getSkuIdStock();
|
||||||
let shareTitle = ''
|
let shareTitle = '';
|
||||||
shareIcon.value = ''
|
shareIcon.value = '';
|
||||||
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) {
|
||||||
shareTitle = '友福同享•体重管理'
|
shareTitle = '友福同享•体重管理';
|
||||||
shareIcon.value = 'https://images.health.ufutx.com/202608/11/e2cd3393a41a54fe00d6f446fc7e1826.jpg'
|
shareIcon.value = 'https://images.health.ufutx.com/202608/11/e2cd3393a41a54fe00d6f446fc7e1826.jpg';
|
||||||
|
shareIconV2.value = 'https://images.health.ufutx.com/202608/11/709b4e9a3e7eeedfeebdf20e0f50977f.jpg';
|
||||||
shareDesc = '轻松减 不反弹';
|
shareDesc = '轻松减 不反弹';
|
||||||
sharePosterDesc.value = '轻松减 不反弹'
|
sharePosterDesc.value = '轻松减 不反弹';
|
||||||
} else {
|
} else {
|
||||||
shareDesc = '🌟 友福同享严选好物 →';
|
shareDesc = '🌟 友福同享严选好物 →';
|
||||||
}
|
}
|
||||||
@ -347,7 +349,7 @@
|
|||||||
canvasData.value.avatar = res;
|
canvasData.value.avatar = res;
|
||||||
});
|
});
|
||||||
// 分享活动图片转base64
|
// 分享活动图片转base64
|
||||||
imageConversion(`${shareIcon.value || result.spu.icon}`).then((res) => {
|
imageConversion(`${shareIconV2.value || result.spu.icon}`).then((res) => {
|
||||||
canvasData.value.pic = res;
|
canvasData.value.pic = res;
|
||||||
});
|
});
|
||||||
console.log(result);
|
console.log(result);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user