deotalandAi/.trae/documents/Add Points Consumption Rule...

24 lines
916 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

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.

## 实现计划
### 1. 更新国际化翻译
-`src/locales/index.js` 中添加积分消耗规则相关翻译
- 包含中英文翻译
- 添加以下翻译键:
- 消耗规则标题
- 消耗规则表格标题(行为、积分消耗)
- 具体消耗规则生成1张图片1积分生成1个3D模型30积分
### 2. 修改用户中心组件
-`src/views/user/index.vue` 的积分列表后添加新的消耗规则区域
- 创建包含指定数据的消耗规则表格
- 使用现有样式模式保持设计一致性
- 支持响应式设计
### 3. 更新样式
- 为新的消耗规则区域添加CSS样式
- 确保与现有积分区域样式一致
- 添加与现有设计匹配的悬停效果和过渡
- 支持明暗主题
## 预期结果
用户中心积分区域将新增"积分消耗规则"部分,以表格形式展示指定的消耗规则,设计风格与现有界面保持一致。