feat(朋友圈): 添加朋友圈功能相关组件和状态管理

- 新增朋友圈数据类型定义和接口
- 在状态管理中添加朋友圈相关状态
- 实现朋友圈图片预览功能
- 优化朋友圈样式和交互体验
This commit is contained in:
2025-09-16 18:42:51 +08:00
parent d11ae4365c
commit 18b2735f80
6 changed files with 353 additions and 66 deletions

View File

@@ -24,6 +24,11 @@ export const useWeChatStore = create<WeChatState>()(
messagesLoading: false,
isLoadingData: false,
currentGroupMembers: [],
MomentOfKf: [], //客服自己的朋友圈
MomentOfSquare: [], //朋友圈广场
MomentOfFriend: [], //好友的朋友圈
//============方法列表============
//清空当前联系人
clearCurrentContact: () => {
set({ currentContract: null, currentMessages: [] });