diff --git a/Cunkebao/src/pages/pc/ckbox/components/ChatWindow/index.tsx b/Cunkebao/src/pages/pc/ckbox/components/ChatWindow/index.tsx index f2880c69..2c52a897 100644 --- a/Cunkebao/src/pages/pc/ckbox/components/ChatWindow/index.tsx +++ b/Cunkebao/src/pages/pc/ckbox/components/ChatWindow/index.tsx @@ -780,26 +780,42 @@ const ChatWindow: React.FC = ({ ); }; - const chatMenu = ( - - }> - 查看资料 - - }> - 语音通话 - - }> - 视频通话 - - - 置顶聊天 - 消息免打扰 - - - 清空聊天记录 - - - ); + const chatMenuItems = [ + { + key: "profile", + icon: , + label: "查看资料", + }, + { + key: "call", + icon: , + label: "语音通话", + }, + { + key: "video", + icon: , + label: "视频通话", + }, + { + type: "divider", + }, + { + key: "pin", + label: "置顶聊天", + }, + { + key: "mute", + label: "消息免打扰", + }, + { + type: "divider", + }, + { + key: "clear", + danger: true, + label: "清空聊天记录", + }, + ]; // 模拟联系人详细信息 const contractInfo = { @@ -861,7 +877,7 @@ const ChatWindow: React.FC = ({ className={styles.headerButton} /> - +