自定义消息

This commit is contained in:
pengxiaolong
2025-05-16 21:53:47 +08:00
parent 595c5329a0
commit e05d72fccf
43 changed files with 458 additions and 84 deletions

View File

@@ -1,22 +1,20 @@
<template>
</template>
<script>
export default {
data() {
return {
title: 'Hello'
}
},
onLoad() {
uni.reLaunch({ url: "/pages/UserInformation/UserInformation"})
},
methods: {
// 方法定义
}
}
</script>
<style scoped>
/* 样式定义 */
</style>
<div>
<button @click="openConversationList">打开会话列表</button>
<button @click="openContact">打开联系人</button>
</div>
</template>
<script>
export default {
methods: {
// 打开会话列表
openConversationList() {
uni.navigateTo({ url: '/TUIKit/components/TUIConversation/index' });
},
// 打开联系人
openContact() {
uni.navigateTo({ url: '/TUIKit/components/TUIContact/index' });
},
},
};
</script>