feat: 更新提示

master
xjs 2025-04-10 17:43:45 +08:00
parent 79689ddf29
commit cb4b257702
2 changed files with 11 additions and 1 deletions

View File

@ -21,6 +21,7 @@
<script setup lang="ts">
import { useUserStore } from '@/store'
import { sendMessage } from '@/service/index/api'
import { onPageHide } from '@dcloudio/uni-app'
const userStore = useUserStore()
@ -45,6 +46,15 @@ onLoad(() => {
uni.getRecorderManager()
uni.getBackgroundAudioManager()
})
onShow(() => {
uni.showModal({
title: '温馨提示',
content: '进入房间后退出时请挂断对话以免浪费金额',
})
return true
})
</script>
<style lang="scss" scoped></style>

View File

@ -102,7 +102,7 @@ onShareAppMessage(() => {
return {
title: '六维志愿',
path: '/pages/index/index',
imageUrl: 'https://api.static.ycymedu.com/src/images/home/app-logo.svg',
imageUrl: 'https://api.static.ycymedu.com/images/share.png',
}
})
onShareTimeline(() => {