diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 6151575..0000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2017-present PanJiaChen - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/README-zh.md b/README-zh.md deleted file mode 100644 index 32243a4..0000000 --- a/README-zh.md +++ /dev/null @@ -1,96 +0,0 @@ -# vue-admin-template - -> 这是一个极简的 vue admin 管理后台。它只包含了 Element UI & axios & iconfont & permission control & lint,这些搭建后台必要的东西。 - -[线上地址](http://panjiachen.github.io/vue-admin-template) - -[国内访问](https://panjiachen.gitee.io/vue-admin-template) - -目前版本为 `v4.0+` 基于 `vue-cli` 进行构建,若你想使用旧版本,可以切换分支到[tag/3.11.0](https://github.com/PanJiaChen/vue-admin-template/tree/tag/3.11.0),它不依赖 `vue-cli`。 - -## Extra - -如果你想要根据用户角色来动态生成侧边栏和 router,你可以使用该分支[permission-control](https://github.com/PanJiaChen/vue-admin-template/tree/permission-control) - -## 相关项目 - -[vue-element-admin](https://github.com/PanJiaChen/vue-element-admin) - -[electron-vue-admin](https://github.com/PanJiaChen/electron-vue-admin) - -[vue-typescript-admin-template](https://github.com/Armour/vue-typescript-admin-template) - -写了一个系列的教程配套文章,如何从零构建后一个完整的后台项目: - -- [手摸手,带你用 vue 撸后台 系列一(基础篇)](https://juejin.im/post/59097cd7a22b9d0065fb61d2) -- [手摸手,带你用 vue 撸后台 系列二(登录权限篇)](https://juejin.im/post/591aa14f570c35006961acac) -- [手摸手,带你用 vue 撸后台 系列三 (实战篇)](https://juejin.im/post/593121aa0ce4630057f70d35) -- [手摸手,带你用 vue 撸后台 系列四(vueAdmin 一个极简的后台基础模板,专门针对本项目的文章,算作是一篇文档)](https://juejin.im/post/595b4d776fb9a06bbe7dba56) -- [手摸手,带你封装一个 vue component](https://segmentfault.com/a/1190000009090836) - -## Build Setup - -```bash -# 克隆项目 -git clone https://github.com/PanJiaChen/vue-admin-template.git - -# 进入项目目录 -cd vue-admin-template - -# 安装依赖 -npm install - -# 建议不要直接使用 cnpm 安装以来,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题 -npm install --registry=https://registry.npm.taobao.org - -# 启动服务 -npm run dev -``` - -浏览器访问 [http://localhost:9528](http://localhost:9528) - -## 发布 - -```bash -# 构建测试环境 -npm run build:stage - -# 构建生产环境 -npm run build:prod -``` - -## 其它 - -```bash -# 预览发布环境效果 -npm run preview - -# 预览发布环境效果 + 静态资源分析 -npm run preview -- --report - -# 代码格式检查 -npm run lint - -# 代码格式检查并自动修复 -npm run lint -- --fix -``` - -更多信息请参考 [使用文档](https://panjiachen.github.io/vue-element-admin-site/zh/) - -## Demo - -![demo](https://github.com/PanJiaChen/PanJiaChen.github.io/blob/master/images/demo.gif) - -## Browsers support - -Modern browsers and Internet Explorer 10+. - -| [IE / Edge](http://godban.github.io/browsers-support-badges/)
IE / Edge | [Firefox](http://godban.github.io/browsers-support-badges/)
Firefox | [Chrome](http://godban.github.io/browsers-support-badges/)
Chrome | [Safari](http://godban.github.io/browsers-support-badges/)
Safari | -| --------- | --------- | --------- | --------- | -| IE10, IE11, Edge| last 2 versions| last 2 versions| last 2 versions - -## License - -[MIT](https://github.com/PanJiaChen/vue-admin-template/blob/master/LICENSE) license. - -Copyright (c) 2017-present PanJiaChen diff --git a/README.md b/README.md index f15c935..ffc0e50 100644 --- a/README.md +++ b/README.md @@ -1,89 +1,77 @@ -# vue-admin-template +# 黄石官网 +> 黄石停车官网:包含首页,停车服务模块,官网中心模块,黄石停车app介绍以及关于我们等模块,分模块具体介绍了相关功能以及各类解决方案。 -English | [简体中文](./README-zh.md) +##环境依赖 -> A minimal vue admin template with Element UI & axios & iconfont & permission control & lint - -**Live demo:** http://panjiachen.github.io/vue-admin-template - - -**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`** - -## Build Setup +>node v8.9+ +## 项目启动 ```bash -# clone the project -git clone https://github.com/PanJiaChen/vue-admin-template.git - -# enter the project directory -cd vue-admin-template - -# install dependency +# 安装依赖 npm install -# develop +# 建议不要直接使用 cnpm 安装以来,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题 +npm install --registry=https://registry.npm.taobao.org + +# 启动服务 npm run dev ``` -This will automatically open http://localhost:9528 +项目访问: [http://localhost:9531](http://localhost:9531) -## Build +## 发布 ```bash -# build for test environment +# 构建测试环境 npm run build:stage -# build for production environment +# 构建生产环境 npm run build:prod ``` -## Advanced +## 其它 ```bash -# preview the release environment effect +# 预览发布环境效果 npm run preview -# preview the release environment effect + static resource analysis +# 预览发布环境效果 + 静态资源分析 npm run preview -- --report -# code format check +# 代码格式检查 npm run lint -# code format check and auto fix +# 代码格式检查并自动修复 npm run lint -- --fix ``` -Refer to [Documentation](https://panjiachen.github.io/vue-element-admin-site/guide/essentials/deploy.html) for more information - -## Demo - -![demo](https://github.com/PanJiaChen/PanJiaChen.github.io/blob/master/images/demo.gif) - -## Extra - -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) - -For `typescript` version, you can use [vue-typescript-admin-template](https://github.com/Armour/vue-typescript-admin-template) (Credits: [@Armour](https://github.com/Armour)) - -## Related Project - -[vue-element-admin](https://github.com/PanJiaChen/vue-element-admin) - -[electron-vue-admin](https://github.com/PanJiaChen/electron-vue-admin) - -[vue-typescript-admin-template](https://github.com/Armour/vue-typescript-admin-template) - -## Browsers support - -Modern browsers and Internet Explorer 10+. - -| [IE / Edge](http://godban.github.io/browsers-support-badges/)
IE / Edge | [Firefox](http://godban.github.io/browsers-support-badges/)
Firefox | [Chrome](http://godban.github.io/browsers-support-badges/)
Chrome | [Safari](http://godban.github.io/browsers-support-badges/)
Safari | -| --------- | --------- | --------- | --------- | -| IE10, IE11, Edge| last 2 versions| last 2 versions| last 2 versions - -## License - -[MIT](https://github.com/PanJiaChen/vue-admin-template/blob/master/LICENSE) license. - -Copyright (c) 2017-present PanJiaChen +##目录结构描述 +├── .env.development // 测试环境配置 +├── .env.production // 生产环境配置 +├── .gitignore // git忽略文件 +├── build // 构建相关 +├── dist // 打包生成文件目录 +├── mock // 模拟请求数据/逻辑 +├── package.json // npm包配置文件 +├── public // 静态资源目录 +│ └── index.html // 入口页面 +├── src // 源码目录 +│ ├── api // 所有接口请求 +│ ├── app.vue // 根组件 +│ ├── assets // 字体图片等静态资源 +│ ├── components // 公共组件目录 +│ ├── filters // 全局过滤器 +│ ├── icons // 图标目录 +│ ├── layout // 全局框架组件 +│ ├── main.js // 入口js文件 +│ ├── permission.js // 权限管理 +│ ├── router // 路由文件 +│ ├── settings.js // 项目配置文件 +│ ├── store // 配置vuex +│ ├── styles // 全局样式 +│ ├── utils // 全局公用方法 +│ └── views // 页面级组件目录 +├── tests // 测试文件目录 +└── README.md // 项目介绍 + diff --git a/dist/index.html b/dist/index.html index 5729cb7..45eecb1 100644 --- a/dist/index.html +++ b/dist/index.html @@ -4,4 +4,4 @@ hm.src = "https://hm.baidu.com/hm.js?3e756fc259c02e3962e7eb61723a054d"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); - })(); \ No newline at end of file + })(); \ No newline at end of file diff --git a/dist/static/js/chunk-2d0abfd0.533aa457.js b/dist/static/js/chunk-2d0abfd0.533aa457.js deleted file mode 100644 index e682325..0000000 --- a/dist/static/js/chunk-2d0abfd0.533aa457.js +++ /dev/null @@ -1 +0,0 @@ -(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}}]); \ No newline at end of file diff --git a/package.json b/package.json index 5085bf2..115469e 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,8 @@ { - "name": "vue-admin-template", - "version": "4.2.1", - "description": "A vue admin template with Element UI & axios & iconfont & permission control & lint", - "author": "Pan ", - "license": "MIT", + "name": "hspark", + "version": "1.2.0", + "description": "黄石停车官网", + "author": "chenbiao", "scripts": { "dev": "vue-cli-service serve", "build:prod": "vue-cli-service build",