docs: 更新项目文档说明
- README.md: 添加图标组件使用说明 - CHANGELOG.md: 记录 IconFont 组件统一使用改动 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Showing
2 changed files
with
2 additions
and
0 deletions
| ... | @@ -181,6 +181,7 @@ export default { | ... | @@ -181,6 +181,7 @@ export default { |
| 181 | - 使用 Vue 3 Composition API | 181 | - 使用 Vue 3 Composition API |
| 182 | - 组件统一放在 `src/components/` 目录 | 182 | - 组件统一放在 `src/components/` 目录 |
| 183 | - Props 定义清晰,注释详细 | 183 | - Props 定义清晰,注释详细 |
| 184 | +- 图标组件直接使用 `@nutui/icons-vue-taro` 的 `IconFont` | ||
| 184 | 185 | ||
| 185 | ### API 调用 | 186 | ### API 调用 |
| 186 | - 接口统一在 `src/api/index.js` 定义 | 187 | - 接口统一在 `src/api/index.js` 定义 | ... | ... |
| ... | @@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file. | ... | @@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file. |
| 5 | ## [Unreleased] | 5 | ## [Unreleased] |
| 6 | 6 | ||
| 7 | ### Changed | 7 | ### Changed |
| 8 | +- 全量替换项目内 IconFont 调用为 `@nutui/icons-vue-taro` 的 `IconFont` 组件,统一使用 `class` 属性,移除自定义封装组件依赖 | ||
| 8 | - 优化 "帮助中心" 页面 (`src/pages/help-center`): | 9 | - 优化 "帮助中心" 页面 (`src/pages/help-center`): |
| 9 | - 重构 "联系客服" 弹窗,将硬编码数据提取为 `contactMethods` 数组,并优化样式布局 | 10 | - 重构 "联系客服" 弹窗,将硬编码数据提取为 `contactMethods` 数组,并优化样式布局 |
| 10 | - 重构 "问题详情" 弹窗,使用 `v-html` 渲染富文本内容,并将模拟数据提取为 `mockRichText` 常量 | 11 | - 重构 "问题详情" 弹窗,使用 `v-html` 渲染富文本内容,并将模拟数据提取为 `mockRichText` 常量 | ... | ... |
-
Please register or login to post a comment