Commit Graph
29 Commits
Author SHA1 Message Date
钟停为止 23ee8d014f feat: 深度优化自媒体发布系统及修复关键BUG 2026-03-05 10:12:40 +08:00
Deroino 7ccaab9b75 feat(account-management): make abnormal status clickable to trigger re-login
- Added clickable status functionality for accounts with '异常' status
- Implemented handleReLogin method to trigger login flow when clicking abnormal status
- Added visual feedback with hover effects for clickable statuses
- Updated SSE flow to show different success messages for re-login vs new account
- Fixed account data handling to properly work with store objects
- Added dynamic default avatars for accounts
2025-11-13 11:47:03 +08:00
Deroino e60ce3f64a feat(account-management): optimize account loading with async validation
- Add new /getAccounts API for fast account retrieval without validation
- Update frontend to use fast API for initial load, showing accounts immediately
- Add '验证中' status with loading animation to indicate validation progress
- Implement background validation process that doesn't block UI
- Add Loading icon from Element Plus for visual feedback during validation
- Update status display logic to handle '验证中', '正常', and invalid states
- Improve user experience with immediate feedback and async validation
2025-11-13 11:31:46 +08:00
Deroino 75bbb39b43 feat(account-management): update cookie buttons text and styling
- Change button text from '下载Cookie文件/上传Cookie文件' to '下载Cookie/上传Cookie'
- Add icons to the buttons for better visual recognition
- Keep the essential 'Cookie' text for clarity while making buttons more concise
- Maintain proper button styling and layout in the account management table
2025-11-13 10:44:10 +08:00
Deroino 4688c41b9b feat(account-management): add upload and download cookie file buttons
- Add '上传Cookie文件' and '下载Cookie文件' buttons to account management page
- Implement frontend functionality for cookie file upload and download
- Add backend API endpoints for handling cookie file operations:
  - /uploadCookie: Handle cookie file upload with validation
  - /downloadCookie: Handle secure cookie file download
- Implement security measures to prevent path traversal attacks
- Add proper error handling and user feedback
- Maintain existing functionality while adding new features
2025-11-13 10:37:19 +08:00
Deroino 4ee6c2b09c feat(frontend): update draft checkbox text and position
- Change draft checkbox label to '视频号仅保存草稿(用手机发布)'
- Move draft checkbox to appear after platform selection and before title input
- Add proper CSS styling with appropriate margins for the draft section
- Maintain conditional visibility only for video channel platform (type 2)
- Preserve existing functionality while improving UI flow
2025-11-13 09:42:38 +08:00
Deroino 81b71d023d feat(wechat-channel): add draft upload functionality for video channel
- Add isDraft parameter to TencentVideo class to control publishing behavior
- Modify click_publish method to click "保存草稿" instead of "发表" when isDraft is true
- Update post_video_tencent function to accept and pass is_draft parameter
- Add is_draft parameter to /postVideo API endpoint to receive frontend data
- Add "视频号上传草稿" checkbox in frontend that appears only for video channel platform
- Update defaultTabInit to include isDraft property with default value false
- Include isDraft in publishData sent to backend API
- Implement proper URL checking for draft vs publish success confirmation

The new functionality allows users to save WeChat Channel videos as drafts
instead of immediately publishing them when the checkbox is selected.
2025-11-13 09:12:39 +08:00
Deroino c0e7b64b94 feat(frontend): add loading state to publish button to prevent duplicate clicks
- Add publishing state property to each tab to track publishing status
- Implement loading indicator on publish button with visual feedback
- Prevent duplicate clicks during active publishing process
- Update button text to show "发布中..." (Publishing...) when loading
- Ensure publishing state is properly reset in all scenarios (success, failure, validation errors)
- Add duplicate click prevention with user-friendly error message

The publish button now shows a loading spinner and prevents multiple clicks
during the publishing process, improving user experience and preventing
duplicate uploads to social media platforms.
2025-11-13 07:53:23 +08:00
Deroino 1a02b8fa50 feat(frontend): add UUID column to material management table
- Add UUID field extraction in backend /getFiles endpoint
- Extract UUID from file_path (first part before underscore)
- Add UUID column to material management table in frontend
- Set appropriate width for UUID column display
- Maintain data consistency between backend and frontend
2025-11-13 06:02:15 +08:00
Deroino d21736292c style(frontend): improve upload progress indicator visibility
- Change upload speed indicator color from white to dark gray
- Add better styling for upload file items with rounded corners
- Add hover effects and improved spacing for upload items
- Enhance overall visual appearance of upload panel
2025-11-13 05:58:17 +08:00
Deroino 6b9fdb35d1 feat(frontend): Implement multi-file upload with progress and speed 2025-11-13 05:47:31 +08:00
Leo Song da5a9890f3 Update PublishCenter.vue 2025-10-17 12:17:09 +08:00
Leo Song 250fff19a9 [feature] support product link in douyin 2025-10-15 16:25:12 +08:00
Edan's Win11 bde08fa9fa fix: 增加前端小红书逻辑 2025-06-03 23:11:30 +08:00
Edan's Win11 f9fc180ffc feat: 发布中心页面 2025-06-03 21:30:05 +08:00
Edan's Win11 753bc701b5 feat: 素材管理页面 2025-06-03 21:29:53 +08:00
Edan's Win11 1b553ebe7a feat: 账号管理页面 2025-06-03 21:29:42 +08:00
Edan's Win11 2b0a027bde feat: 工作台和首页 2025-06-03 21:29:22 +08:00
Edan's Win11 a99df48860 feat: 增加 request 请求封装 2025-06-03 21:29:04 +08:00
Edan's Win11 55670eb2e4 feat: 增加 styles 样式文件 2025-06-03 21:28:48 +08:00
Edan's Win11 c3b677f539 feat: 新增 pinia 状态管理 2025-06-03 21:27:42 +08:00
Edan's Win11 525d1b03de feat: 新增 api 接口 2025-06-03 21:27:10 +08:00
Edan's Win11 476ebc26b8 fix: 删除旧的文件 2025-06-03 21:24:37 +08:00
Edan's Win11 2962fb7c5c fix: 修改路由 2025-06-03 21:24:10 +08:00
Edan's Win11 a4364d7b75 fix: 修改第三方库的引入 2025-06-03 21:23:56 +08:00
Edan's Win11 5c14cdd531 fix: 修改首页内容 2025-06-03 21:23:01 +08:00
Edan's Win11 7ac4188006 fix: 增加图标 2025-06-03 16:38:42 +08:00
Edan's Win11 da05e50a56 fix: 增加图标 2025-06-03 16:38:34 +08:00
Edan's Win11 7ea177c4cb feat: 增加前端管理界面(第一版) 2025-06-03 16:02:43 +08:00