feat: 更新提示
parent
79689ddf29
commit
cb4b257702
|
|
@ -21,6 +21,7 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { useUserStore } from '@/store'
|
import { useUserStore } from '@/store'
|
||||||
import { sendMessage } from '@/service/index/api'
|
import { sendMessage } from '@/service/index/api'
|
||||||
|
import { onPageHide } from '@dcloudio/uni-app'
|
||||||
|
|
||||||
const userStore = useUserStore()
|
const userStore = useUserStore()
|
||||||
|
|
||||||
|
|
@ -45,6 +46,15 @@ onLoad(() => {
|
||||||
uni.getRecorderManager()
|
uni.getRecorderManager()
|
||||||
uni.getBackgroundAudioManager()
|
uni.getBackgroundAudioManager()
|
||||||
})
|
})
|
||||||
|
|
||||||
|
onShow(() => {
|
||||||
|
uni.showModal({
|
||||||
|
title: '温馨提示',
|
||||||
|
content: '进入房间后退出时请挂断对话以免浪费金额',
|
||||||
|
})
|
||||||
|
|
||||||
|
return true
|
||||||
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped></style>
|
<style lang="scss" scoped></style>
|
||||||
|
|
|
||||||
|
|
@ -102,7 +102,7 @@ onShareAppMessage(() => {
|
||||||
return {
|
return {
|
||||||
title: '六维志愿',
|
title: '六维志愿',
|
||||||
path: '/pages/index/index',
|
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(() => {
|
onShareTimeline(() => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue