This commit is contained in:
18631081161 2026-04-09 14:38:35 +08:00
parent 372645da15
commit 556b6eee39
5 changed files with 57 additions and 5 deletions

View File

@ -15,7 +15,9 @@
computed
} from 'vue'
import {
onLoad
onLoad,
onShareAppMessage,
onShareTimeline
} from '@dcloudio/uni-app'
import {
useUserStore
@ -500,6 +502,16 @@
checkPendingRecord()
}
})
//
onShareAppMessage(() => ({
title: '学业邑规划 - 多元智能测评',
path: '/pages/assessment/info/index'
}))
onShareTimeline(() => ({
title: '学业邑规划 - 多元智能测评'
}))
</script>
<template>

View File

@ -4,7 +4,7 @@
* 展示业务详情长图和参与按钮
*/
import { ref, computed, onMounted } from 'vue'
import { onLoad } from '@dcloudio/uni-app'
import { onLoad, onShareAppMessage, onShareTimeline } from '@dcloudio/uni-app'
import { useNavbar } from '@/composables/useNavbar.js'
import { getBusinessDetail } from '@/api/business.js'
import Loading from '@/components/Loading/index.vue'
@ -105,6 +105,16 @@ onLoad((options) => {
businessId.value = options.id || options.businessId
loadBusinessDetail()
})
//
onShareAppMessage(() => ({
title: '学业邑规划 - 业务详情',
path: `/pages/business/detail/index?id=${businessId.value}`
}))
onShareTimeline(() => ({
title: '学业邑规划 - 业务详情'
}))
</script>
<template>

View File

@ -135,7 +135,7 @@
<script setup>
import { ref, onMounted } from 'vue'
import { onLoad } from '@dcloudio/uni-app'
import { onLoad, onShareAppMessage, onShareTimeline } from '@dcloudio/uni-app'
import { useUserStore } from '@/store/user.js'
import { useNavbar } from '@/composables/useNavbar.js'
import { getBannerList, getNavigationList } from '@/api/home.js'
@ -326,6 +326,16 @@ onLoad((options) => {
onMounted(() => {
initPageData()
})
//
onShareAppMessage(() => ({
title: '学业邑规划 - 智能学业规划测评',
path: '/pages/index/index'
}))
onShareTimeline(() => ({
title: '学业邑规划 - 智能学业规划测评'
}))
</script>
<style lang="scss" scoped>

View File

@ -88,7 +88,7 @@
* 展示规划师卡片照片姓名职称标签价格
*/
import { ref, onMounted } from 'vue'
import { onPullDownRefresh } from '@dcloudio/uni-app'
import { onPullDownRefresh, onShareAppMessage, onShareTimeline } from '@dcloudio/uni-app'
import { getPlannerList } from '@/api/planner.js'
import Navbar from '@/components/Navbar/index.vue'
import Loading from '@/components/Loading/index.vue'
@ -174,6 +174,16 @@ onPullDownRefresh(async () => {
onMounted(() => {
loadPlannerList()
})
//
onShareAppMessage(() => ({
title: '学业邑规划 - 学业规划',
path: '/pages/planner/list/index'
}))
onShareTimeline(() => ({
title: '学业邑规划 - 学业规划'
}))
</script>
<style lang="scss" scoped>

View File

@ -72,7 +72,7 @@
* tab 超出屏幕时可横向滚动
*/
import { ref, computed, onMounted } from 'vue'
import { onLoad, onShow } from '@dcloudio/uni-app'
import { onLoad, onShow, onShareAppMessage, onShareTimeline } from '@dcloudio/uni-app'
import { getTeamInfo } from '@/api/team.js'
import Loading from '@/components/Loading/index.vue'
import Navbar from '@/components/Navbar/index.vue'
@ -148,6 +148,16 @@ async function loadTeamInfo() {
onMounted(() => {
loadTeamInfo()
})
//
onShareAppMessage(() => ({
title: '学业邑规划 - 产品介绍',
path: '/pages/team/index'
}))
onShareTimeline(() => ({
title: '学业邑规划 - 产品介绍'
}))
</script>
<style lang="scss" scoped>