This commit is contained in:
pengxiaolong
2025-05-15 22:24:39 +08:00
parent 838cfd9986
commit 595c5329a0
44 changed files with 5142 additions and 81 deletions

View File

@@ -1,17 +1,22 @@
<template>
<button @click="openChat">OpenChat</button>
</template>
<script>
export default {
methods: {
openChat() {
// 1v1 chat: conversationID = `C2C${userID}`
// group chat: conversationID = `GROUP${groupID}`
const conversationID = 'C2Cqwe';
uni.navigateTo({
url: `/TUIKit/components/TUIChat/index?conversationID=${conversationID}`
});
}
}
}
</script>
</template>
<script>
export default {
data() {
return {
title: 'Hello'
}
},
onLoad() {
uni.reLaunch({ url: "/pages/UserInformation/UserInformation"})
},
methods: {
// 方法定义
}
}
</script>
<style scoped>
/* 样式定义 */
</style>