Commit 3a927b5b authored by huanglu's avatar huanglu

docs: 完善文档

parent 721bd203
...@@ -88,6 +88,7 @@ ...@@ -88,6 +88,7 @@
``` ```
- 组件样式 - 组件样式
- 在vue中,组件样式,必须使用scope属性,如果要修改三方组件库的样式,使用 /deep/ 避免样式污染 - 在vue中,组件样式,必须使用scope属性,如果要修改三方组件库的样式,使用 /deep/ 避免样式污染
```css ```css
.home { .home {
.home-header { .home-header {
...@@ -98,6 +99,7 @@ ...@@ -98,6 +99,7 @@
} }
} }
``` ```
- 页面组件中,代码行数最好不要超过500行,且建议将页面进行组件封装,保证代码的可读性 - 页面组件中,代码行数最好不要超过500行,且建议将页面进行组件封装,保证代码的可读性
- 接口定义规范 - 接口定义规范
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment