Skip to content

Commit ead4c33

Browse files
committed
docs: add zh-CN docs
1 parent 2ccc64f commit ead4c33

4 files changed

Lines changed: 58 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ A dead simple but powerful vue admin with Vue CLI 3 and ElementUI.
88

99
## Docs
1010

11-
[Live Demo](https://element-admin.now.sh) | [Docs](https://codetrial.github.io/element-admin)
11+
[:zap: Live Demo](https://element-admin.now.sh) | [:book: Docs](https://codetrial.github.io/element-admin)
1212

1313
## Screen Capture
1414

README.zh-CN.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Element Admin
2+
3+
[![License](https://img.shields.io/github/license/codetrial/element-admin.svg)](https://github.com/codetrial/element-admin)
4+
5+
一个简约而不简单的基于 Vue CLI 3 和 ElementUI 的中后台管理系统。
6+
7+
:cn: 简体中文 | [:us: English](README.md)
8+
9+
## 文档
10+
11+
[:zap: 在线示例](https://element-admin.now.sh) | [:book: 参考文档](https://codetrial.github.io/element-admin)
12+
13+
## 截屏预览
14+
15+
![Screen Capture](.github/demo.gif)
16+
17+
## 快速开始
18+
19+
```bash
20+
yarn install
21+
yarn run serve
22+
```
23+
24+
## 核心功能
25+
26+
:camera: **最小依赖**:仅依赖 Vue 官方库及 ElementUI 组件库,未额外引入其它第三方库,为你提供自由发挥的空间。
27+
28+
:tv: **目录结构**:根据项目实战经验,设计了合理、清晰的目录结构。
29+
30+
:telephone_receiver: **页面布局**:使用 Vue Router 嵌套路由及 ElementUI 内置组件进行布局。
31+
32+
:pager: **数据处理**:添加独立的 api 及 service 层,将业务逻辑从组件中抽离。
33+
34+
:watch: **权限控制**:为路由添加配置式拦截器,默认支持用户登录鉴权及角色鉴权。
35+
36+
:radio: **列表示例**:一个相对比较完整的列表页示例,包含字段查询(过滤),字段排序,页码跳转,批量操作等等。
37+
38+
:mag_right: **表单示例**:一个相对比较完整的表单页示例,包含表单校验、提交等操作。
39+
40+
:ghost: **错误页面**:内置简单的(其实是偷懒) 403、404 及 500 错误页。
41+
42+
## 贡献
43+
44+
期待你的 `pull requests`。如果你觉得有帮助,还请多多反馈!
45+
46+
## 技术栈
47+
48+
- [Vue.js](https://github.com/vuejs/vue)
49+
- [ElementUI](https://github.com/ElemeFE/element)
50+
51+
## 许可
52+
53+
[MIT](http://opensource.org/licenses/MIT)
54+
55+
Copyright (c) 2018 - present, Felix Yang

src/components/layout/AppHeader.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
>
1010
<el-menu-item index="/">首页</el-menu-item>
1111
<template v-if="user.id">
12-
<el-submenu index="/example" :show-timeout="100" :hide-timeout="0">
12+
<el-submenu index="/example" :show-timeout="300" :hide-timeout="0">
1313
<template slot="title">示例模块</template>
1414
<el-menu-item index="/example">列表页</el-menu-item>
1515
<el-menu-item index="/example/new">表单页</el-menu-item>

src/views/About.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<b>目录结构</b>:根据项目实战经验,设计了合理、清晰的目录结构。
2626
</p>
2727
<p>
28-
<b>布局体系</b>:使用 Vue Router 嵌套路由及 ElementUI 内置组件进行布局。
28+
<b>页面布局</b>:使用 Vue Router 嵌套路由及 ElementUI 内置组件进行布局。
2929
</p>
3030
<p>
3131
<b>数据处理</b>:添加独立的 api 及 service 层,将业务逻辑从组件中抽离。

0 commit comments

Comments
 (0)