bindbox-game/.trae/documents/彻底修复批量抽奖误弹与统一“新建活动”UI为 Element Plus 官方风格.md
邹方成 2a89a1ab9d
Some checks failed
Build docker and publish / linux (1.24.5) (push) Failing after 39s
feat(admin): 更新前端资源文件及修复相关功能
refactor(service): 修改banner和guild删除逻辑为软删除
fix(service): 修复删除操作使用软删除而非物理删除

build: 添加SQLite测试仓库实现
docs: 新增奖励管理字段拆分和批量抽奖UI改造文档

ci: 更新CI忽略文件
style: 清理无用资源文件
2025-11-19 01:35:55 +08:00

50 lines
1.7 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## 目标
* 在活动模块中彻底移除“批量测试/批量抽奖”入口与弹窗,避免在创建流程中出现。
* 保留其他模块(如“抽奖模拟盈亏”页面)的相似功能,不影响运营侧工具。
* 统一“新建活动”UI为 [https://www.artd.pro/docs/zh/ ](https://www.artd.pro/docs/zh/) 官方风格,保持与项目其他新建页面一致。
## 变更范围
* 移除组件引用与入口:
* `web/admin/src/views/activity/manage/index.vue`:删除 `BatchDrawDialog` 引用与渲染、`openBatchDraw` 按钮及逻辑。
* `web/admin/src/views/activity/list/index.vue`:删除批量抽奖按钮与 `BatchDrawDialog` 渲染。
* 组件保留但不再使用:
* `web/admin/src/views/activity/rewards/modules/batch-draw-dialog.vue` 保留于项目(供其他模块复用),但活动模块不再引用。
* 路由与流程:
* 无需调整路由;保留 `Operations/LotterySimulation` 等运营侧工具。
* 确保“创建活动 → 期数 → 奖品”流程不再出现任何测试入口。
## UI统一
* 两处向导页面完全采用官方 EP 风格(已部分完成):
* `ElSteps` simple 模式;
* `ElCard` 内容区;
* `ElForm` 默认尺寸与标准栅格;
* 移除自定义渐变、玻璃拟态与重阴影。
## 验收标准
* 活动模块中不再出现“批量测试/批量抽奖”按钮或弹窗。
* 创建流程不再被任何测试功能打断。
* 新建活动页面的视觉与项目其他新建保持一致EP 官方风格)。
* 构建与运行通过,页面与流程验证无误。
如确认,我将执行上述移除与统一改造,并完成构建与流程验证。