优化页面

This commit is contained in:
pengxiaolong
2025-06-18 22:04:59 +08:00
parent ec9dcb486f
commit b73ddb0370
52 changed files with 268 additions and 140 deletions

View File

@@ -10,7 +10,8 @@ const _sfc_main = {
props: {
tabIndex: Number
},
setup(__props) {
emits: ["publishSucces"],
setup(__props, { emit: __emit }) {
require.async("../../TUIKit/components/TUIConversation/entry.js");
let showMiddleButton = common_vendor.ref(false);
const conversationList = common_vendor.ref([]);
@@ -29,6 +30,10 @@ const _sfc_main = {
conversationList.value = list;
Unread.value = calculateUnreadCount(list);
}
const emit = __emit;
function publishSuccesss() {
emit("publishSucces");
}
function calculateUnreadCount(arr) {
let total = 0;
for (const item of arr) {
@@ -154,7 +159,8 @@ const _sfc_main = {
c: common_vendor.o$1(disabledScroll),
d: common_vendor.sr(createModule, "c497a889-0", {
"k": "createModule"
})
}),
e: common_vendor.o$1(publishSuccesss)
};
};
}