From b3e1b6c8242b25de25ae58732cc3ffc90af1c2c0 Mon Sep 17 00:00:00 2001 From: Pan Date: Mon, 24 Apr 2017 17:04:40 +0800 Subject: [PATCH] refine --- README.md | 38 ++++++++++++++++++++++++++++++++-- src/styles/index.scss | 3 ++- src/views/charts/index.vue | 4 +++- src/views/components/index.vue | 6 ++++-- src/views/theme/index.vue | 17 ++++++++++----- 5 files changed, 57 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 760a3513..54a79555 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,40 @@ -这是一个vue+element+axios+webpack2的管理后台 先占个坑 -效果预览 +##vue-element-admin +vue+element+axios 的管理后台 [线上地址](http://panjiachen.github.io/vue-element-admin) +这半年来一直在用vue写管理后台,目前后台已经有七十多个页面,十几种权限,但维护成本依然很低,效率依然很高。这半年来积累了不少的后台开发经验,所以准备开源分享一下。 +###功能 +- [x] 登录/注销 +- [x] 权限验证 +- [x] 富文本编辑器 +- [x] Markdown编辑器 +- [x] JSON编辑器 +- [x] 列表拖拽 +- [x] SplitPane +- [x] Dropzone +- [x] Sticky +- [x] CountTo +- [x] echarts图表 +- [x] 401,401错误页面 +- [x] 错误日志 +- [x] 导出excel +- [x] table example +- [x] form example +- [x] 多环境发布 + +###How to use? +```bash + git clone https://github.com/PanJiaChen/vue-element-admin.git //克隆项目 + npm install //安装依赖 + + + npm run dev //本地开发 + // 开启服务器,浏览器访问 http://localhost:9527 + + npm run build:sit-preview //发布测试环境 带webpack ananalyzer + + npm run build:prod //构建生成环境 +``` +##效果图 #### 两步验证登录 支持微信和qq diff --git a/src/styles/index.scss b/src/styles/index.scss index 802ba24a..3496436a 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -73,9 +73,10 @@ a:hover { code { background: #eef1f6; - padding: 20px 10px; + padding: 15px 10px; margin-bottom: 20px; display: block; + line-height: 36px; a { color: #337ab7; cursor: pointer; diff --git a/src/views/charts/index.vue b/src/views/charts/index.vue index af09a352..cce1dc39 100644 --- a/src/views/charts/index.vue +++ b/src/views/charts/index.vue @@ -1,5 +1,7 @@ diff --git a/src/views/components/index.vue b/src/views/components/index.vue index af09a352..e0b4c0de 100644 --- a/src/views/components/index.vue +++ b/src/views/components/index.vue @@ -1,5 +1,7 @@ diff --git a/src/views/theme/index.vue b/src/views/theme/index.vue index 2ee2b587..b5cf8c25 100644 --- a/src/views/theme/index.vue +++ b/src/views/theme/index.vue @@ -1,5 +1,6 @@