feat: 更新提示
parent
79689ddf29
commit
cb4b257702
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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(() => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue