Files
2026-08-01 18:01:23 +08:00

6 lines
533 B
Markdown
Raw Permalink 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.
- 所有沟通、文案、注释使用中文;文件编码使用 UTF-8。
- 前端使用 Vue 3 Composition API + setup,代码按功能分块组织,公共变量/函数在前。
- Vue 自定义组件标签使用全小写;模板中动态文本优先使用 v-text。
- Less 必须使用层级写法,属性尽量缩写,单位优先 rem,小数写法如 .5。
- 尽量定义 TypeScript 类型和必要的 JSDoc;Promise 写法优先 async/await。
- 不轻易引入外部依赖,优先官方 API;需要兼容深色模式。