diff --git a/README.md b/README.md index dcf714c..b4d7639 100644 --- a/README.md +++ b/README.md @@ -5,10 +5,9 @@ MAC系统 获取微信聊天记录 AI一键生成群聊总结 ## 📸 预览 -
- 预览图1 - 预览图2 -
+ 预览图1 + 预览图2 + 预览图3 ## [点击这里下载](https://github.com/Wxw-Gu/WechatExplorer/releases/tag/v1.0.0) @@ -37,10 +36,6 @@ MAC系统 获取微信聊天记录 AI一键生成群聊总结 本项目仅供学习和研究使用。请勿用于非法用途。开发者不对使用本项目造成的任何后果负责。请遵守相关法律法规和微信使用协议。 -## 📄 许可证 - -[MIT](./LICENSE) License - ## 🔗 参考 - [WechatMessageExplorer](https://github.com/svcvit/WechatMessageExplorer) diff --git a/public/WX20251215-155324.png b/public/WX20251215-155324.png deleted file mode 100644 index b0ab928..0000000 Binary files a/public/WX20251215-155324.png and /dev/null differ diff --git a/public/WX20251215-155524.png b/public/WX20251215-155524.png deleted file mode 100644 index a97370f..0000000 Binary files a/public/WX20251215-155524.png and /dev/null differ diff --git a/public/example1.png b/public/example1.png new file mode 100644 index 0000000..be3b950 Binary files /dev/null and b/public/example1.png differ diff --git a/public/example2.png b/public/example2.png new file mode 100644 index 0000000..69efd60 Binary files /dev/null and b/public/example2.png differ diff --git a/public/example3.png b/public/example3.png new file mode 100644 index 0000000..143a942 Binary files /dev/null and b/public/example3.png differ diff --git a/src/renderer/src/components/ChatWindow.tsx b/src/renderer/src/components/ChatWindow.tsx index 7d55a70..d30c7d8 100644 --- a/src/renderer/src/components/ChatWindow.tsx +++ b/src/renderer/src/components/ChatWindow.tsx @@ -41,6 +41,7 @@ const ChatWindow: React.FC = ({ const messagesEndRef = useRef(null) const imageContainerRef = useRef(null) const [generatedImage, setGeneratedImage] = useState(null) + const [showAvatar, setShowAvatar] = useState(false) const [colWidths, setColWidths] = useState([150, 100, 180, 400]) const [resizingColIndex, setResizingColIndex] = useState(null) @@ -292,14 +293,29 @@ const ChatWindow: React.FC = ({ {msg.datetime} -
- {msg.name} - {msg?.img && ( - - )} + {showAvatar && msg?.img && ( + + )} +
+ {msg.name &&
{msg.name}:
} +
+ {msg.content} +
- {/* : */} -
{msg.content}
))} @@ -325,6 +341,17 @@ const ChatWindow: React.FC = ({
+