{addVisible && (
@@ -166,7 +166,7 @@ function ChannelChat({ cid = 0, dropFiles = [] }: Props) {
}
>
-
+ <>
{hasMore ? (
) : (
@@ -197,7 +197,7 @@ function ChannelChat({ cid = 0, dropFiles = [] }: Props) {
context: "channel"
});
})}
-
+ >
>
);
diff --git a/src/routes/chat/DMChat/index.tsx b/src/routes/chat/DMChat/index.tsx
index 6d16f204..2a9c659d 100644
--- a/src/routes/chat/DMChat/index.tsx
+++ b/src/routes/chat/DMChat/index.tsx
@@ -65,13 +65,13 @@ const DMChat: FC
= ({ uid = 0, dropFiles }) => {
}
header={
-
+
}
>
-
+ <>
{hasMore ? : null}
{[...feeds].map((mid, idx) => {
const curr = messageData[mid];
@@ -87,7 +87,7 @@ const DMChat: FC = ({ uid = 0, dropFiles }) => {
context: "user"
});
})}
-
+ >
);
};
diff --git a/src/routes/chat/Layout/LoginTip.tsx b/src/routes/chat/Layout/LoginTip.tsx
index 3d192124..d6bd4657 100644
--- a/src/routes/chat/Layout/LoginTip.tsx
+++ b/src/routes/chat/Layout/LoginTip.tsx
@@ -23,8 +23,8 @@ const LoginTip = ({ placement = "chat" }: Props) => {
};
return (
-
👋
diff --git a/src/routes/chat/Layout/index.tsx b/src/routes/chat/Layout/index.tsx
index bc3b5da2..91173c83 100644
--- a/src/routes/chat/Layout/index.tsx
+++ b/src/routes/chat/Layout/index.tsx
@@ -106,31 +106,37 @@ const Layout: FC = ({
return (
<>
{previewImage && }
-
- {header}
-
-
- {children}
-
- {readonly ? (
-
- ) : reachLimit ? (
-
- ) : (
-
-
-
- )}
- {selects &&
}
+
+
+ {header}
+
+
+ {/* 消息流 */}
+
+ {children}
+
+ {/* 发送框 */}
+
+ {readonly ? (
+
+ ) : reachLimit ? (
+
+ ) : (
+
+
+
+ )}
+ {selects &&
}
+
- {users && {users}
}
- {aside && {aside}
}
+ {aside && {aside}
}
+ {users && {users}
}
{!readonly && isActive && (
)}
-
+
>
);
};