vue-admin
基于Vue.js 2.x系列 + Element UI + RBAC/AUTH权限 的后台管理系统
前言
项目前端地址:https://github.com/lmxdawn/vue-admin-html
项目JAVA后端地址:https://github.com/lmxdawn/vue-admin-java
项目PHP后端地址:https://github.com/lmxdawn/vue-admin-php
欢迎大家的star
Repository: lmxdawn/vue-admin-html-java Branch: master Commit: a6f411d113ee Files: 89 Total size: 487.8 KB Directory structure: gitextract_k7zx32wr/ ├── .editorconfig ├── .eslintrc.js ├── .gitignore ├── .postcssrc.js ├── LICENSE ├── README.md ├── babel.config.js ├── jest.config.js ├── package.json ├── public/ │ ├── index-dev.html │ ├── index.html │ └── tinymce4.7.5/ │ ├── langs/ │ │ └── zh_CN.js │ └── plugins/ │ ├── codesample/ │ │ └── css/ │ │ └── prism.css │ └── visualblocks/ │ └── css/ │ └── visualblocks.css ├── src/ │ ├── App.vue │ ├── api/ │ │ ├── ad/ │ │ │ ├── ad.js │ │ │ └── adSite.js │ │ ├── auth/ │ │ │ ├── authAdmin.js │ │ │ ├── authPermissionRule.js │ │ │ ├── authRole.js │ │ │ └── login.js │ │ └── file/ │ │ ├── fileResource.js │ │ ├── fileResourceTag.js │ │ └── upload.js │ ├── assets/ │ │ └── icons/ │ │ ├── demo.css │ │ ├── demo_fontclass.html │ │ ├── demo_symbol.html │ │ ├── demo_unicode.html │ │ ├── iconfont.css │ │ └── iconfont.js │ ├── components/ │ │ ├── File/ │ │ │ ├── Upload.vue │ │ │ └── Upload1.vue │ │ ├── HelloWorld.vue │ │ ├── Tinymce/ │ │ │ ├── index.vue │ │ │ ├── plugins.js │ │ │ └── toolbar.js │ │ └── common/ │ │ ├── FileResource.vue │ │ └── IconSvg.vue │ ├── config/ │ │ └── app.js │ ├── constants/ │ │ └── .gitignore │ ├── element.js │ ├── filtres/ │ │ └── index.js │ ├── main.js │ ├── mock/ │ │ ├── ad.js │ │ ├── adSite.js │ │ ├── authAdmin.js │ │ ├── authPermissionRule.js │ │ ├── authRole.js │ │ ├── fileResource.js │ │ ├── fileResourceTag.js │ │ ├── index.js │ │ ├── login.js │ │ └── upload.js │ ├── role.js │ ├── router/ │ │ └── index.js │ ├── store/ │ │ ├── actions.js │ │ ├── getters.js │ │ ├── index.js │ │ ├── modules/ │ │ │ ├── admin.js │ │ │ └── app.js │ │ └── mutation-types.js │ ├── styles/ │ │ ├── base.scss │ │ └── mixin.scss │ ├── utils/ │ │ ├── auth.js │ │ ├── axios.js │ │ ├── haiZiToPinYin.js │ │ └── store.js │ └── views/ │ ├── adManage/ │ │ ├── ad.vue │ │ └── adSite.vue │ ├── components/ │ │ ├── tinymce-demo.vue │ │ ├── upload-demo.vue │ │ └── uploadList.vue │ ├── error/ │ │ ├── err401.vue │ │ ├── err404.vue │ │ └── err500.vue │ ├── home/ │ │ ├── SidebarItem.vue │ │ ├── TabsView.vue │ │ ├── index-3.0.1.vue │ │ ├── index.vue │ │ └── main.vue │ ├── login/ │ │ └── index.vue │ ├── profile/ │ │ └── index.vue │ └── userManage/ │ └── admin/ │ ├── authAdmin.vue │ ├── authPermissionRule.vue │ ├── authRole.vue │ └── router.vue ├── tests/ │ └── unit/ │ ├── .eslintrc.js │ └── HelloWorld.spec.js └── vue.config.js ================================================ FILE CONTENTS ================================================ ================================================ FILE: .editorconfig ================================================ root = true [*] charset = utf-8 indent_style = space indent_size = 4 end_of_line = lf insert_final_newline = true trim_trailing_whitespace = true ================================================ FILE: .eslintrc.js ================================================ module.exports = { root: true, env: { node: true }, 'extends': [ 'plugin:vue/essential', '@vue/prettier' ], plugins: [ 'vue' ], rules: { 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off', 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off' }, parserOptions: { parser: 'babel-eslint' } } ================================================ FILE: .gitignore ================================================ .DS_Store node_modules /dist /stage # local env files .env.local .env.*.local # Log files npm-debug.log* yarn-debug.log* yarn-error.log* # Editor directories and files .idea .vscode *.suo *.ntvs* *.njsproj *.sln *.sw* ================================================ FILE: .postcssrc.js ================================================ module.exports = { plugins: { autoprefixer: {} } } ================================================ FILE: LICENSE ================================================ MIT License Copyright (c) 2018 lmxdawn 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. ================================================ FILE: README.md ================================================
font-class是unicode使用方式的一种变种,主要是解决unicode书写不直观,语意不明确的问题。
与unicode使用方式相比,具有如下特点:
使用步骤如下:
<link rel="stylesheet" type="text/css" href="./iconfont.css">
<i class="iconfont icon-xxx"></i>
"iconfont"是你项目下的font-family。可以通过编辑项目查看,默认是"iconfont"。
这是一种全新的使用方式,应该说这才是未来的主流,也是平台目前推荐的用法。相关介绍可以参考这篇文章 这种用法其实是做了一个svg的集合,与另外两种相比具有如下特点:
font-size,color来调整样式。使用步骤如下:
<script src="./iconfont.js"></script>
<style type="text/css">
.icon {
width: 1em; height: 1em;
vertical-align: -0.15em;
fill: currentColor;
overflow: hidden;
}
</style>
<svg class="icon" aria-hidden="true">
<use xlink:href="#icon-xxx"></use>
</svg>
unicode是字体在网页端最原始的应用方式,特点是:
注意:新版iconfont支持多色图标,这些多色图标在unicode模式下将不能使用,如果有需求建议使用symbol的引用方式
unicode使用步骤如下:
@font-face {
font-family: 'iconfont';
src: url('iconfont.eot');
src: url('iconfont.eot?#iefix') format('embedded-opentype'),
url('iconfont.woff') format('woff'),
url('iconfont.ttf') format('truetype'),
url('iconfont.svg#iconfont') format('svg');
}
.iconfont{
font-family:"iconfont" !important;
font-size:16px;font-style:normal;
-webkit-font-smoothing: antialiased;
-webkit-text-stroke-width: 0.2px;
-moz-osx-font-smoothing: grayscale;
}
<i class="iconfont">3</i>
"iconfont"是你项目下的font-family。可以通过编辑项目查看,默认是"iconfont"。
For guide and recipes on how to configure / customize this project,
check out the
vue-cli documentation.
基于Vue.js 2.x系列 + Element UI + RBAC/AUTH权限 的后台管理系统
项目前端地址:https://github.com/lmxdawn/vue-admin-html
项目JAVA后端地址:https://github.com/lmxdawn/vue-admin-java
项目PHP后端地址:https://github.com/lmxdawn/vue-admin-php
欢迎大家的star