{
+ if (e.target?.scrollTop == 0 && !isAllChatRef.current && !chatLogLoadingRef.current) {
+ page(curr_page + 1);
+ }
+ }}
+ >
+ {isAllChatRef.current ? (
+
+ 没有更多聊天记录了
+
+ ) : null}
+ {chatLogs.map((item: any) => {
+ if (item.curr_page) {
+ return (
+
+ );
+ } else {
+ return (
+
+ {/* {item.show_time ? : null} */}
+
+ {tabKeyRef.current == '2' ? (
+
+ ) : (
+
+ )}
+
+ );
+ }
+ })}
+
+