Commit bfc621862a55133b0121845aff3551235636f331

Authored by chenbiao
1 parent 4d10820e

add 项目介绍: 书写readme文档

LICENSE deleted
1 -MIT License  
2 -  
3 -Copyright (c) 2017-present PanJiaChen  
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.  
README-zh.md deleted
1 -# vue-admin-template  
2 -  
3 -> 这是一个极简的 vue admin 管理后台。它只包含了 Element UI & axios & iconfont & permission control & lint,这些搭建后台必要的东西。  
4 -  
5 -[线上地址](http://panjiachen.github.io/vue-admin-template)  
6 -  
7 -[国内访问](https://panjiachen.gitee.io/vue-admin-template)  
8 -  
9 -目前版本为 `v4.0+` 基于 `vue-cli` 进行构建,若你想使用旧版本,可以切换分支到[tag/3.11.0](https://github.com/PanJiaChen/vue-admin-template/tree/tag/3.11.0),它不依赖 `vue-cli`。  
10 -  
11 -## Extra  
12 -  
13 -如果你想要根据用户角色来动态生成侧边栏和 router,你可以使用该分支[permission-control](https://github.com/PanJiaChen/vue-admin-template/tree/permission-control)  
14 -  
15 -## 相关项目  
16 -  
17 -[vue-element-admin](https://github.com/PanJiaChen/vue-element-admin)  
18 -  
19 -[electron-vue-admin](https://github.com/PanJiaChen/electron-vue-admin)  
20 -  
21 -[vue-typescript-admin-template](https://github.com/Armour/vue-typescript-admin-template)  
22 -  
23 -写了一个系列的教程配套文章,如何从零构建后一个完整的后台项目:  
24 -  
25 -- [手摸手,带你用 vue 撸后台 系列一(基础篇)](https://juejin.im/post/59097cd7a22b9d0065fb61d2)  
26 -- [手摸手,带你用 vue 撸后台 系列二(登录权限篇)](https://juejin.im/post/591aa14f570c35006961acac)  
27 -- [手摸手,带你用 vue 撸后台 系列三 (实战篇)](https://juejin.im/post/593121aa0ce4630057f70d35)  
28 -- [手摸手,带你用 vue 撸后台 系列四(vueAdmin 一个极简的后台基础模板,专门针对本项目的文章,算作是一篇文档)](https://juejin.im/post/595b4d776fb9a06bbe7dba56)  
29 -- [手摸手,带你封装一个 vue component](https://segmentfault.com/a/1190000009090836)  
30 -  
31 -## Build Setup  
32 -  
33 -```bash  
34 -# 克隆项目  
35 -git clone https://github.com/PanJiaChen/vue-admin-template.git  
36 -  
37 -# 进入项目目录  
38 -cd vue-admin-template  
39 -  
40 -# 安装依赖  
41 -npm install  
42 -  
43 -# 建议不要直接使用 cnpm 安装以来,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题  
44 -npm install --registry=https://registry.npm.taobao.org  
45 -  
46 -# 启动服务  
47 -npm run dev  
48 -```  
49 -  
50 -浏览器访问 [http://localhost:9528](http://localhost:9528)  
51 -  
52 -## 发布  
53 -  
54 -```bash  
55 -# 构建测试环境  
56 -npm run build:stage  
57 -  
58 -# 构建生产环境  
59 -npm run build:prod  
60 -```  
61 -  
62 -## 其它  
63 -  
64 -```bash  
65 -# 预览发布环境效果  
66 -npm run preview  
67 -  
68 -# 预览发布环境效果 + 静态资源分析  
69 -npm run preview -- --report  
70 -  
71 -# 代码格式检查  
72 -npm run lint  
73 -  
74 -# 代码格式检查并自动修复  
75 -npm run lint -- --fix  
76 -```  
77 -  
78 -更多信息请参考 [使用文档](https://panjiachen.github.io/vue-element-admin-site/zh/)  
79 -  
80 -## Demo  
81 -  
82 -![demo](https://github.com/PanJiaChen/PanJiaChen.github.io/blob/master/images/demo.gif)  
83 -  
84 -## Browsers support  
85 -  
86 -Modern browsers and Internet Explorer 10+.  
87 -  
88 -| [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt="IE / Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>IE / Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png" alt="Safari" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Safari |  
89 -| --------- | --------- | --------- | --------- |  
90 -| IE10, IE11, Edge| last 2 versions| last 2 versions| last 2 versions  
91 -  
92 -## License  
93 -  
94 -[MIT](https://github.com/PanJiaChen/vue-admin-template/blob/master/LICENSE) license.  
95 -  
96 -Copyright (c) 2017-present PanJiaChen  
README.md
1 -# vue-admin-template 1 +# 黄石官网
  2 +> 黄石停车官网:包含首页,停车服务模块,官网中心模块,黄石停车app介绍以及关于我们等模块,分模块具体介绍了相关功能以及各类解决方案。
2 3
3 -English | [简体中文](./README-zh.md) 4 +##环境依赖
4 5
5 -> A minimal vue admin template with Element UI & axios & iconfont & permission control & lint  
6 -  
7 -**Live demo:** http://panjiachen.github.io/vue-admin-template  
8 -  
9 -  
10 -**The current version is `v4.0+` build on `vue-cli`. If you want to use the old version , you can switch branch to [tag/3.11.0](https://github.com/PanJiaChen/vue-admin-template/tree/tag/3.11.0), it does not rely on `vue-cli`**  
11 -  
12 -## Build Setup 6 +>node v8.9+
13 7
  8 +## 项目启动
14 9
15 ```bash 10 ```bash
16 -# clone the project  
17 -git clone https://github.com/PanJiaChen/vue-admin-template.git  
18 -  
19 -# enter the project directory  
20 -cd vue-admin-template  
21 -  
22 -# install dependency 11 +# 安装依赖
23 npm install 12 npm install
24 13
25 -# develop 14 +# 建议不要直接使用 cnpm 安装以来,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题
  15 +npm install --registry=https://registry.npm.taobao.org
  16 +
  17 +# 启动服务
26 npm run dev 18 npm run dev
27 ``` 19 ```
28 20
29 -This will automatically open http://localhost:9528 21 +项目访问: [http://localhost:9531](http://localhost:9531)
30 22
31 -## Build 23 +## 发布
32 24
33 ```bash 25 ```bash
34 -# build for test environment 26 +# 构建测试环境
35 npm run build:stage 27 npm run build:stage
36 28
37 -# build for production environment 29 +# 构建生产环境
38 npm run build:prod 30 npm run build:prod
39 ``` 31 ```
40 32
41 -## Advanced 33 +## 其它
42 34
43 ```bash 35 ```bash
44 -# preview the release environment effect 36 +# 预览发布环境效果
45 npm run preview 37 npm run preview
46 38
47 -# preview the release environment effect + static resource analysis 39 +# 预览发布环境效果 + 静态资源分析
48 npm run preview -- --report 40 npm run preview -- --report
49 41
50 -# code format check 42 +# 代码格式检查
51 npm run lint 43 npm run lint
52 44
53 -# code format check and auto fix 45 +# 代码格式检查并自动修复
54 npm run lint -- --fix 46 npm run lint -- --fix
55 ``` 47 ```
56 48
57 -Refer to [Documentation](https://panjiachen.github.io/vue-element-admin-site/guide/essentials/deploy.html) for more information  
58 -  
59 -## Demo  
60 -  
61 -![demo](https://github.com/PanJiaChen/PanJiaChen.github.io/blob/master/images/demo.gif)  
62 -  
63 -## Extra  
64 -  
65 -If you want router permission && generate menu by user roles , you can use this branch [permission-control](https://github.com/PanJiaChen/vue-admin-template/tree/permission-control)  
66 -  
67 -For `typescript` version, you can use [vue-typescript-admin-template](https://github.com/Armour/vue-typescript-admin-template) (Credits: [@Armour](https://github.com/Armour))  
68 -  
69 -## Related Project  
70 -  
71 -[vue-element-admin](https://github.com/PanJiaChen/vue-element-admin)  
72 -  
73 -[electron-vue-admin](https://github.com/PanJiaChen/electron-vue-admin)  
74 -  
75 -[vue-typescript-admin-template](https://github.com/Armour/vue-typescript-admin-template)  
76 -  
77 -## Browsers support  
78 -  
79 -Modern browsers and Internet Explorer 10+.  
80 -  
81 -| [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt="IE / Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>IE / Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png" alt="Safari" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Safari |  
82 -| --------- | --------- | --------- | --------- |  
83 -| IE10, IE11, Edge| last 2 versions| last 2 versions| last 2 versions  
84 -  
85 -## License  
86 -  
87 -[MIT](https://github.com/PanJiaChen/vue-admin-template/blob/master/LICENSE) license.  
88 -  
89 -Copyright (c) 2017-present PanJiaChen 49 +##目录结构描述
  50 +├── .env.development // 测试环境配置
  51 +├── .env.production // 生产环境配置
  52 +├── .gitignore // git忽略文件
  53 +├── build // 构建相关
  54 +├── dist // 打包生成文件目录
  55 +├── mock // 模拟请求数据/逻辑
  56 +├── package.json // npm包配置文件
  57 +├── public // 静态资源目录
  58 +│ └── index.html // 入口页面
  59 +├── src // 源码目录
  60 +│ ├── api // 所有接口请求
  61 +│ ├── app.vue // 根组件
  62 +│ ├── assets // 字体图片等静态资源
  63 +│ ├── components // 公共组件目录
  64 +│ ├── filters // 全局过滤器
  65 +│ ├── icons // 图标目录
  66 +│ ├── layout // 全局框架组件
  67 +│ ├── main.js // 入口js文件
  68 +│ ├── permission.js // 权限管理
  69 +│ ├── router // 路由文件
  70 +│ ├── settings.js // 项目配置文件
  71 +│ ├── store // 配置vuex
  72 +│ ├── styles // 全局样式
  73 +│ ├── utils // 全局公用方法
  74 +│ └── views // 页面级组件目录
  75 +├── tests // 测试文件目录
  76 +└── README.md // 项目介绍
  77 +
dist/index.html
@@ -4,4 +4,4 @@ @@ -4,4 +4,4 @@
4 hm.src = "https://hm.baidu.com/hm.js?3e756fc259c02e3962e7eb61723a054d"; 4 hm.src = "https://hm.baidu.com/hm.js?3e756fc259c02e3962e7eb61723a054d";
5 var s = document.getElementsByTagName("script")[0]; 5 var s = document.getElementsByTagName("script")[0];
6 s.parentNode.insertBefore(hm, s); 6 s.parentNode.insertBefore(hm, s);
7 - })();</script><script src=static/js/chunk-elementUI.56de4181.js></script><script src=static/js/chunk-libs.b3c73886.js></script><script>(function(e){function n(n){for(var c,r,o=n[0],d=n[1],f=n[2],h=0,i=[];h<o.length;h++)r=o[h],u[r]&&i.push(u[r][0]),u[r]=0;for(c in d)Object.prototype.hasOwnProperty.call(d,c)&&(e[c]=d[c]);l&&l(n);while(i.length)i.shift()();return a.push.apply(a,f||[]),t()}function t(){for(var e,n=0;n<a.length;n++){for(var t=a[n],c=!0,r=1;r<t.length;r++){var o=t[r];0!==u[o]&&(c=!1)}c&&(a.splice(n--,1),e=d(d.s=t[0]))}return e}var c={},r={runtime:0},u={runtime:0},a=[];function o(e){return d.p+"static/js/"+({}[e]||e)+"."+{"chunk-04f2ad14":"c075c67a","chunk-06760856":"8b26a530","chunk-2642e286":"cac12d57","chunk-2d0abfd0":"533aa457","chunk-2d0b6cad":"fad6440a","chunk-8074e1f0":"d883928f","chunk-317c5273":"13a35efb","chunk-74755442":"938303c6","chunk-79345920":"eee6c5d0","chunk-8cd9cda4":"d01a90e8","chunk-9580c9fe":"c6861773","chunk-ad391102":"f9aa0dcc","chunk-be6d5882":"c3c39235","chunk-d479bee2":"fc8fed7c","chunk-e3c4182e":"79453b29"}[e]+".js"}function d(n){if(c[n])return c[n].exports;var t=c[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,d),t.l=!0,t.exports}d.e=function(e){var n=[],t={"chunk-04f2ad14":1,"chunk-06760856":1,"chunk-2642e286":1,"chunk-8074e1f0":1,"chunk-317c5273":1,"chunk-74755442":1,"chunk-79345920":1,"chunk-8cd9cda4":1,"chunk-9580c9fe":1,"chunk-ad391102":1,"chunk-be6d5882":1,"chunk-d479bee2":1,"chunk-e3c4182e":1};r[e]?n.push(r[e]):0!==r[e]&&t[e]&&n.push(r[e]=new Promise((function(n,t){for(var c="static/css/"+({}[e]||e)+"."+{"chunk-04f2ad14":"ff3611e2","chunk-06760856":"26a5a953","chunk-2642e286":"7ff8b730","chunk-2d0abfd0":"31d6cfe0","chunk-2d0b6cad":"31d6cfe0","chunk-8074e1f0":"c968fec7","chunk-317c5273":"60c60961","chunk-74755442":"38908257","chunk-79345920":"7680b7b7","chunk-8cd9cda4":"d3a971e5","chunk-9580c9fe":"478de3ea","chunk-ad391102":"e677c6f1","chunk-be6d5882":"14c34684","chunk-d479bee2":"f3672a9e","chunk-e3c4182e":"1e77dab3"}[e]+".css",u=d.p+c,a=document.getElementsByTagName("link"),o=0;o<a.length;o++){var f=a[o],h=f.getAttribute("data-href")||f.getAttribute("href");if("stylesheet"===f.rel&&(h===c||h===u))return n()}var i=document.getElementsByTagName("style");for(o=0;o<i.length;o++){f=i[o],h=f.getAttribute("data-href");if(h===c||h===u)return n()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=n,l.onerror=function(n){var c=n&&n.target&&n.target.src||u,a=new Error("Loading CSS chunk "+e+" failed.\n("+c+")");a.code="CSS_CHUNK_LOAD_FAILED",a.request=c,delete r[e],l.parentNode.removeChild(l),t(a)},l.href=u;var s=document.getElementsByTagName("head")[0];s.appendChild(l)})).then((function(){r[e]=0})));var c=u[e];if(0!==c)if(c)n.push(c[2]);else{var a=new Promise((function(n,t){c=u[e]=[n,t]}));n.push(c[2]=a);var f,h=document.createElement("script");h.charset="utf-8",h.timeout=120,d.nc&&h.setAttribute("nonce",d.nc),h.src=o(e),f=function(n){h.onerror=h.onload=null,clearTimeout(i);var t=u[e];if(0!==t){if(t){var c=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src,a=new Error("Loading chunk "+e+" failed.\n("+c+": "+r+")");a.type=c,a.request=r,t[1](a)}u[e]=void 0}};var i=setTimeout((function(){f({type:"timeout",target:h})}),12e4);h.onerror=h.onload=f,document.head.appendChild(h)}return Promise.all(n)},d.m=e,d.c=c,d.d=function(e,n,t){d.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},d.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.t=function(e,n){if(1&n&&(e=d(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(d.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var c in e)d.d(t,c,function(n){return e[n]}.bind(null,c));return t},d.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return d.d(n,"a",n),n},d.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},d.p="",d.oe=function(e){throw console.error(e),e};var f=window["webpackJsonp"]=window["webpackJsonp"]||[],h=f.push.bind(f);f.push=n,f=f.slice();for(var i=0;i<f.length;i++)n(f[i]);var l=h;t()})([]);</script><script src=static/js/app.d4969ca3.js></script></body></html>  
8 \ No newline at end of file 7 \ No newline at end of file
  8 + })();</script><script src=static/js/chunk-elementUI.56de4181.js></script><script src=static/js/chunk-libs.b3c73886.js></script><script>(function(e){function n(n){for(var c,r,o=n[0],d=n[1],f=n[2],h=0,i=[];h<o.length;h++)r=o[h],u[r]&&i.push(u[r][0]),u[r]=0;for(c in d)Object.prototype.hasOwnProperty.call(d,c)&&(e[c]=d[c]);l&&l(n);while(i.length)i.shift()();return a.push.apply(a,f||[]),t()}function t(){for(var e,n=0;n<a.length;n++){for(var t=a[n],c=!0,r=1;r<t.length;r++){var o=t[r];0!==u[o]&&(c=!1)}c&&(a.splice(n--,1),e=d(d.s=t[0]))}return e}var c={},r={runtime:0},u={runtime:0},a=[];function o(e){return d.p+"static/js/"+({}[e]||e)+"."+{"chunk-04f2ad14":"c075c67a","chunk-06760856":"8b26a530","chunk-2642e286":"cac12d57","chunk-2d0abfd0":"a8d089bd","chunk-2d0b6cad":"fad6440a","chunk-8074e1f0":"d883928f","chunk-317c5273":"13a35efb","chunk-74755442":"938303c6","chunk-79345920":"eee6c5d0","chunk-8cd9cda4":"d01a90e8","chunk-9580c9fe":"c6861773","chunk-ad391102":"f9aa0dcc","chunk-be6d5882":"c3c39235","chunk-d479bee2":"fc8fed7c","chunk-e3c4182e":"79453b29"}[e]+".js"}function d(n){if(c[n])return c[n].exports;var t=c[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,d),t.l=!0,t.exports}d.e=function(e){var n=[],t={"chunk-04f2ad14":1,"chunk-06760856":1,"chunk-2642e286":1,"chunk-8074e1f0":1,"chunk-317c5273":1,"chunk-74755442":1,"chunk-79345920":1,"chunk-8cd9cda4":1,"chunk-9580c9fe":1,"chunk-ad391102":1,"chunk-be6d5882":1,"chunk-d479bee2":1,"chunk-e3c4182e":1};r[e]?n.push(r[e]):0!==r[e]&&t[e]&&n.push(r[e]=new Promise((function(n,t){for(var c="static/css/"+({}[e]||e)+"."+{"chunk-04f2ad14":"ff3611e2","chunk-06760856":"26a5a953","chunk-2642e286":"7ff8b730","chunk-2d0abfd0":"31d6cfe0","chunk-2d0b6cad":"31d6cfe0","chunk-8074e1f0":"c968fec7","chunk-317c5273":"60c60961","chunk-74755442":"38908257","chunk-79345920":"7680b7b7","chunk-8cd9cda4":"d3a971e5","chunk-9580c9fe":"478de3ea","chunk-ad391102":"e677c6f1","chunk-be6d5882":"14c34684","chunk-d479bee2":"f3672a9e","chunk-e3c4182e":"1e77dab3"}[e]+".css",u=d.p+c,a=document.getElementsByTagName("link"),o=0;o<a.length;o++){var f=a[o],h=f.getAttribute("data-href")||f.getAttribute("href");if("stylesheet"===f.rel&&(h===c||h===u))return n()}var i=document.getElementsByTagName("style");for(o=0;o<i.length;o++){f=i[o],h=f.getAttribute("data-href");if(h===c||h===u)return n()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=n,l.onerror=function(n){var c=n&&n.target&&n.target.src||u,a=new Error("Loading CSS chunk "+e+" failed.\n("+c+")");a.code="CSS_CHUNK_LOAD_FAILED",a.request=c,delete r[e],l.parentNode.removeChild(l),t(a)},l.href=u;var s=document.getElementsByTagName("head")[0];s.appendChild(l)})).then((function(){r[e]=0})));var c=u[e];if(0!==c)if(c)n.push(c[2]);else{var a=new Promise((function(n,t){c=u[e]=[n,t]}));n.push(c[2]=a);var f,h=document.createElement("script");h.charset="utf-8",h.timeout=120,d.nc&&h.setAttribute("nonce",d.nc),h.src=o(e),f=function(n){h.onerror=h.onload=null,clearTimeout(i);var t=u[e];if(0!==t){if(t){var c=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src,a=new Error("Loading chunk "+e+" failed.\n("+c+": "+r+")");a.type=c,a.request=r,t[1](a)}u[e]=void 0}};var i=setTimeout((function(){f({type:"timeout",target:h})}),12e4);h.onerror=h.onload=f,document.head.appendChild(h)}return Promise.all(n)},d.m=e,d.c=c,d.d=function(e,n,t){d.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},d.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.t=function(e,n){if(1&n&&(e=d(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(d.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var c in e)d.d(t,c,function(n){return e[n]}.bind(null,c));return t},d.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return d.d(n,"a",n),n},d.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},d.p="",d.oe=function(e){throw console.error(e),e};var f=window["webpackJsonp"]=window["webpackJsonp"]||[],h=f.push.bind(f);f.push=n,f=f.slice();for(var i=0;i<f.length;i++)n(f[i]);var l=h;t()})([]);</script><script src=static/js/app.0888ce55.js></script></body></html>
9 \ No newline at end of file 9 \ No newline at end of file
dist/static/js/chunk-2d0abfd0.533aa457.js deleted
1 -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0abfd0"],{"182e":function(t,e,i){"use strict";i.r(e);var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("el-container",{staticStyle:{"min-height":"550px"}},[i("el-aside",{staticStyle:{"background-color":"#f8f8f9"},attrs:{width:"210px"}},[i("el-menu",{staticClass:"el-menu-vertical-demo",staticStyle:{"border-right":"none"},attrs:{"default-active":"2","background-color":"#f8f8f9","text-color":"#909399","active-text-color":"#f64556",router:""},on:{open:t.handleOpen,close:t.handleClose}},[i("el-menu-item",{staticClass:"is-active",attrs:{index:"/service/dashboard"}},[i("i",{staticClass:"el-icon-menu "}),t._v(" "),i("span",{attrs:{slot:"title"},slot:"title"},[t._v("服务首页")])]),t._v(" "),i("el-submenu",{attrs:{index:"1"}},[i("template",{slot:"title"},[i("i",{staticClass:"el-icon-bank-card"}),t._v(" "),i("span",[t._v("我的钱包")])]),t._v(" "),i("el-menu-item",{attrs:{index:"/service/account"}},[t._v("我的账户")]),t._v(" "),i("el-menu-item",{attrs:{index:"/service/cardticket"}},[t._v("我的卡券")])],2),t._v(" "),i("el-menu-item",{attrs:{index:"/service/order"}},[i("i",{staticClass:"el-icon-tickets"}),t._v(" "),i("span",{attrs:{slot:"title"},slot:"title"},[t._v("我的订单")])]),t._v(" "),i("el-menu-item",{attrs:{index:"/service/payback"}},[i("i",{staticClass:"el-icon-finished"}),t._v(" "),i("span",{attrs:{slot:"title"},slot:"title"},[t._v("欠费补缴")])]),t._v(" "),i("el-menu-item",{attrs:{index:"/service/mycar"}},[i("i",{staticClass:"el-icon-truck"}),t._v(" "),i("span",{attrs:{slot:"title"},slot:"title"},[t._v("我的车辆")])]),t._v(" "),i("el-submenu",{attrs:{index:"2"}},[i("template",{slot:"title"},[i("i",{staticClass:"el-icon-user-solid"}),t._v(" "),i("span",[t._v("个人中心")])]),t._v(" "),i("el-menu-item",{attrs:{index:"/service/information"}},[t._v("个人资料")]),t._v(" "),i("el-menu-item",{attrs:{index:"/service/myevaluate"}},[t._v("我的评价")])],2),t._v(" "),i("el-menu-item",{on:{click:t.logout}},[i("i",{staticClass:"el-icon-switch-button"}),t._v(" "),i("span",{attrs:{slot:"title"},slot:"title"},[t._v("退出服务")])])],1)],1),t._v(" "),i("el-main",{staticClass:"app-container",staticStyle:{"background-color":"#f0f2f5"}},[i("router-view",{key:t.key})],1)],1)],1)},n=[],a=(i("6a61"),i("6764")),l={computed:{key:function(){return this.index}},methods:{handleOpen:function(t,e){console.log(t,e)},handleClose:function(t,e){console.log(t,e)},logout:function(){var t=Object(a["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$store.dispatch("user/logout");case 2:this.$router.push("/login?redirect=".concat(this.$route.fullPath));case 3:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()}},r=l,c=i("4ac2"),o=Object(c["a"])(r,s,n,!1,null,"ca97c798",null);e["default"]=o.exports}}]);  
2 \ No newline at end of file 0 \ No newline at end of file
package.json
1 { 1 {
2 - "name": "vue-admin-template",  
3 - "version": "4.2.1",  
4 - "description": "A vue admin template with Element UI & axios & iconfont & permission control & lint",  
5 - "author": "Pan <panfree23@gmail.com>",  
6 - "license": "MIT", 2 + "name": "hspark",
  3 + "version": "1.2.0",
  4 + "description": "黄石停车官网",
  5 + "author": "chenbiao",
7 "scripts": { 6 "scripts": {
8 "dev": "vue-cli-service serve", 7 "dev": "vue-cli-service serve",
9 "build:prod": "vue-cli-service build", 8 "build:prod": "vue-cli-service build",