Skip to content

Commit 6d04e08

Browse files
committed
create vue client
1 parent f94e923 commit 6d04e08

File tree

119 files changed

+27862
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+27862
-0
lines changed

Vue/.babelrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"presets": ["stage-3", "env"],
3+
"plugins": ["transform-runtime", "syntax-dynamic-import"],
4+
"comments": false
5+
}

Vue/.editorconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
root = true
2+
3+
charset = utf-8
4+
indent_style = space
5+
indent_size = 4
6+
end_of_line = lf
7+
insert_final_newline = true
8+
trim_trailing_whitespace = true

Vue/.eslintignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
src/vendors
2+
src/libs/table2excel.js
3+
build
4+
router.js
5+
src/views/my-components/text-editor/tinymce

Vue/.eslintrc.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"extends": "standard",
3+
"root": true,
4+
"parserOptions": {
5+
"ecmaVersion": 6,
6+
"sourceType": "module"
7+
},
8+
"env": {
9+
"browser": true,
10+
"node": true
11+
},
12+
"plugins": [ "html", "standard" ],
13+
"rules": {
14+
"indent": ["error", 4, { "SwitchCase": 1 }],
15+
"quotes": ["error", "single"],
16+
"semi": ["error", "always"],
17+
"no-console": ["error"],
18+
"no-empty": 2,
19+
"no-eq-null": 2,
20+
"no-new": 0,
21+
"no-fallthrough": 0,
22+
"no-unreachable": 0
23+
}
24+
}

Vue/.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
npm-debug.log
2+
node_modules
3+
.project
4+
.vscode
5+
.history
6+
.DS_Store
7+
\.settings/
8+
build/env.js
9+
dist/

Vue/.postcssrc.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// https://github.com/michael-ciniawsky/postcss-load-config
2+
3+
module.exports = {
4+
"plugins": {
5+
// to edit target browsers: use "browserslist" field in package.json
6+
"autoprefixer": {}
7+
}
8+
}

Vue/.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
language: node_js
2+
node_js:
3+
- "6"
4+
script:
5+
- npm run test

Vue/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2017 iView
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

Vue/README.md

Lines changed: 202 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,202 @@
1+
<p align="center">
2+
<a href="https://www.iviewui.com">
3+
<img width="200" src="https://file.iviewui.com/logo.svg">
4+
</a>
5+
</p>
6+
7+
# iView Admin
8+
[![](https://img.shields.io/travis/iview/iview-admin.svg?style=flat-square)](https://travis-ci.org/iview/iview-admin)
9+
[![vue](https://img.shields.io/badge/vue-2.5.13-brightgreen.svg?style=flat-square)](https://github.com/vuejs/vue)
10+
[![iview ui](https://img.shields.io/badge/iview-2.8.0-brightgreen.svg?style=flat-square)](https://github.com/iview/iview)
11+
[![npm](https://img.shields.io/npm/l/express.svg)]()
12+
13+
14+
## 当前版本:v1.3.1
15+
[更新日志](https://github.com/iview/iview-admin/releases)
16+
17+
[使用教程](https://github.com/iview/iview-admin/wiki)
18+
19+
[在线访问](https://iview.github.io/iview-admin)
20+
21+
[English Doc](https://github.com/iview/iview-admin/blob/dev/README_EN.md)
22+
23+
[简化版模板](https://github.com/iview/iview-admin/tree/template)
24+
25+
`注:在线版本会在开发版本新小版本发布后更新到相应版本,所以如果想体验最新版本iview-admin,请clone完整项目代码到本地运行。`
26+
27+
## Install
28+
```bush
29+
// install dependencies
30+
npm install
31+
```
32+
## Run
33+
### Development
34+
```bush
35+
npm run dev
36+
```
37+
### Production(Build)
38+
```bush
39+
npm run build
40+
```
41+
42+
## 简介
43+
&emsp;&emsp;iView admin是基于Vue.js,搭配使用[iView](https://www.iviewui.com) UI组件库形成的一套后台集成解决方案,由TalkingData前端可视化团队部分成员开发维护。iView admin遵守iView设计和开发约定,风格统一,设计考究,并且更多功能在不停开发中。
44+
如果您想查看iview-admin的更新动态,您可以到[更新日志](https://github.com/iview/iview-admin/releases)查看了解最新更新;如果您是新手,想快速入手iview-admin,您可以到[使用教程](https://github.com/iview/iview-admin/wiki)查看讲解;如果您想在线体验iview-admin,您可以到[在线访问](https://iview.github.io/iview-admin)体验。如果你只是想要一个清醒爽朗的界面,那你可以下载[简化版模板](https://github.com/iview/iview-admin/tree/template)来做开发。
45+
46+
## 功能
47+
48+
- 登录/登出
49+
- 权限管理
50+
- 列表过滤
51+
- 权限切换
52+
- 多语言切换
53+
- 组件
54+
- 富文本编辑器
55+
- Markdown编辑器
56+
- 城市级联
57+
- 图片预览编辑
58+
- 可拖拽列表
59+
- 文件上传
60+
- 数字渐变
61+
- split-pane
62+
- 表单编辑
63+
- 文章发布
64+
- 工作流
65+
- 表格
66+
- 可拖拽排序
67+
- 可编辑表格
68+
- 行内编辑
69+
- 单元格编辑
70+
- 可搜索表格
71+
- 表格导出数据
72+
- 导出为Csv文件
73+
- 导出为Xls文件
74+
- 表格转图片
75+
- 错误页面
76+
- 403页面
77+
- 404页面
78+
- 500页面
79+
- 高级路由
80+
- 动态路由
81+
- 带参页面
82+
- 换肤
83+
- 收缩侧边栏
84+
- tag标签导航
85+
- 面包屑导航
86+
- 全屏/退出全屏
87+
- 锁屏
88+
- 消息中心
89+
- 个人中心
90+
91+
## 文件结构
92+
```shell
93+
.
94+
├── build  项目构建配置
95+
└── src
96+
   ├── images  图片文件
97+
   ├── libs  工具方法
98+
   ├── locale  多语言文件
99+
   ├── router  路由配置
100+
   ├── store  状态管理
101+
   ├── styles  样式文件
102+
├── template 模板文件
103+
├── vendors 公共库文件
104+
└── views
105+
├── access 权限管理
106+
├── advanced-router 高级路由
107+
├── error_page 错误页面
108+
├── form 表单编辑
109+
├── home 首页
110+
│   ├── components 首页组件
111+
├── international 多语言
112+
├── main_components Main组件
113+
│   ├── lockscreen 锁屏
114+
│   ├── shrinkable-menu 可收缩菜单
115+
│   └── theme-switch 主题切换
116+
├── message 消息中心
117+
├── my_components 业务组件
118+
│   ├── area-linkage 中国行政区级联选择器
119+
│   ├── count-to 数字渐变
120+
│   ├── draggable-list 可拖拽列表
121+
│   ├── file-upload 文件上传
122+
│   ├── image-editor 图片预览编辑
123+
│   ├── markdown-editor Markdown编辑器
124+
│   └── text-editor 富文本编辑器
125+
├── own-space 个人中心
126+
└── tables 综合表格
127+
```
128+
129+
## Links
130+
131+
- [TalkingData](https://github.com/TalkingData)
132+
- [iView](https://github.com/iview/iview)
133+
- [Vue](https://github.com/vuejs/vue)
134+
- [Webpack](https://github.com/webpack/webpack)
135+
136+
## 效果展示
137+
138+
- 响应式布局首页
139+
![image](https://github.com/iview/iview-admin/raw/dev/github-gif/home.gif)
140+
141+
- 标签导航
142+
![image](https://github.com/iview/iview-admin/raw/dev/github-gif/page-tags.gif)
143+
144+
- 权限管理
145+
![image](https://github.com/iview/iview-admin/raw/dev/github-gif/access.gif)
146+
147+
- 可拖拽列表
148+
![image](https://github.com/iview/iview-admin/raw/dev/github-gif/dragable-list.gif)
149+
150+
- 图片预览编辑
151+
![image](https://github.com/iview/iview-admin/raw/dev/github-gif/image-editor.gif)
152+
153+
- 文件上传
154+
![image](https://github.com/iview/iview-admin/raw/dev/github-gif/upload.gif)
155+
156+
- 数字渐变
157+
![image](https://github.com/iview/iview-admin/raw/dev/github-gif/count-to.gif)
158+
159+
- split-pane
160+
![image](https://github.com/iview/iview-admin/raw/dev/github-gif/split-pane.gif)
161+
162+
- 文章发布
163+
![image](https://github.com/iview/iview-admin/raw/dev/github-gif/article-publish.gif)
164+
165+
- 工作流
166+
![image](https://github.com/iview/iview-admin/raw/dev/github-gif/workflow.gif)
167+
168+
- 可拖拽表格
169+
![image](https://github.com/iview/iview-admin/raw/dev/github-gif/dragable-table.gif)
170+
171+
- 可编辑表格
172+
![image](https://github.com/iview/iview-admin/raw/dev/github-gif/editable-table.gif)
173+
174+
- 表格导出数据
175+
![image](https://github.com/iview/iview-admin/raw/dev/github-gif/exportable-table.gif)
176+
177+
- 表格转图片
178+
![image](https://github.com/iview/iview-admin/raw/dev/github-gif/table2image.gif)
179+
180+
- 错误页面
181+
![image](https://github.com/iview/iview-admin/raw/dev/github-gif/error-page.gif)
182+
183+
- 锁屏
184+
![image](https://github.com/iview/iview-admin/raw/dev/github-gif/locking.gif)
185+
186+
- 可收缩侧边栏
187+
![image](https://github.com/iview/iview-admin/raw/dev/github-gif/sidebarmenu.gif)
188+
189+
- 主题切换
190+
![image](https://github.com/iview/iview-admin/raw/dev/github-gif/theme.gif)
191+
192+
- 消息中心
193+
![image](https://github.com/iview/iview-admin/raw/dev/github-gif/message.gif)
194+
195+
### 💖💖 If you find this project helpful, maybe you can buy me a coffee. 💖💖
196+
![image](https://github.com/iview/iview-admin/raw/dev/github-gif/code.png)
197+
198+
199+
## License
200+
[MIT](http://opensource.org/licenses/MIT)
201+
202+
Copyright (c) 2016-present, iView

0 commit comments

Comments
 (0)