123456789101112131415161718192021222324252627282930 |
- <template>
- <view class="container">
- 消息详情
- </view>
- </template>
- <script setup>
- import { ref } from 'vue'
- import { onLoad } from '@dcloudio/uni-app'
-
- const chatId = ref()
- const chatTitle = ref('')
-
- onLoad((load) => {
- chatId.value = load.id
- chatTitle.value = load.title
- uni.setNavigationBarTitle({
- title: chatTitle.value
- })
- })
- </script>
- <style lang="scss" scoped>
- .container {
- height: 100vh;
- width: 100vw;
- background-color: $uni-bg-color;
- padding: 0 20rpx;
- }
- </style>
|