update
This commit is contained in:
parent
c1d401b943
commit
4cfc7023f6
@ -80,7 +80,7 @@
|
|||||||
<div class="ui-bug-box">
|
<div class="ui-bug-box">
|
||||||
<img class="ui-close-icon" src="https://image.fulllinkai.com/202405/16/20161b3e74af1eacd328181ff40b0358.png" alt="" @click="showBug = false" />
|
<img class="ui-close-icon" src="https://image.fulllinkai.com/202405/16/20161b3e74af1eacd328181ff40b0358.png" alt="" @click="showBug = false" />
|
||||||
<div class="ui-buy-detail-box">
|
<div class="ui-buy-detail-box">
|
||||||
<img class="ui-buy-pic" :src="icon" alt="" />
|
<img class="ui-buy-pic" :src="shareIcon || icon" alt="" />
|
||||||
<div>
|
<div>
|
||||||
<div class="ellipsis_1 font_32 color333 bold ui-buy-title">{{ title }}</div>
|
<div class="ellipsis_1 font_32 color333 bold ui-buy-title">{{ title }}</div>
|
||||||
<div>
|
<div>
|
||||||
@ -189,6 +189,8 @@
|
|||||||
const id = ref<any>('');
|
const id = ref<any>('');
|
||||||
const title = ref<any>('');
|
const title = ref<any>('');
|
||||||
const icon = ref<any>('');
|
const icon = ref<any>('');
|
||||||
|
const shareIcon = ref<any>('');
|
||||||
|
const sharePosterDesc = ref<any>('');
|
||||||
const policyId = ref<any>('');
|
const policyId = ref<any>('');
|
||||||
const policyTitle = ref<any>('');
|
const policyTitle = ref<any>('');
|
||||||
const banner = ref<any[]>([]); // 轮播图
|
const banner = ref<any[]>([]); // 轮播图
|
||||||
@ -309,7 +311,7 @@
|
|||||||
// 获取库存数据后设置默认选中
|
// 获取库存数据后设置默认选中
|
||||||
getSkuIdStock();
|
getSkuIdStock();
|
||||||
let shareTitle = ''
|
let shareTitle = ''
|
||||||
let shareIcon = ''
|
shareIcon.value = ''
|
||||||
let shareDesc = '';
|
let shareDesc = '';
|
||||||
if (id.value == 118 || id.value == 332) {
|
if (id.value == 118 || id.value == 332) {
|
||||||
shareDesc = '核心方案+专业服务团队与 AI 技术全程支持';
|
shareDesc = '核心方案+专业服务团队与 AI 技术全程支持';
|
||||||
@ -317,12 +319,13 @@
|
|||||||
shareDesc = '双证报考,自我提升 + 就业双赢';
|
shareDesc = '双证报考,自我提升 + 就业双赢';
|
||||||
} else if (id.value == 489) {
|
} else if (id.value == 489) {
|
||||||
shareTitle = '友福同享•体重管理'
|
shareTitle = '友福同享•体重管理'
|
||||||
shareIcon = 'https://images.health.ufutx.com/202608/10/114e3a0d4d38049b3a0b628bb0db8dbb.jpg'
|
shareIcon.value = 'https://images.health.ufutx.com/202608/10/114e3a0d4d38049b3a0b628bb0db8dbb.jpg'
|
||||||
shareDesc = '轻松减 不反弹';
|
shareDesc = '轻松减 不反弹';
|
||||||
|
sharePosterDesc.value = '轻松减 不反弹'
|
||||||
} else {
|
} else {
|
||||||
shareDesc = '🌟 友福同享严选好物 →';
|
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}`);
|
weXinShare(`${shareIcon.value || 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