fix: 分享页面调整
This commit is contained in:
parent
23d8fbd88a
commit
dc89880bfd
@ -329,6 +329,7 @@ onShareAppMessage(() => {
|
|||||||
return {
|
return {
|
||||||
title: `【${team.value.name}】这个团队不错,推荐给你!`,
|
title: `【${team.value.name}】这个团队不错,推荐给你!`,
|
||||||
type: shareAppVersion || 0, // 0 正式版本 | 1 开发版本 | 2 体验版本
|
type: shareAppVersion || 0, // 0 正式版本 | 1 开发版本 | 2 体验版本
|
||||||
|
imageUrl: 'https://ykt.youcan365.com/uploads/1789640487854-team.jpg',
|
||||||
path: `/pages/login/redirect-page?teamId=${team.value.teamId}&corpId=${team.value.corpId}&type=archive&referenceCustomerId=${referenceCustomerId}`
|
path: `/pages/login/redirect-page?teamId=${team.value.teamId}&corpId=${team.value.corpId}&type=archive&referenceCustomerId=${referenceCustomerId}`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -342,6 +343,18 @@ watch(account, async (n, o) => {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
watch(team, n => {
|
||||||
|
if (n && n.supportPatientForward === 'YES') {
|
||||||
|
uni.showShareMenu({
|
||||||
|
menus: ['shareAppMessage']
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
wx.hideShareMenu({
|
||||||
|
menus: ['shareAppMessage'] // 隐藏"转发"按钮
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
|||||||
@ -142,6 +142,7 @@ onShareAppMessage((res) => {
|
|||||||
return {
|
return {
|
||||||
title: `【${team.value.name}】这个团队不错,推荐给你!`,
|
title: `【${team.value.name}】这个团队不错,推荐给你!`,
|
||||||
type: shareAppVersion || 0, // 0 正式版本 | 1 开发版本 | 2 体验版本
|
type: shareAppVersion || 0, // 0 正式版本 | 1 开发版本 | 2 体验版本
|
||||||
|
imageUrl: 'https://ykt.youcan365.com/uploads/1789640487854-team.jpg',
|
||||||
path: `/pages/login/redirect-page?teamId=${team.value.teamId}&corpId=${team.value.corpId}&type=archive&referenceCustomerId=${referenceCustomerId}`
|
path: `/pages/login/redirect-page?teamId=${team.value.teamId}&corpId=${team.value.corpId}&type=archive&referenceCustomerId=${referenceCustomerId}`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -151,6 +152,18 @@ watch(memberList, n => {
|
|||||||
list.value = n
|
list.value = n
|
||||||
}, { immediate: true })
|
}, { immediate: true })
|
||||||
|
|
||||||
|
watch(team, n => {
|
||||||
|
if (n && n.supportPatientForward === 'YES') {
|
||||||
|
uni.showShareMenu({
|
||||||
|
menus: ['shareAppMessage']
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
wx.hideShareMenu({
|
||||||
|
menus: ['shareAppMessage'] // 隐藏"转发"按钮
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<style>
|
<style>
|
||||||
page {
|
page {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user