Browse Source

添加我的群聊

潘超林 12 hours ago
parent
commit
992e53826b
1 changed files with 10 additions and 1 deletions
  1. 10 1
      TUIKit-Homemaking/components/TUIConversation/merChantSideIndex.vue

+ 10 - 1
TUIKit-Homemaking/components/TUIConversation/merChantSideIndex.vue

@@ -11,7 +11,11 @@
       v-if="isShowConversationHeader"
       ref="headerRef"
     /> -->
-      <div class="header" @click="createGroup">创建粉丝群</div>
+      <div style="display: flex; flex-direction: row; align-items: center">
+        <div class="header" @click="myGourp">我的群聊</div>
+        <div class="header" @click="createGroup">创建粉丝群</div>
+      </div>
+
       <ConversationNetwork />
       <ConversationList
         ref="conversationListDomRef"
@@ -89,6 +93,11 @@ const handleSwitchConversation = (conversationID: string) => {
   emits("handleSwitchConversation", conversationID);
 };
 const shopInfo = ref({});
+const myGourp = () => {
+  TUIGlobal?.navigateTo({
+    url: "/TUIKit-Homemaking/components/TUIContact/index",
+  });
+};
 const createGroup = async () => {
   const ownerAccount = uni.getStorageSync("id");
   let res = await MesApi.default.getInfoByUserId();