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