1730532197@qq.com

lwj-前端项目提交

Showing 199 changed files with 9131 additions and 0 deletions
1 +# 告诉EditorConfig插件,这是根文件,不用继续往上查找
2 +root = true
3 +
4 +# 匹配全部文件
5 +[*]
6 +# 设置字符集
7 +charset = utf-8
8 +# 缩进风格,可选space、tab
9 +indent_style = space
10 +# 缩进的空格数
11 +indent_size = 2
12 +# 结尾换行符,可选lf、cr、crlf
13 +end_of_line = lf
14 +# 在文件结尾插入新行
15 +insert_final_newline = true
16 +# 删除一行中的前后空格
17 +trim_trailing_whitespace = true
18 +
19 +# 匹配md结尾的文件
20 +[*.md]
21 +insert_final_newline = false
22 +trim_trailing_whitespace = false
1 +# 开发环境配置
2 +ENV = 'development'
3 +
4 +# 若依管理系统/开发环境
5 +VUE_APP_BASE_API = '/dev-api'
6 +
7 +# 路由懒加载
8 +VUE_CLI_BABEL_TRANSPILE_MODULES = true
1 +# 生产环境配置
2 +ENV = 'production'
3 +
4 +# 若依管理系统/生产环境
5 +VUE_APP_BASE_API = '/prod-api'
1 +NODE_ENV = production
2 +
3 +# 测试环境配置
4 +ENV = 'staging'
5 +
6 +# 若依管理系统/测试环境
7 +VUE_APP_BASE_API = '/stage-api'
1 +# 忽略build目录下类型为js的文件的语法检查
2 +build/*.js
3 +# 忽略src/assets目录下文件的语法检查
4 +src/assets
5 +# 忽略public目录下文件的语法检查
6 +public
7 +# 忽略当前目录下为js的文件的语法检查
8 +*.js
9 +# 忽略当前目录下为vue的文件的语法检查
10 +*.vue
...\ No newline at end of file ...\ No newline at end of file
1 +// ESlint 检查配置
2 +module.exports = {
3 + root: true,
4 + parserOptions: {
5 + parser: 'babel-eslint',
6 + sourceType: 'module'
7 + },
8 + env: {
9 + browser: true,
10 + node: true,
11 + es6: true,
12 + },
13 + extends: ['plugin:vue/recommended', 'eslint:recommended'],
14 +
15 + // add your custom rules here
16 + //it is base on https://github.com/vuejs/eslint-config-vue
17 + rules: {
18 + "vue/max-attributes-per-line": [2, {
19 + "singleline": 10,
20 + "multiline": {
21 + "max": 1,
22 + "allowFirstLine": false
23 + }
24 + }],
25 + "vue/singleline-html-element-content-newline": "off",
26 + "vue/multiline-html-element-content-newline":"off",
27 + "vue/name-property-casing": ["error", "PascalCase"],
28 + "vue/no-v-html": "off",
29 + 'accessor-pairs': 2,
30 + 'arrow-spacing': [2, {
31 + 'before': true,
32 + 'after': true
33 + }],
34 + 'block-spacing': [2, 'always'],
35 + 'brace-style': [2, '1tbs', {
36 + 'allowSingleLine': true
37 + }],
38 + 'camelcase': [0, {
39 + 'properties': 'always'
40 + }],
41 + 'comma-dangle': [2, 'never'],
42 + 'comma-spacing': [2, {
43 + 'before': false,
44 + 'after': true
45 + }],
46 + 'comma-style': [2, 'last'],
47 + 'constructor-super': 2,
48 + 'curly': [2, 'multi-line'],
49 + 'dot-location': [2, 'property'],
50 + 'eol-last': 2,
51 + 'eqeqeq': ["error", "always", {"null": "ignore"}],
52 + 'generator-star-spacing': [2, {
53 + 'before': true,
54 + 'after': true
55 + }],
56 + 'handle-callback-err': [2, '^(err|error)$'],
57 + 'indent': [2, 2, {
58 + 'SwitchCase': 1
59 + }],
60 + 'jsx-quotes': [2, 'prefer-single'],
61 + 'key-spacing': [2, {
62 + 'beforeColon': false,
63 + 'afterColon': true
64 + }],
65 + 'keyword-spacing': [2, {
66 + 'before': true,
67 + 'after': true
68 + }],
69 + 'new-cap': [2, {
70 + 'newIsCap': true,
71 + 'capIsNew': false
72 + }],
73 + 'new-parens': 2,
74 + 'no-array-constructor': 2,
75 + 'no-caller': 2,
76 + 'no-console': 'off',
77 + 'no-class-assign': 2,
78 + 'no-cond-assign': 2,
79 + 'no-const-assign': 2,
80 + 'no-control-regex': 0,
81 + 'no-delete-var': 2,
82 + 'no-dupe-args': 2,
83 + 'no-dupe-class-members': 2,
84 + 'no-dupe-keys': 2,
85 + 'no-duplicate-case': 2,
86 + 'no-empty-character-class': 2,
87 + 'no-empty-pattern': 2,
88 + 'no-eval': 2,
89 + 'no-ex-assign': 2,
90 + 'no-extend-native': 2,
91 + 'no-extra-bind': 2,
92 + 'no-extra-boolean-cast': 2,
93 + 'no-extra-parens': [2, 'functions'],
94 + 'no-fallthrough': 2,
95 + 'no-floating-decimal': 2,
96 + 'no-func-assign': 2,
97 + 'no-implied-eval': 2,
98 + 'no-inner-declarations': [2, 'functions'],
99 + 'no-invalid-regexp': 2,
100 + 'no-irregular-whitespace': 2,
101 + 'no-iterator': 2,
102 + 'no-label-var': 2,
103 + 'no-labels': [2, {
104 + 'allowLoop': false,
105 + 'allowSwitch': false
106 + }],
107 + 'no-lone-blocks': 2,
108 + 'no-mixed-spaces-and-tabs': 2,
109 + 'no-multi-spaces': 2,
110 + 'no-multi-str': 2,
111 + 'no-multiple-empty-lines': [2, {
112 + 'max': 1
113 + }],
114 + 'no-native-reassign': 2,
115 + 'no-negated-in-lhs': 2,
116 + 'no-new-object': 2,
117 + 'no-new-require': 2,
118 + 'no-new-symbol': 2,
119 + 'no-new-wrappers': 2,
120 + 'no-obj-calls': 2,
121 + 'no-octal': 2,
122 + 'no-octal-escape': 2,
123 + 'no-path-concat': 2,
124 + 'no-proto': 2,
125 + 'no-redeclare': 2,
126 + 'no-regex-spaces': 2,
127 + 'no-return-assign': [2, 'except-parens'],
128 + 'no-self-assign': 2,
129 + 'no-self-compare': 2,
130 + 'no-sequences': 2,
131 + 'no-shadow-restricted-names': 2,
132 + 'no-spaced-func': 2,
133 + 'no-sparse-arrays': 2,
134 + 'no-this-before-super': 2,
135 + 'no-throw-literal': 2,
136 + 'no-trailing-spaces': 2,
137 + 'no-undef': 2,
138 + 'no-undef-init': 2,
139 + 'no-unexpected-multiline': 2,
140 + 'no-unmodified-loop-condition': 2,
141 + 'no-unneeded-ternary': [2, {
142 + 'defaultAssignment': false
143 + }],
144 + 'no-unreachable': 2,
145 + 'no-unsafe-finally': 2,
146 + 'no-unused-vars': [2, {
147 + 'vars': 'all',
148 + 'args': 'none'
149 + }],
150 + 'no-useless-call': 2,
151 + 'no-useless-computed-key': 2,
152 + 'no-useless-constructor': 2,
153 + 'no-useless-escape': 0,
154 + 'no-whitespace-before-property': 2,
155 + 'no-with': 2,
156 + 'one-var': [2, {
157 + 'initialized': 'never'
158 + }],
159 + 'operator-linebreak': [2, 'after', {
160 + 'overrides': {
161 + '?': 'before',
162 + ':': 'before'
163 + }
164 + }],
165 + 'padded-blocks': [2, 'never'],
166 + 'quotes': [2, 'single', {
167 + 'avoidEscape': true,
168 + 'allowTemplateLiterals': true
169 + }],
170 + 'semi': [2, 'never'],
171 + 'semi-spacing': [2, {
172 + 'before': false,
173 + 'after': true
174 + }],
175 + 'space-before-blocks': [2, 'always'],
176 + 'space-before-function-paren': [2, 'never'],
177 + 'space-in-parens': [2, 'never'],
178 + 'space-infix-ops': 2,
179 + 'space-unary-ops': [2, {
180 + 'words': true,
181 + 'nonwords': false
182 + }],
183 + 'spaced-comment': [2, 'always', {
184 + 'markers': ['global', 'globals', 'eslint', 'eslint-disable', '*package', '!', ',']
185 + }],
186 + 'template-curly-spacing': [2, 'never'],
187 + 'use-isnan': 2,
188 + 'valid-typeof': 2,
189 + 'wrap-iife': [2, 'any'],
190 + 'yield-star-spacing': [2, 'both'],
191 + 'yoda': [2, 'never'],
192 + 'prefer-const': 2,
193 + 'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
194 + 'object-curly-spacing': [2, 'always', {
195 + objectsInObjects: false
196 + }],
197 + 'array-bracket-spacing': [2, 'never']
198 + }
199 +}
1 +.DS_Store
2 +node_modules/
3 +dist/
4 +npm-debug.log*
5 +yarn-debug.log*
6 +yarn-error.log*
7 +**/*.log
8 +
9 +tests/**/coverage/
10 +tests/e2e/reports
11 +selenium-debug.log
12 +
13 +# Editor directories and files
14 +.idea
15 +.vscode
16 +*.suo
17 +*.ntvs*
18 +*.njsproj
19 +*.sln
20 +*.local
21 +
22 +package-lock.json
23 +yarn.lock
1 +## 开发
2 +
3 +```bash
4 +# 克隆项目
5 +git clone https://gitee.com/y_project/RuoYi-Vue
6 +
7 +# 进入项目目录
8 +cd ruoyi-ui
9 +
10 +# 安装依赖
11 +npm install
12 +
13 +# 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题
14 +npm install --registry=https://registry.npm.taobao.org
15 +
16 +# 启动服务
17 +npm run dev
18 +```
19 +
20 +浏览器访问 http://localhost:80
21 +
22 +## 发布
23 +
24 +```bash
25 +# 构建测试环境
26 +npm run build:stage
27 +
28 +# 构建生产环境
29 +npm run build:prod
30 +```
...\ No newline at end of file ...\ No newline at end of file
1 +module.exports = {
2 + presets: [
3 + // https://github.com/vuejs/vue-cli/tree/master/packages/@vue/babel-preset-app
4 + '@vue/cli-plugin-babel/preset'
5 + ],
6 + 'env': {
7 + 'development': {
8 + // babel-plugin-dynamic-import-node plugin only does one thing by converting all import() to require().
9 + // This plugin can significantly increase the speed of hot updates, when you have a large number of pages.
10 + 'plugins': ['dynamic-import-node']
11 + }
12 + }
13 +}
1 +@echo off
2 +echo.
3 +echo [信息] 打包Web工程,生成dist文件。
4 +echo.
5 +
6 +%~d0
7 +cd %~dp0
8 +
9 +cd ..
10 +npm run build:prod
11 +
12 +pause
...\ No newline at end of file ...\ No newline at end of file
1 +@echo off
2 +echo.
3 +echo [信息] 安装Web工程,生成node_modules文件。
4 +echo.
5 +
6 +%~d0
7 +cd %~dp0
8 +
9 +cd ..
10 +npm install --registry=https://registry.npm.taobao.org
11 +
12 +pause
...\ No newline at end of file ...\ No newline at end of file
1 +@echo off
2 +echo.
3 +echo [Ϣ] ʹ Vue Web ̡
4 +echo.
5 +
6 +%~d0
7 +cd %~dp0
8 +
9 +cd ..
10 +npm run dev
11 +
12 +pause
...\ No newline at end of file ...\ No newline at end of file
1 +const { run } = require('runjs')
2 +const chalk = require('chalk')
3 +const config = require('../vue.config.js')
4 +const rawArgv = process.argv.slice(2)
5 +const args = rawArgv.join(' ')
6 +
7 +if (process.env.npm_config_preview || rawArgv.includes('--preview')) {
8 + const report = rawArgv.includes('--report')
9 +
10 + run(`vue-cli-service build ${args}`)
11 +
12 + const port = 9526
13 + const publicPath = config.publicPath
14 +
15 + var connect = require('connect')
16 + var serveStatic = require('serve-static')
17 + const app = connect()
18 +
19 + app.use(
20 + publicPath,
21 + serveStatic('./dist', {
22 + index: ['index.html', '/']
23 + })
24 + )
25 +
26 + app.listen(port, function () {
27 + console.log(chalk.green(`> Preview at http://localhost:${port}${publicPath}`))
28 + if (report) {
29 + console.log(chalk.green(`> Report at http://localhost:${port}${publicPath}report.html`))
30 + }
31 +
32 + })
33 +} else {
34 + run(`vue-cli-service build ${args}`)
35 +}
1 +{
2 + "name": "ruoyi",
3 + "version": "3.5.0",
4 + "description": "若依管理系统",
5 + "author": "若依",
6 + "license": "MIT",
7 + "scripts": {
8 + "dev": "vue-cli-service serve",
9 + "build:prod": "vue-cli-service build",
10 + "build:stage": "vue-cli-service build --mode staging",
11 + "preview": "node build/index.js --preview",
12 + "lint": "eslint --ext .js,.vue src"
13 + },
14 + "husky": {
15 + "hooks": {
16 + "pre-commit": "lint-staged"
17 + }
18 + },
19 + "lint-staged": {
20 + "src/**/*.{js,vue}": [
21 + "eslint --fix",
22 + "git add"
23 + ]
24 + },
25 + "keywords": [
26 + "vue",
27 + "admin",
28 + "dashboard",
29 + "element-ui",
30 + "boilerplate",
31 + "admin-template",
32 + "management-system"
33 + ],
34 + "repository": {
35 + "type": "git",
36 + "url": "https://gitee.com/y_project/RuoYi-Vue.git"
37 + },
38 + "dependencies": {
39 + "@riophae/vue-treeselect": "0.4.0",
40 + "axios": "0.21.1",
41 + "clipboard": "2.0.8",
42 + "core-js": "3.8.3",
43 + "echarts": "4.9.0",
44 + "element-ui": "2.15.3",
45 + "file-saver": "2.0.5",
46 + "fuse.js": "6.4.6",
47 + "highlight.js": "9.18.5",
48 + "js-beautify": "1.13.13",
49 + "js-cookie": "2.2.1",
50 + "jsencrypt": "3.0.3",
51 + "nprogress": "0.2.0",
52 + "quill": "1.3.7",
53 + "screenfull": "5.0.2",
54 + "sortablejs": "1.10.2",
55 + "vue": "2.6.14",
56 + "vue-count-to": "1.0.13",
57 + "vue-cropper": "0.5.6",
58 + "vue-router": "3.5.2",
59 + "vuedraggable": "2.24.3",
60 + "vuex": "3.6.2"
61 + },
62 + "devDependencies": {
63 + "@vue/cli-plugin-babel": "4.5.13",
64 + "@vue/cli-plugin-eslint": "4.5.13",
65 + "@vue/cli-service": "4.5.13",
66 + "babel-eslint": "10.1.0",
67 + "chalk": "4.1.1",
68 + "connect": "3.6.6",
69 + "eslint": "7.30.0",
70 + "eslint-plugin-vue": "7.12.1",
71 + "lint-staged": "10.5.4",
72 + "runjs": "4.4.2",
73 + "sass": "1.35.1",
74 + "sass-loader": "10.2.0",
75 + "script-ext-html-webpack-plugin": "2.1.5",
76 + "svg-sprite-loader": "5.2.1",
77 + "vue-template-compiler": "2.6.14"
78 + },
79 + "engines": {
80 + "node": ">=8.9",
81 + "npm": ">= 3.0.0"
82 + },
83 + "browserslist": [
84 + "> 1%",
85 + "last 2 versions"
86 + ]
87 +}
1 +{
2 + "name": "ruoyi",
3 + "version": "3.5.0",
4 + "description": "若依管理系统",
5 + "author": "若依",
6 + "license": "MIT",
7 + "scripts": {
8 + "dev": "vue-cli-service serve",
9 + "build:prod": "vue-cli-service build",
10 + "build:stage": "vue-cli-service build --mode staging",
11 + "preview": "node build/index.js --preview",
12 + "lint": "eslint --ext .js,.vue src"
13 + },
14 + "husky": {
15 + "hooks": {
16 + "pre-commit": "lint-staged"
17 + }
18 + },
19 + "lint-staged": {
20 + "src/**/*.{js,vue}": [
21 + "eslint --fix",
22 + "git add"
23 + ]
24 + },
25 + "keywords": [
26 + "vue",
27 + "admin",
28 + "dashboard",
29 + "element-ui",
30 + "boilerplate",
31 + "admin-template",
32 + "management-system"
33 + ],
34 + "repository": {
35 + "type": "git",
36 + "url": "https://gitee.com/y_project/RuoYi-Vue.git"
37 + },
38 + "dependencies": {
39 + "axios": "0.21.1",
40 + "core-js": "3.8.3",
41 + "element-ui": "2.15.3",
42 + "vue": "2.6.14",
43 + "vue-router": "3.5.2",
44 + "vuex": "3.6.2"
45 + },
46 + "devDependencies": {
47 + "@vue/cli-plugin-babel": "4.5.13",
48 + "@vue/cli-plugin-eslint": "4.5.13",
49 + "@vue/cli-service": "4.5.13",
50 + "babel-eslint": "10.1.0",
51 + "chalk": "4.1.1",
52 + "connect": "3.6.6",
53 + "eslint": "7.30.0",
54 + "eslint-plugin-vue": "7.12.1",
55 + "lint-staged": "10.5.4",
56 + "runjs": "4.4.2",
57 + "sass": "1.35.1",
58 + "sass-loader": "10.2.0",
59 + "script-ext-html-webpack-plugin": "2.1.5",
60 + "svg-sprite-loader": "5.2.1",
61 + "vue-template-compiler": "2.6.14"
62 + },
63 + "engines": {
64 + "node": ">=8.9",
65 + "npm": ">= 3.0.0"
66 + },
67 + "browserslist": [
68 + "> 1%",
69 + "last 2 versions"
70 + ]
71 +}
No preview for this file type
1 +
2 +<!DOCTYPE html>
3 +<html lang="zh-CN">
4 +<head>
5 + <meta charset="UTF-8" />
6 + <title>请升级您的浏览器</title>
7 + <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" >
8 + <meta name="renderer" content="webkit">
9 + <base target="_blank" />
10 + <style type="text/css">
11 + html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}
12 + a{text-decoration:none;color:#0072c6;}a:hover{text-decoration:none;color:#004d8c;}
13 + body{width:960px;margin:0 auto;padding:10px;font-size:14px;line-height:24px;color:#454545;font-family:'Microsoft YaHei UI','Microsoft YaHei',DengXian,SimSun,'Segoe UI',Tahoma,Helvetica,sans-serif;overflow-y:scroll}
14 + h1{font-size:40px;line-height:80px;font-weight:100;margin-bottom:10px;}
15 + h2{font-size:20px;line-height:25px;font-weight:100;margin:10px 0;}
16 + em{color:red}
17 + p{margin-bottom:10px;}
18 + hr{margin:20px 0;border:0;border-top:1px solid #dadada}
19 + span{display:block;font-size:12px;line-height:12px;}
20 + .clean{clear:both;}
21 + .browser{padding:10px 10px;}
22 + .browser li{width:auto;padding:0 80px;margin-top:30px;height:34px;line-height:22px;float:left;list-style:none;background:url(data:image/png;base64,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) no-repeat;padding-left:40px}
23 + .browser .browser-firefox{background-position:0 -34px}
24 + .browser .browser-ie{background-position:0 -68px;margin-left:0px}
25 + .browser .browser-360{background-position:0 -170px;margin-left: -27px}
26 + </style>
27 +</head>
28 +<body style="margin-top:50px">
29 +<h1>请升级您的浏览器,以便我们更好的为您提供服务!</h1>
30 +<p>您正在使用 Internet Explorer 的早期版本(IE11以下版本或使用该内核的浏览器)。这意味着在升级浏览器前,您将无法访问此网站。</p>
31 +<hr>
32 +<h2>请注意:微软公司对Windows XP 及 Internet Explorer 早期版本的支持已经结束</h2>
33 +<p>自 2016 年 1 月 12 日起,Microsoft 不再为 IE 11 以下版本提供相应支持和更新。没有关键的浏览器安全更新,您的电脑可能易受有害病毒、间谍软件和其他恶意软件的攻击,它们可以窃取或损害您的业务数据和信息。请参阅 <a href="https://www.microsoft.com/zh-cn/WindowsForBusiness/End-of-IE-support">微软对 Internet Explorer 早期版本的支持将于 2016 年 1 月 12 日结束的说明</a></p>
34 +<hr>
35 +<h2>您可以选择更先进的浏览器</h2>
36 +<p>推荐使用以下浏览器的最新版本。如果您的电脑已有以下浏览器的最新版本则直接使用该浏览器访问即可。</p>
37 +<ul class="browser">
38 + <li class="browser-chrome"><a href="https://www.google.cn/chrome/browser/desktop/index.html?hl=zh-CN&standalone=1"> 谷歌浏览器<span>Google Chrome</span></a></li>
39 + <li class="browser-firefox"><a href="https://www.mozilla.org/zh-CN/firefox/new/"> 火狐浏览器<span>Mozilla Firefox</span></a></li>
40 + <li class="browser-ie"><a href="https://windows.microsoft.com/zh-cn/internet-explorer/download-ie"> IE 11 浏览器<span>Internet Explorer</span></a></li>
41 + <li class="browser-360"><a href="http://se.360.cn/"> 360安全浏览器<span>360 Chrome</span></a></li>
42 + <div class="clean"></div>
43 +</ul>
44 +<hr>
45 +</body>
46 +</html>
...\ No newline at end of file ...\ No newline at end of file
1 +<!DOCTYPE html>
2 +<html>
3 + <head>
4 + <meta charset="utf-8">
5 + <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
6 + <meta name="renderer" content="webkit">
7 + <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
8 + <link rel="icon" href="<%= BASE_URL %>favicon.ico">
9 + <title><%= webpackConfig.name %></title>
10 + <!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]-->
11 + <style>
12 + html,
13 + body,
14 + #app {
15 + height: 100%;
16 + margin: 0px;
17 + padding: 0px;
18 + }
19 + .chromeframe {
20 + margin: 0.2em 0;
21 + background: #ccc;
22 + color: #000;
23 + padding: 0.2em 0;
24 + }
25 +
26 + #loader-wrapper {
27 + position: fixed;
28 + top: 0;
29 + left: 0;
30 + width: 100%;
31 + height: 100%;
32 + z-index: 999999;
33 + }
34 +
35 + #loader {
36 + display: block;
37 + position: relative;
38 + left: 50%;
39 + top: 50%;
40 + width: 150px;
41 + height: 150px;
42 + margin: -75px 0 0 -75px;
43 + border-radius: 50%;
44 + border: 3px solid transparent;
45 + border-top-color: #FFF;
46 + -webkit-animation: spin 2s linear infinite;
47 + -ms-animation: spin 2s linear infinite;
48 + -moz-animation: spin 2s linear infinite;
49 + -o-animation: spin 2s linear infinite;
50 + animation: spin 2s linear infinite;
51 + z-index: 1001;
52 + }
53 +
54 + #loader:before {
55 + content: "";
56 + position: absolute;
57 + top: 5px;
58 + left: 5px;
59 + right: 5px;
60 + bottom: 5px;
61 + border-radius: 50%;
62 + border: 3px solid transparent;
63 + border-top-color: #FFF;
64 + -webkit-animation: spin 3s linear infinite;
65 + -moz-animation: spin 3s linear infinite;
66 + -o-animation: spin 3s linear infinite;
67 + -ms-animation: spin 3s linear infinite;
68 + animation: spin 3s linear infinite;
69 + }
70 +
71 + #loader:after {
72 + content: "";
73 + position: absolute;
74 + top: 15px;
75 + left: 15px;
76 + right: 15px;
77 + bottom: 15px;
78 + border-radius: 50%;
79 + border: 3px solid transparent;
80 + border-top-color: #FFF;
81 + -moz-animation: spin 1.5s linear infinite;
82 + -o-animation: spin 1.5s linear infinite;
83 + -ms-animation: spin 1.5s linear infinite;
84 + -webkit-animation: spin 1.5s linear infinite;
85 + animation: spin 1.5s linear infinite;
86 + }
87 +
88 +
89 + @-webkit-keyframes spin {
90 + 0% {
91 + -webkit-transform: rotate(0deg);
92 + -ms-transform: rotate(0deg);
93 + transform: rotate(0deg);
94 + }
95 + 100% {
96 + -webkit-transform: rotate(360deg);
97 + -ms-transform: rotate(360deg);
98 + transform: rotate(360deg);
99 + }
100 + }
101 +
102 + @keyframes spin {
103 + 0% {
104 + -webkit-transform: rotate(0deg);
105 + -ms-transform: rotate(0deg);
106 + transform: rotate(0deg);
107 + }
108 + 100% {
109 + -webkit-transform: rotate(360deg);
110 + -ms-transform: rotate(360deg);
111 + transform: rotate(360deg);
112 + }
113 + }
114 +
115 +
116 + #loader-wrapper .loader-section {
117 + position: fixed;
118 + top: 0;
119 + width: 51%;
120 + height: 100%;
121 + background: #7171C6;
122 + z-index: 1000;
123 + -webkit-transform: translateX(0);
124 + -ms-transform: translateX(0);
125 + transform: translateX(0);
126 + }
127 +
128 + #loader-wrapper .loader-section.section-left {
129 + left: 0;
130 + }
131 +
132 + #loader-wrapper .loader-section.section-right {
133 + right: 0;
134 + }
135 +
136 +
137 + .loaded #loader-wrapper .loader-section.section-left {
138 + -webkit-transform: translateX(-100%);
139 + -ms-transform: translateX(-100%);
140 + transform: translateX(-100%);
141 + -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
142 + transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
143 + }
144 +
145 + .loaded #loader-wrapper .loader-section.section-right {
146 + -webkit-transform: translateX(100%);
147 + -ms-transform: translateX(100%);
148 + transform: translateX(100%);
149 + -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
150 + transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
151 + }
152 +
153 + .loaded #loader {
154 + opacity: 0;
155 + -webkit-transition: all 0.3s ease-out;
156 + transition: all 0.3s ease-out;
157 + }
158 +
159 + .loaded #loader-wrapper {
160 + visibility: hidden;
161 + -webkit-transform: translateY(-100%);
162 + -ms-transform: translateY(-100%);
163 + transform: translateY(-100%);
164 + -webkit-transition: all 0.3s 1s ease-out;
165 + transition: all 0.3s 1s ease-out;
166 + }
167 +
168 + .no-js #loader-wrapper {
169 + display: none;
170 + }
171 +
172 + .no-js h1 {
173 + color: #222222;
174 + }
175 +
176 + #loader-wrapper .load_title {
177 + font-family: 'Open Sans';
178 + color: #FFF;
179 + font-size: 19px;
180 + width: 100%;
181 + text-align: center;
182 + z-index: 9999999999999;
183 + position: absolute;
184 + top: 60%;
185 + opacity: 1;
186 + line-height: 30px;
187 + }
188 +
189 + #loader-wrapper .load_title span {
190 + font-weight: normal;
191 + font-style: italic;
192 + font-size: 13px;
193 + color: #FFF;
194 + opacity: 0.5;
195 + }
196 + </style>
197 + </head>
198 + <body>
199 + <div id="app">
200 + <div id="loader-wrapper">
201 + <div id="loader"></div>
202 + <div class="loader-section section-left"></div>
203 + <div class="loader-section section-right"></div>
204 + <div class="load_title">正在加载系统资源,请耐心等待</div>
205 + </div>
206 + </div>
207 + </body>
208 +</html>
1 +User-agent: *
2 +Disallow: /
...\ No newline at end of file ...\ No newline at end of file
1 +<template>
2 + <div id="app">
3 + <router-view />
4 + </div>
5 +</template>
6 +
7 +<script>
8 +export default {
9 + name: 'App'
10 +}
11 +</script>
1 +import request from '@/utils/request'
2 +
3 +// 登录方法
4 +export function login(username, password, code, uuid) {
5 + const data = {
6 + username,
7 + password,
8 + code,
9 + uuid
10 + }
11 + return request({
12 + url: '/login',
13 + method: 'post',
14 + data: data
15 + })
16 +}
17 +
18 +// 获取用户详细信息
19 +export function getInfo() {
20 + return request({
21 + url: '/getInfo',
22 + method: 'get'
23 + })
24 +}
25 +
26 +// 退出方法
27 +export function logout() {
28 + return request({
29 + url: '/logout',
30 + method: 'post'
31 + })
32 +}
33 +
34 +// 获取验证码
35 +export function getCodeImg() {
36 + return request({
37 + url: '/captchaImage',
38 + method: 'get'
39 + })
40 +}
1 +import request from '@/utils/request'
2 +
3 +// 获取路由
4 +export const getRouters = () => {
5 + return request({
6 + url: '/getRouters',
7 + method: 'get'
8 + })
9 +}
...\ No newline at end of file ...\ No newline at end of file
1 +import request from '@/utils/request'
2 +import { praseStrEmpty } from "@/utils/ruoyi";
3 +
4 +// 查询用户列表
5 +export function listUser(query) {
6 + return request({
7 + url: '/system/user/list',
8 + method: 'get',
9 + params: query
10 + })
11 +}
12 +
13 +// 查询用户详细
14 +export function getUser(userId) {
15 + return request({
16 + url: '/system/user/' + praseStrEmpty(userId),
17 + method: 'get'
18 + })
19 +}
20 +
21 +// 新增用户
22 +export function addUser(data) {
23 + return request({
24 + url: '/system/user',
25 + method: 'post',
26 + data: data
27 + })
28 +}
29 +
30 +// 修改用户
31 +export function updateUser(data) {
32 + return request({
33 + url: '/system/user',
34 + method: 'put',
35 + data: data
36 + })
37 +}
38 +
39 +// 删除用户
40 +export function delUser(userId) {
41 + return request({
42 + url: '/system/user/' + userId,
43 + method: 'delete'
44 + })
45 +}
46 +
47 +// 导出用户
48 +export function exportUser(query) {
49 + return request({
50 + url: '/system/user/export',
51 + method: 'get',
52 + params: query
53 + })
54 +}
55 +
56 +// 用户密码重置
57 +export function resetUserPwd(userId, password) {
58 + const data = {
59 + userId,
60 + password
61 + }
62 + return request({
63 + url: '/system/user/resetPwd',
64 + method: 'put',
65 + data: data
66 + })
67 +}
68 +
69 +// 用户状态修改
70 +export function changeUserStatus(userId, status) {
71 + const data = {
72 + userId,
73 + status
74 + }
75 + return request({
76 + url: '/system/user/changeStatus',
77 + method: 'put',
78 + data: data
79 + })
80 +}
81 +
82 +// 查询用户个人信息
83 +export function getUserProfile() {
84 + return request({
85 + url: '/system/user/profile',
86 + method: 'get'
87 + })
88 +}
89 +
90 +// 修改用户个人信息
91 +export function updateUserProfile(data) {
92 + return request({
93 + url: '/system/user/profile',
94 + method: 'put',
95 + data: data
96 + })
97 +}
98 +
99 +// 用户密码重置
100 +export function updateUserPwd(oldPassword, newPassword) {
101 + const data = {
102 + oldPassword,
103 + newPassword
104 + }
105 + return request({
106 + url: '/system/user/profile/updatePwd',
107 + method: 'put',
108 + params: data
109 + })
110 +}
111 +
112 +// 用户头像上传
113 +export function uploadAvatar(data) {
114 + return request({
115 + url: '/system/user/profile/avatar',
116 + method: 'post',
117 + data: data
118 + })
119 +}
120 +
121 +// 下载用户导入模板
122 +export function importTemplate() {
123 + return request({
124 + url: '/system/user/importTemplate',
125 + method: 'get'
126 + })
127 +}
1 +import Vue from 'vue'
2 +import SvgIcon from '@/components/SvgIcon'// svg component
3 +
4 +// register globally
5 +Vue.component('svg-icon', SvgIcon)
6 +
7 +const req = require.context('./svg', false, /\.svg$/)
8 +const requireAll = requireContext => requireContext.keys().map(requireContext)
9 +requireAll(req)
1 +<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M121.718 73.272v9.953c3.957-7.584 6.199-16.05 6.199-24.995C127.917 26.079 99.273 0 63.958 0 28.644 0 0 26.079 0 58.23c0 .403.028.806.028 1.21l22.97-25.953h13.34l-19.76 27.187h6.42V53.77l13.728-19.477v49.361H22.998V73.272H2.158c5.951 20.284 23.608 36.208 45.998 41.399-1.44 3.3-5.618 11.263-12.565 12.674-8.607 1.764 23.358.428 46.163-13.178 17.519-4.611 31.938-15.849 39.77-30.513h-13.506V73.272H85.02V59.464l22.998-25.977h13.008l-19.429 27.187h6.421v-7.433l13.727-19.402v39.433h-.027zm-78.24 2.822a10.516 10.516 0 0 1-.996-4.535V44.548c0-1.613.332-3.124.996-4.535a11.66 11.66 0 0 1 2.713-3.68c1.134-1.032 2.49-1.864 4.04-2.468 1.55-.605 3.21-.908 4.982-.908h11.292c1.77 0 3.431.303 4.981.908 1.522.604 2.85 1.41 3.986 2.418l-12.26 16.303v-2.898a1.96 1.96 0 0 0-.665-1.512c-.443-.403-.996-.604-1.66-.604-.665 0-1.218.201-1.661.604a1.96 1.96 0 0 0-.664 1.512v9.071L44.364 77.606a10.556 10.556 0 0 1-.886-1.512zm35.73-4.535c0 1.613-.332 3.124-.997 4.535a11.66 11.66 0 0 1-2.712 3.68c-1.134 1.032-2.49 1.864-4.04 2.469-1.55.604-3.21.907-4.982.907H55.185c-1.77 0-3.431-.303-4.981-.907-1.55-.605-2.906-1.437-4.041-2.47a12.49 12.49 0 0 1-1.384-1.512l13.727-18.217v6.375c0 .605.222 1.109.665 1.512.442.403.996.604 1.66.604.664 0 1.218-.201 1.66-.604a1.96 1.96 0 0 0 .665-1.512V53.87L75.97 36.838c.913.932 1.66 1.99 2.214 3.175.664 1.41.996 2.922.996 4.535v27.011h.028z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M127.88 73.143c0 1.412-.506 2.635-1.518 3.669-1.011 1.033-2.209 1.55-3.592 1.55h-17.887c0 9.296-1.783 17.178-5.35 23.645l16.609 17.044c1.011 1.034 1.517 2.257 1.517 3.67 0 1.412-.506 2.635-1.517 3.668-.958 1.033-2.155 1.55-3.593 1.55-1.438 0-2.635-.517-3.593-1.55l-15.811-16.063a15.49 15.49 0 0 1-1.196 1.06c-.532.434-1.65 1.208-3.353 2.322a50.104 50.104 0 0 1-5.192 2.974c-1.758.87-3.94 1.658-6.546 2.364-2.607.706-5.189 1.06-7.748 1.06V47.044H58.89v73.062c-2.716 0-5.417-.367-8.106-1.102-2.688-.734-5.003-1.631-6.945-2.692a66.769 66.769 0 0 1-5.268-3.179c-1.571-1.057-2.73-1.94-3.476-2.65L33.9 109.34l-14.611 16.877c-1.066 1.14-2.344 1.711-3.833 1.711-1.277 0-2.422-.434-3.434-1.304-1.012-.978-1.557-2.187-1.635-3.627-.079-1.44.333-2.705 1.236-3.794l16.129-18.51c-3.087-6.197-4.63-13.644-4.63-22.342H5.235c-1.383 0-2.58-.517-3.592-1.55S.125 74.545.125 73.132c0-1.412.506-2.635 1.518-3.668 1.012-1.034 2.21-1.55 3.592-1.55h17.887V43.939L9.308 29.833c-1.012-1.033-1.517-2.256-1.517-3.669 0-1.412.505-2.635 1.517-3.668 1.012-1.034 2.21-1.55 3.593-1.55s2.58.516 3.593 1.55l13.813 14.106h67.396l13.814-14.106c1.012-1.034 2.21-1.55 3.592-1.55 1.384 0 2.581.516 3.593 1.55 1.012 1.033 1.518 2.256 1.518 3.668 0 1.413-.506 2.636-1.518 3.67l-13.814 14.105v23.975h17.887c1.383 0 2.58.516 3.593 1.55 1.011 1.033 1.517 2.256 1.517 3.668l-.005.01zM89.552 26.175H38.448c0-7.23 2.489-13.386 7.466-18.469C50.892 2.623 56.92.082 64 .082c7.08 0 13.108 2.541 18.086 7.624 4.977 5.083 7.466 11.24 7.466 18.469z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1568899741379" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2054" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M960 591.424V368.96c0-0.288 0.16-0.512 0.16-0.768S960 367.68 960 367.424V192a32 32 0 0 0-32-32H96a32 32 0 0 0-32 32v175.424c0 0.288-0.16 0.512-0.16 0.768s0.16 0.48 0.16 0.768v222.464c0 0.288-0.16 0.512-0.16 0.768s0.16 0.48 0.16 0.768V864a32 32 0 0 0 32 32h832a32 32 0 0 0 32-32v-271.04c0-0.288 0.16-0.512 0.16-0.768S960 591.68 960 591.424z m-560-31.232v-160H608v160h-208z m208 64V832h-208v-207.808H608z m-480-224h208v160H128v-160z m544 0h224v160h-224v-160zM896 224v112.192H128V224h768zM128 624.192h208V832H128v-207.808zM672 832v-207.808h224V832h-224z" p-id="2055"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1588670460195" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1314" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M230.4 307.712c13.824 0 25.088-11.264 25.088-25.088 0-100.352 81.92-182.272 182.272-182.272s182.272 81.408 182.272 182.272c0 13.824 11.264 25.088 25.088 25.088s25.088-11.264 24.576-25.088c0-127.488-103.936-231.936-231.936-231.936S205.824 154.624 205.824 282.624c-0.512 14.336 10.752 25.088 24.576 25.088z m564.736 234.496c-11.264 0-21.504 2.048-31.232 6.144 0-44.544-40.448-81.92-88.064-81.92-14.848 0-28.16 3.584-39.936 10.24-13.824-28.16-44.544-48.128-78.848-48.128-12.288 0-24.576 2.56-35.328 7.68V284.16c0-45.568-37.888-81.92-84.48-81.92s-84.48 36.864-84.48 81.92v348.672l-69.12-112.64c-18.432-28.16-58.368-36.864-91.136-19.968-26.624 14.336-46.592 47.104-30.208 88.064 3.072 8.192 76.8 205.312 171.52 311.296 0 0 28.16 24.576 43.008 58.88 4.096 9.728 13.312 15.36 22.528 15.36 3.072 0 6.656-0.512 9.728-2.048 12.288-5.12 18.432-19.968 12.8-32.256-19.456-44.544-53.76-74.752-53.76-74.752C281.6 768 209.408 573.44 208.384 570.88c-5.12-12.8-2.56-20.992 7.168-26.112 9.216-4.608 21.504-4.608 26.112 2.56l113.152 184.32c4.096 8.704 12.8 14.336 22.528 14.336 13.824 0 25.088-10.752 25.088-25.088V284.16c0-17.92 15.36-32.256 34.816-32.256s34.816 14.336 34.816 32.256v284.16c0 13.824 10.24 25.088 24.576 25.088 13.824 0 25.088-11.264 25.088-25.088v-57.344c0-17.92 15.36-32.768 34.816-32.768 19.968 0 37.376 15.36 37.376 32.768v95.232c0 7.168 3.072 13.312 7.68 17.92 4.608 4.608 10.752 7.168 17.92 7.168 13.824 0 24.576-11.264 24.576-25.088V547.84c0-18.432 13.824-32.256 32.256-32.256 20.48 0 38.912 15.36 38.912 32.256v95.232c0 13.824 11.264 25.088 25.088 25.088s24.576-11.264 25.088-25.088v-18.944c0-18.944 12.8-32.256 30.72-32.256 18.432 0 22.528 18.944 22.528 31.744 0 1.024-11.776 99.84-50.688 173.056-30.72 58.368-45.056 112.128-51.2 146.944-2.56 13.312 6.656 26.112 19.968 28.672 1.536 0 3.072 0.512 4.608 0.512 11.776 0 22.016-8.192 24.064-20.48 5.632-31.232 18.432-79.36 46.08-132.608 43.52-81.92 55.808-186.88 56.32-193.536-0.512-50.688-29.696-83.968-72.704-83.968z"></path></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1576153230908" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="971" xmlns:xlink="http://www.w3.org/1999/xlink" width="81" height="81"><defs><style type="text/css"></style></defs><path d="M772.87036133 734.06115723c-43.34106445 0-80.00793458 27.93273926-93.76831055 66.57714843H475.90991211c-56.60705567 0-102.66723633-46.06018067-102.66723633-102.66723633V600.82446289h305.859375c13.76037598 38.64440918 50.42724609 66.57714844 93.76831055 66.57714844 55.12390137 0 99.94812012-44.82421875 99.94812012-99.94812012S827.9942627 467.50537109 772.87036133 467.50537109c-43.34106445 0-80.00793458 27.93273926-93.76831055 66.57714844H373.24267578V401.01062011h321.92687989c55.12390137 0 99.94812012-44.82421875 99.94812011-99.94812011V190.07312011C795.11767578 134.94921875 750.29345703 90.125 695.16955567 90.125H251.12963867C196.0057373 90.125 151.18151855 134.94921875 151.18151855 190.07312011V301.0625c0 55.12390137 44.82421875 99.94812012 99.94812012 99.94812012h55.53588867v296.96044921c0 93.35632325 75.97045898 169.32678223 169.32678224 169.32678223h203.19213866c13.76037598 38.64440918 50.42724609 66.57714844 93.76831055 66.57714844 55.12390137 0 99.94812012-44.82421875 99.94812012-99.94812012s-44.90661622-99.86572266-100.03051758-99.86572265z m0-199.89624024c18.37463379 0 33.28857422 14.91394043 33.28857422 33.28857423s-14.91394043 33.28857422-33.28857422 33.28857421-33.28857422-14.91394043-33.28857422-33.28857421 14.91394043-33.28857422 33.28857422-33.28857422zM217.75866699 301.0625V190.07312011c0-18.37463379 14.91394043-33.28857422 33.28857423-33.28857421h444.03991698c18.37463379 0 33.28857422 14.91394043 33.28857422 33.28857422V301.0625c0 18.37463379-14.91394043 33.28857422-33.28857422 33.28857422H251.12963867c-18.37463379 0-33.37097168-14.91394043-33.37097168-33.28857422z m555.11169434 566.23535156c-18.37463379 0-33.28857422-14.91394043-33.28857422-33.28857422 0-18.37463379 14.91394043-33.28857422 33.28857422-33.28857422s33.28857422 14.91394043 33.28857422 33.28857422c0.08239747 18.29223633-14.91394043 33.28857422-33.28857422 33.28857422z" p-id="972"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M0 54.857h36.571V128H0V54.857zM91.429 27.43H128V128H91.429V27.429zM45.714 0h36.572v128H45.714V0z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1575982282951" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="902" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M828.40625 90.125H195.59375C137.375 90.125 90.125 137.375 90.125 195.59375v632.8125c0 58.21875 47.25 105.46875 105.46875 105.46875h632.8125c58.21875 0 105.46875-47.25 105.46875-105.46875V195.59375c0-58.21875-47.25-105.46875-105.46875-105.46875z m52.734375 738.28125c0 29.16-23.57015625 52.734375-52.734375 52.734375H195.59375c-29.109375 0-52.734375-23.574375-52.734375-52.734375V195.59375c0-29.109375 23.625-52.734375 52.734375-52.734375h632.8125c29.16 0 52.734375 23.625 52.734375 52.734375v632.8125z" p-id="903"></path><path d="M421.52890625 709.55984375a36.28125 36.28125 0 0 1-27.55265625-12.66890625L205.17453125 476.613125a36.28546875 36.28546875 0 0 1 55.10109375-47.22890625l164.986875 192.4846875 342.16171875-298.48078125a36.2896875 36.2896875 0 0 1 47.70984375 54.68765625L445.3859375 700.6203125a36.3234375 36.3234375 0 0 1-23.85703125 8.93953125z" p-id="904"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M54.857 118.857h64V73.143H89.143c-1.902 0-3.52-.668-4.855-2.002-1.335-1.335-2.002-2.954-2.002-4.855V36.57H54.857v82.286zM73.143 16v-4.571a2.2 2.2 0 0 0-.677-1.61 2.198 2.198 0 0 0-1.609-.676H20.571c-.621 0-1.158.225-1.609.676a2.198 2.198 0 0 0-.676 1.61V16a2.2 2.2 0 0 0 .676 1.61c.451.45.988.676 1.61.676h50.285c.622 0 1.158-.226 1.61-.677.45-.45.676-.987.676-1.609zm18.286 48h21.357L91.43 42.642V64zM128 73.143v48c0 1.902-.667 3.52-2.002 4.855-1.335 1.335-2.953 2.002-4.855 2.002H52.57c-1.901 0-3.52-.667-4.854-2.002-1.335-1.335-2.003-2.953-2.003-4.855v-11.429H6.857c-1.902 0-3.52-.667-4.855-2.002C.667 106.377 0 104.759 0 102.857v-96c0-1.902.667-3.52 2.002-4.855C3.337.667 4.955 0 6.857 0h77.714c1.902 0 3.52.667 4.855 2.002 1.335 1.335 2.003 2.953 2.003 4.855V30.29c1 .622 1.856 1.29 2.569 2.003l29.147 29.147c1.335 1.335 2.478 3.145 3.429 5.43.95 2.287 1.426 4.383 1.426 6.291v-.018z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1546567861908" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2422" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M318.577778 819.2L17.066667 512l301.511111-307.2 45.511111 45.511111L96.711111 512l267.377778 261.688889zM705.422222 819.2l-45.511111-45.511111L927.288889 512l-267.377778-261.688889 45.511111-45.511111L1006.933333 512zM540.785778 221.866667l55.751111 11.150222L483.157333 802.133333l-55.751111-11.093333z" fill="#bfbfbf" p-id="2423"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1577252187056" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2508" xmlns:xlink="http://www.w3.org/1999/xlink" width="81" height="81"><defs><style type="text/css"></style></defs><path d="M747.59340925 691.12859384c11.51396329 0.25305413 22.43746719-0.21087818 40.74171707-1.51832482 29.35428085-2.10878421 35.84933734-2.36183835 46.47761114-0.8856895 24.71495444 3.37405491 41.12129828 21.76265671 32.47528161 47.95376084-85.57447632 258.19957947-442.00123984 249.76444099-628.67084683 50.73735554-153.47733892-159.33976008-153.09775772-414.41833795 0.92786545-573.42069196 159.71934128-162.67163983 424.03439521-166.59397897 565.78689185 0.63263534 80.38686649 94.81095318 108.34934958 169.16669549 89.11723508 230.57450162-15.01454608 47.99593598-50.61082928 77.68762207-119.77896259 114.63352789-4.89237973 2.65706845-29.35428085 15.52065436-35.84933652 19.02123633-46.94154346 25.30541465-63.51659033 41.20565021-62.20914449 58.45550757 2.95229856 39.13904114 24.16667102 52.7196135 70.98168823 53.81618115z m44.41100207 50.10472101c-19.82257471 1.43397372-32.05352527 1.940082-45.63409763 1.6448519-70.34905207-1.60267593-115.98314969-30.91478165-121.38163769-101.64341492-3.45840683-46.05585397 24.7571304-73.13264758 89.24376132-107.96976837 6.7902866-3.66928501 31.37871396-16.57504688 36.06021551-19.06341229 57.69634516-30.83042972 85.15271997-53.73183005 94.76877722-84.47790866 12.77923398-40.78389304-9.10994898-98.94417051-79.24812286-181.6507002-121.17075953-142.97559219-350.14258521-139.60153647-489.2380134 2.06660824-134.49827774 138.84237405-134.79350784 362.12048163-0.42175717 501.637667 158.53842169 168.99799328 451.9968783 181.18676788 534.57688175-11.80919339-4.68150156 0.2952301-10.71262573 0.67481131-18.72600705 1.26527069z" p-id="2509"></path><path d="M346.03865637 637.18588562a78.82636652 78.82636652 0 0 0 78.32025825-79.29029883c0-43.69401562-35.005823-79.29029883-78.32025825-79.29029882a78.82636652 78.82636652 0 0 0-78.36243338 79.29029882c0 43.69401562 35.005823 79.29029883 78.36243338 79.29029883z m0-51.7495729a27.07679361 27.07679361 0 0 1-26.5706845-27.54072593c0-15.30977536 11.97789643-27.54072593 26.5706845-27.54072592 14.55061295 0 26.57068533 12.23095057 26.57068533 27.54072592a27.07679361 27.07679361 0 0 1-26.57068533 27.54072593zM475.7289063 807.11174353a78.82636652 78.82636652 0 0 0 78.3624334-79.29029882c0-43.69401562-34.96364785-79.29029883-78.32025825-79.29029883a78.82636652 78.82636652 0 0 0-78.32025742 79.29029883c0 43.69401562 34.96364785 79.29029883 78.32025742 79.29029882z m0-51.74957208a27.07679361 27.07679361 0 0 1-26.57068532-27.54072674c0-15.30977536 12.06224753-27.54072593 26.57068532-27.54072593 14.59278892 0 26.57068533 12.23095057 26.57068453 27.54072593a27.07679361 27.07679361 0 0 1-26.57068453 27.54072674zM601.24376214 377.21492718a78.82636652 78.82636652 0 0 0 78.32025742-79.29029883c0-43.69401562-34.96364785-79.29029883-78.32025742-79.29029882a78.82636652 78.82636652 0 0 0-78.32025823 79.29029883c0 43.69401562 34.96364785 79.29029883 78.32025824 79.29029883z m1e-8-51.74957208a27.07679361 27.07679361 0 0 1-26.57068534-27.54072675c0-15.30977536 11.97789643-27.54072593 26.57068534-27.54072591 14.55061295 0 26.57068533 12.23095057 26.57068451 27.54072592a27.07679361 27.07679361 0 0 1-26.57068451 27.54072674zM378.80916809 433.85687983a78.82636652 78.82636652 0 0 0 78.32025824-79.29029883c0-43.69401562-34.96364785-79.29029883-78.32025824-79.29029802a78.82636652 78.82636652 0 0 0-78.32025742 79.29029802c0 43.69401562 34.96364785 79.29029883 78.32025742 79.29029883z m0-51.74957209a27.07679361 27.07679361 0 0 1-26.57068451-27.54072674c0-15.30977536 11.97789643-27.54072593 26.57068451-27.54072593 14.55061295 0 26.57068533 12.23095057 26.57068533 27.54072593a27.07679361 27.07679361 0 0 1-26.57068533 27.54072674z" p-id="2510"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1575804206892" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3145" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M826.56 470.016c-32.896 0-64.384 12.288-89.984 35.52l0-104.96c0-62.208-50.496-112.832-112.64-113.088L623.936 287.04 519.552 287.104C541.824 262.72 554.56 230.72 554.56 197.12c0-73.536-59.904-133.44-133.504-133.44-73.472 0-133.376 59.904-133.376 133.44 0 32.896 12.224 64.256 35.52 89.984L175.232 287.104l0 0.576C113.728 288.704 64 338.88 64 400.576l0.32 0 0.32 116.48C60.864 544.896 70.592 577.728 100.8 588.48c12.736 4.608 37.632 7.488 60.864-25.28 12.992-18.368 34.24-29.248 56.64-29.248 38.336 0 69.504 31.104 69.504 69.312 0 38.4-31.168 69.504-69.504 69.504-22.656 0-44.032-11.264-57.344-30.4C138.688 610.112 112.576 615.36 102.464 619.136c-29.824 10.752-39.104 43.776-38.144 67.392l0 160.384L64 846.912C64 909.248 114.752 960 177.216 960l446.272 0c62.4 0 113.152-50.752 113.152-113.152l0-145.024c24.384 22.272 56.384 35.008 89.984 35.008 73.536 0 133.44-59.904 133.44-133.504C960 529.92 900.096 470.016 826.56 470.016zM826.56 672.896c-22.72 0-44.032-11.264-57.344-30.4-22.272-32.384-48.448-27.136-58.56-23.36-29.824 10.752-39.04 43.776-38.08 67.392l0 160.384c0 27.136-22.016 49.152-49.152 49.152L177.216 896.064C150.08 896 128 873.984 128 846.848l0.32 0 0-145.024c24.384 22.272 56.384 35.008 89.984 35.008 73.6 0 133.504-59.904 133.504-133.504 0-73.472-59.904-133.376-133.504-133.376-32.896 0-64.32 12.288-89.984 35.52l0-104.96L128 400.512c0-27.072 22.08-49.152 49.216-49.152L177.216 351.04 334.656 350.72c3.776 0.512 7.616 0.832 11.52 0.832 24.896 0 50.752-10.816 60.032-37.056 4.544-12.736 7.424-37.568-25.344-60.736C362.624 240.768 351.68 219.52 351.68 197.12c0-38.272 31.104-69.44 69.376-69.44 38.336 0 69.504 31.168 69.504 69.44 0 22.72-11.264 44.032-30.528 57.472C427.968 276.736 433.088 302.784 436.8 313.024c10.752 29.888 43.072 39.232 67.392 38.08l119.232 0 0 0.384c27.136 0 49.152 22.08 49.152 49.152l0.256 116.48c-3.776 27.84 6.016 60.736 36.224 71.488 12.736 4.608 37.632 7.488 60.8-25.28 13.056-18.368 34.24-29.248 56.704-29.248C864.832 534.016 896 565.12 896 603.392 896 641.728 864.832 672.896 826.56 672.896z" p-id="3146"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="128" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M27.429 63.638c0-2.508-.893-4.65-2.679-6.424-1.786-1.775-3.94-2.662-6.464-2.662-2.524 0-4.679.887-6.465 2.662-1.785 1.774-2.678 3.916-2.678 6.424 0 2.508.893 4.65 2.678 6.424 1.786 1.775 3.94 2.662 6.465 2.662 2.524 0 4.678-.887 6.464-2.662 1.786-1.775 2.679-3.916 2.679-6.424zm13.714-31.801c0-2.508-.893-4.65-2.679-6.424-1.785-1.775-3.94-2.662-6.464-2.662-2.524 0-4.679.887-6.464 2.662-1.786 1.774-2.679 3.916-2.679 6.424 0 2.508.893 4.65 2.679 6.424 1.785 1.774 3.94 2.662 6.464 2.662 2.524 0 4.679-.888 6.464-2.662 1.786-1.775 2.679-3.916 2.679-6.424zM71.714 65.98l7.215-27.116c.285-1.23.107-2.378-.536-3.443-.643-1.064-1.56-1.762-2.75-2.094-1.19-.33-2.333-.177-3.429.462-1.095.639-1.81 1.573-2.143 2.804l-7.214 27.116c-2.857.237-5.405 1.266-7.643 3.088-2.238 1.822-3.738 4.152-4.5 6.992-.952 3.644-.476 7.098 1.429 10.364 1.905 3.265 4.69 5.37 8.357 6.317 3.667.947 7.143.474 10.429-1.42 3.285-1.892 5.404-4.66 6.357-8.305.762-2.84.619-5.607-.429-8.305-1.047-2.697-2.762-4.85-5.143-6.46zm47.143-2.342c0-2.508-.893-4.65-2.678-6.424-1.786-1.775-3.94-2.662-6.465-2.662-2.524 0-4.678.887-6.464 2.662-1.786 1.774-2.679 3.916-2.679 6.424 0 2.508.893 4.65 2.679 6.424 1.786 1.775 3.94 2.662 6.464 2.662 2.524 0 4.679-.887 6.465-2.662 1.785-1.775 2.678-3.916 2.678-6.424zm-45.714-45.43c0-2.509-.893-4.65-2.679-6.425C68.68 10.01 66.524 9.122 64 9.122c-2.524 0-4.679.887-6.464 2.661-1.786 1.775-2.679 3.916-2.679 6.425 0 2.508.893 4.65 2.679 6.424 1.785 1.774 3.94 2.662 6.464 2.662 2.524 0 4.679-.888 6.464-2.662 1.786-1.775 2.679-3.916 2.679-6.424zm32 13.629c0-2.508-.893-4.65-2.679-6.424-1.785-1.775-3.94-2.662-6.464-2.662-2.524 0-4.679.887-6.464 2.662-1.786 1.774-2.679 3.916-2.679 6.424 0 2.508.893 4.65 2.679 6.424 1.785 1.774 3.94 2.662 6.464 2.662 2.524 0 4.679-.888 6.464-2.662 1.786-1.775 2.679-3.916 2.679-6.424zM128 63.638c0 12.351-3.357 23.78-10.071 34.286-.905 1.372-2.19 2.058-3.858 2.058H13.93c-1.667 0-2.953-.686-3.858-2.058C3.357 87.465 0 76.037 0 63.638c0-8.613 1.69-16.847 5.071-24.703C8.452 31.08 13 24.312 18.714 18.634c5.715-5.68 12.524-10.199 20.429-13.559C47.048 1.715 55.333.035 64 .035c8.667 0 16.952 1.68 24.857 5.04 7.905 3.36 14.714 7.88 20.429 13.559 5.714 5.678 10.262 12.446 13.643 20.301 3.38 7.856 5.071 16.09 5.071 24.703z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1579774833889" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1376" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M887.466667 192.853333h-100.693334V119.466667c0-10.24-6.826667-17.066667-17.066666-17.066667s-17.066667 6.826667-17.066667 17.066667v73.386666H303.786667V119.466667c0-10.24-6.826667-17.066667-17.066667-17.066667s-17.066667 6.826667-17.066667 17.066667v73.386666H168.96c-46.08 0-85.333333 37.546667-85.333333 85.333334V836.266667c0 46.08 37.546667 85.333333 85.333333 85.333333H887.466667c46.08 0 85.333333-37.546667 85.333333-85.333333V278.186667c0-47.786667-37.546667-85.333333-85.333333-85.333334z m-718.506667 34.133334h100.693333v66.56c0 10.24 6.826667 17.066667 17.066667 17.066666s17.066667-6.826667 17.066667-17.066666v-66.56h450.56v66.56c0 10.24 6.826667 17.066667 17.066666 17.066666s17.066667-6.826667 17.066667-17.066666v-66.56H887.466667c27.306667 0 51.2 22.186667 51.2 51.2v88.746666H117.76v-88.746666c0-29.013333 22.186667-51.2 51.2-51.2zM887.466667 887.466667H168.96c-27.306667 0-51.2-22.186667-51.2-51.2V401.066667H938.666667V836.266667c0 27.306667-22.186667 51.2-51.2 51.2z" p-id="1377"></path><path d="M858.453333 493.226667H327.68c-10.24 0-17.066667 6.826667-17.066667 17.066666v114.346667h-116.053333c-10.24 0-17.066667 6.826667-17.066667 17.066667v133.12c0 10.24 6.826667 17.066667 17.066667 17.066666H460.8c10.24 0 17.066667-6.826667 17.066667-17.066666v-114.346667h380.586666c10.24 0 17.066667-6.826667 17.066667-17.066667v-133.12c0-10.24-6.826667-17.066667-17.066667-17.066666z m-413.013333 34.133333v97.28h-98.986667v-97.28h98.986667z m-230.4 131.413333h98.986667v98.986667h-98.986667v-98.986667z m131.413333 97.28v-97.28h98.986667v97.28h-98.986667z m133.12-228.693333h97.28v98.986667h-97.28v-98.986667z m131.413334 0h98.986666v98.986667h-98.986666v-98.986667z m230.4 97.28h-98.986667v-98.986667h98.986667v98.986667z" p-id="1378"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1577186573535" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1068" xmlns:xlink="http://www.w3.org/1999/xlink" width="81" height="81"><defs><style type="text/css"></style></defs><path d="M479.85714249 608.42857168h64.28571502c19.28571417 0 32.14285751-12.85714249 32.14285664-32.14285751s-12.85714249-32.14285751-32.14285664-32.14285664h-64.28571504c-19.28571417 0-32.14285751 12.85714249-32.14285664 32.14285662s12.85714249 32.14285751 32.14285664 32.14285753z m-2e-8 122.14285665h64.28571504c19.28571417 0 32.14285751-12.85714249 32.14285664-32.14285665s-12.85714249-32.14285751-32.14285664-32.14285751h-64.28571504c-19.28571417 0-32.14285751 12.85714249-32.14285664 32.14285751s12.85714249 32.14285751 32.14285664 32.14285664z m353.57142921-559.28571416h-128.57142921v-32.14285664c0-19.28571417-12.85714249-32.14285751-32.14285664-32.14285753s-32.14285751 12.85714249-32.14285751 32.14285753v32.14285664h-257.14285665v-32.14285664c0-19.28571417-12.85714249-32.14285751-32.14285752-32.14285753s-32.14285751 12.85714249-32.14285664 32.14285753v32.14285664h-128.57142919c-70.71428585 0-128.57142832 57.85714249-128.57142832 122.14285751v501.42857081c0 70.71428585 57.85714249 128.57142832 128.57142832 122.14285751h642.85714335c70.71428585 0 128.57142832-57.85714249 128.57142833-122.14285751v-501.42857081c0-70.71428585-57.85714249-122.14285753-128.57142833-122.14285751z m64.28571415 623.57142832c0 32.14285751-32.14285751 64.28571415-64.28571416 64.28571504h-642.85714335c-32.14285751 0-64.28571415-25.71428583-64.28571417-64.28571504v-372.85714249h771.42857168v372.85714249z m0-437.14285664h-771.42857168v-64.28571417c0-32.14285751 32.14285751-64.28571415 64.28571417-64.28571415h128.57142919v32.14285664c0 19.28571417 12.85714249 32.14285751 32.14285664 32.14285751s32.14285751-12.85714249 32.14285753-32.14285751v-32.14285664h257.14285665v32.14285664c0 19.28571417 12.85714249 32.14285751 32.1428575 32.14285751s32.14285751-12.85714249 32.14285664-32.14285751v-32.14285664h128.57142921c32.14285751 0 64.28571415 25.71428583 64.28571415 64.28571415v64.28571417z m-610.71428583 372.85714247h64.28571415c19.28571417 0 32.14285751-12.85714249 32.14285753-32.14285664s-12.85714249-32.14285751-32.14285753-32.14285751h-64.28571415c-19.28571417 0-32.14285751 12.85714249-32.14285751 32.14285751s12.85714249 32.14285751 32.14285751 32.14285665z m385.71428583-122.14285664h64.28571417c19.28571417 0 32.14285751-12.85714249 32.14285751-32.14285751s-12.85714249-32.14285751-32.14285751-32.14285664h-64.28571415c-19.28571417 0-32.14285751 12.85714249-32.14285753 32.14285664s12.85714249 32.14285751 32.14285753 32.14285751z m-385.71428583 0h64.28571415c19.28571417 0 32.14285751-12.85714249 32.14285753-32.14285751s-12.85714249-32.14285751-32.14285753-32.14285664h-64.28571415c-19.28571417 0-32.14285751 12.85714249-32.14285751 32.14285664s12.85714249 32.14285751 32.14285751 32.14285751z m385.71428583 122.14285665h64.28571417c19.28571417 0 32.14285751-12.85714249 32.14285751-32.14285665s-12.85714249-32.14285751-32.14285751-32.14285751h-64.28571415c-19.28571417 0-32.14285751 12.85714249-32.14285753 32.14285751s12.85714249 32.14285751 32.14285753 32.14285665z" p-id="1069"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1566035680909" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3601" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M1002.0848 744.672l-33.568 10.368c0.96 7.264 2.144 14.304 2.144 21.76 0 7.328-1.184 14.432-2.368 21.568l33.792 10.56c7.936 2.24 14.496 7.616 18.336 14.752 3.84 7.328 4.672 15.808 1.952 23.552-5.376 16-23.168 24.672-39.936 19.68l-34.176-10.624c-7.136 12.8-15.776 24.672-26.208 35.2l20.8 27.488a28.96 28.96 0 0 1 5.824 22.816 29.696 29.696 0 0 1-12.704 19.616 32.544 32.544 0 0 1-44.416-6.752l-20.8-27.552c-13.696 6.56-28.192 11.2-43.008 13.888v33.632c0 16.736-14.112 30.432-31.648 30.432-17.6 0-31.872-13.696-31.872-30.432v-33.632a167.616 167.616 0 0 1-42.88-13.888l-20.928 27.552c-10.72 13.76-30.08 16.64-44.288 6.752a29.632 29.632 0 0 1-12.704-19.616 29.28 29.28 0 0 1 5.696-22.816l20.896-27.808a166.72 166.72 0 0 1-27.008-34.688l-33.376 10.432c-16.8 5.184-34.56-3.552-39.936-19.616a29.824 29.824 0 0 1 20.224-38.24l33.472-10.432c-0.8-7.264-2.016-14.304-2.016-21.824 0-7.36 1.184-14.496 2.304-21.632l-33.792-10.368c-16.672-5.376-25.632-22.496-20.224-38.432 5.376-16 23.136-24.672 39.936-19.68l34.016 10.752c7.328-12.672 15.84-24.8 26.336-35.328l-20.8-27.552a29.44 29.44 0 0 1 6.944-42.432 32.704 32.704 0 0 1 44.384 6.752l20.832 27.616c13.696-6.432 28.224-11.2 43.104-13.952v-33.568c0-16.736 14.048-30.432 31.648-30.432 17.536 0 31.808 13.568 31.808 30.432v33.504c15.072 2.688 29.344 7.808 42.848 14.016l20.992-27.616a32.48 32.48 0 0 1 44.224-6.752 29.568 29.568 0 0 1 7.136 42.432l-21.024 27.808c10.432 10.432 19.872 21.888 27.04 34.752l33.376-10.432c16.768-5.12 34.56 3.68 39.936 19.68 5.536 15.936-3.712 33.056-20.32 38.304z m-206.016-74.432c-61.344 0-111.136 47.808-111.136 106.56 0 58.88 49.792 106.496 111.136 106.496 61.312 0 111.104-47.616 111.104-106.496 0-58.752-49.792-106.56-111.104-106.56z" p-id="3602"></path><path d="M802.7888 57.152h-76.448c0-22.08-21.024-38.24-42.848-38.24H39.3968a39.68 39.68 0 0 0-39.36 40.032v795.616s41.888 120.192 110.752 120.192H673.2848a227.488 227.488 0 0 1-107.04-97.44H117.6368s-40.608-13.696-40.608-41.248l470.304-0.256 1.664 3.36a227.68 227.68 0 0 1-12.64-73.632c0-60.576 24-118.624 66.88-161.44a228.352 228.352 0 0 1 123.552-63.392l-3.2 0.288 2.144-424.672h38.208l0.576 421.024c27.04 0 52.672 4.8 76.64 13.344V101.536c0.032 0-6.304-44.384-38.368-44.384zM149.7648 514.336H72.3888v-77.408H149.7648v77.408z m0-144.32H72.3888v-77.44H149.7648v77.44z m0-137.248H72.3888v-77.44H149.7648v77.44z m501.856 281.568H206.0848v-77.408h445.536v77.408z m0-144.32H206.0848v-77.44h445.536v77.44z m0-137.248H206.0848v-77.44h445.536v77.44z" p-id="3603"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M71.984 44.815H115.9L71.984 9.642v35.173zM16.094.05h63.875l47.906 38.37v76.74c0 3.392-1.682 6.645-4.677 9.044-2.995 2.399-7.056 3.746-11.292 3.746H16.094c-4.236 0-8.297-1.347-11.292-3.746-2.995-2.399-4.677-5.652-4.677-9.044V12.84C.125 5.742 7.23.05 16.094.05zm71.86 102.32V89.58h-71.86v12.79h71.86zm23.952-25.58V64H16.094v12.79h95.812z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1569915748289" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3062" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M768.35456 416a256 256 0 1 0-512 0 192 192 0 1 0 0 384v64a256 256 0 0 1-58.88-505.216 320.128 320.128 0 0 1 629.76 0A256.128 256.128 0 0 1 768.35456 864v-64a192 192 0 0 0 0-384z m-512 384h64v64H256.35456v-64z m448 0h64v64h-64v-64z" fill="#333333" p-id="3063"></path><path d="M539.04256 845.248V512.192a32.448 32.448 0 0 0-32-32.192c-17.664 0-32 14.912-32 32.192v333.056l-36.096-36.096a32.192 32.192 0 0 0-45.056 0.192 31.616 31.616 0 0 0-0.192 45.056l90.88 90.944a31.36 31.36 0 0 0 22.528 9.088 30.08 30.08 0 0 0 22.4-9.088l90.88-90.88a32.192 32.192 0 0 0-0.192-45.12 31.616 31.616 0 0 0-45.056-0.192l-36.096 36.096z" fill="#333333" p-id="3064"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M73.137 29.08h-9.209 29.7L63.886.093 34.373 29.08h20.49v27.035H27.238v17.948h27.625v27.133h18.274V74.063h27.41V56.115h-27.41V29.08zm-9.245 98.827l27.518-26.711H36.59l27.302 26.71zM.042 64.982l27.196 27.029V38.167L.042 64.982zm100.505-26.815V92.01l27.41-27.029-27.41-26.815z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1566036347051" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5853" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M832 128H192a64.19 64.19 0 0 0-64 64v640a64.19 64.19 0 0 0 64 64h640a64.19 64.19 0 0 0 64-64V192a64.19 64.19 0 0 0-64-64z m0 703.89l-0.11 0.11H192.11l-0.11-0.11V768h640zM832 544H720L605.6 696.54 442.18 435.07 333.25 544H192v-64h114.75l147.07-147.07L610.4 583.46 688 480h144z m0-288H192v-63.89l0.11-0.11h639.78l0.11 0.11z" p-id="5854"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M106.133 67.2a4.797 4.797 0 0 0-4.8 4.8c0 .187.014.36.027.533h-.027V118.4H9.6V26.667h50.133c2.654 0 4.8-2.147 4.8-4.8 0-2.654-2.146-4.8-4.8-4.8H9.6a9.594 9.594 0 0 0-9.6 9.6V118.4c0 5.307 4.293 9.6 9.6 9.6h91.733c5.307 0 9.6-4.293 9.6-9.6V72.533h-.026c.013-.173.026-.346.026-.533 0-2.653-2.146-4.8-4.8-4.8z"/><path d="M125.16 13.373L114.587 2.8c-3.747-3.747-9.854-3.72-13.6.027l-52.96 52.96a4.264 4.264 0 0 0-.907 1.36L33.813 88.533c-.746 1.76-.226 3.534.907 4.68 1.133 1.147 2.92 1.667 4.693.92l31.4-13.293c.507-.213.96-.52 1.36-.907l52.96-52.96c3.747-3.746 3.774-9.853.027-13.6zM66.107 72.4l-18.32 7.76 7.76-18.32L92.72 24.667l10.56 10.56L66.107 72.4zm52.226-52.227l-8.266 8.267-10.56-10.56 8.266-8.267.027-.026 10.56 10.56-.027.026z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M88.883 119.565c-7.284 0-19.434 2.495-21.333 8.25v.127c-4.232.13-5.222 0-7.108 0-1.895-5.76-14.045-8.256-21.333-8.256H0V0h42.523c9.179 0 17.109 5.47 21.47 13.551C68.352 5.475 76.295 0 85.478 0H128v119.57l-39.113-.005h-.004zM60.442 24.763c0-9.651-8.978-16.507-17.777-16.507H7.108V111.43H39.11c7.054-.14 18.177.082 21.333 6.12v-4.628c-.134-5.722-.004-13.522 0-13.832V27.413l.004-2.655-.004.005zm60.442-16.517h-35.55c-8.802 0-17.78 6.856-17.78 16.493v74.259c.004.32.138 8.115 0 13.813v4.627c3.155-6.022 14.279-6.26 21.333-6.114h32V8.25l-.003-.005z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="128" height="96" xmlns="http://www.w3.org/2000/svg"><path d="M64.125 56.975L120.188.912A12.476 12.476 0 0 0 115.5 0h-103c-1.588 0-3.113.3-4.513.838l56.138 56.137z"/><path d="M64.125 68.287l-62.3-62.3A12.42 12.42 0 0 0 0 12.5v71C0 90.4 5.6 96 12.5 96h103c6.9 0 12.5-5.6 12.5-12.5v-71a12.47 12.47 0 0 0-1.737-6.35L64.125 68.287z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M96.258 57.462h31.421C124.794 27.323 100.426 2.956 70.287.07v31.422a32.856 32.856 0 0 1 25.971 25.97zm-38.796-25.97V.07C27.323 2.956 2.956 27.323.07 57.462h31.422a32.856 32.856 0 0 1 25.97-25.97zm12.825 64.766v31.421c30.46-2.885 54.507-27.253 57.713-57.712H96.579c-2.886 13.466-13.146 23.726-26.292 26.291zM31.492 70.287H.07c2.886 30.46 27.253 54.507 57.713 57.713V96.579c-13.466-2.886-23.726-13.146-26.291-26.292z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M78.208 16.576v8.384h38.72v5.376h-38.72v8.704h38.72v5.376h-38.72v8.576h38.72v5.376h-38.72v8.576h38.72v5.376h-38.72v8.576h38.72v5.376h-38.72v8.512h38.72v5.376h-38.72v11.136H128v-94.72H78.208zM0 114.368L72.128 128V0L0 13.632v100.736z"/><path d="M28.672 82.56h-11.2l14.784-23.488-14.08-22.592h11.52l8.192 14.976 8.448-14.976h11.136l-14.08 22.208L58.368 82.56H46.656l-8.768-15.68z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M49.217 41.329l-.136-35.24c-.06-2.715-2.302-4.345-5.022-4.405h-3.65c-2.712-.06-4.866 2.303-4.806 5.016l.152 19.164-24.151-23.79a6.698 6.698 0 0 0-9.499 0 6.76 6.76 0 0 0 0 9.526l23.93 23.713-18.345.074c-2.712-.069-5.228 1.813-5.64 5.02v3.462c.069 2.721 2.31 4.97 5.022 5.03l35.028-.207c.052.005.087.025.133.025l2.457.054a4.626 4.626 0 0 0 3.436-1.38c.88-.874 1.205-2.096 1.169-3.462l-.262-2.465c0-.048.182-.081.182-.136h.002zm52.523 51.212l18.32-.073c2.713.06 5.224-1.609 5.64-4.815v-3.462c-.068-2.722-2.317-4.97-5.021-5.04l-34.58.21c-.053 0-.086-.021-.138-.021l-2.451-.06a4.64 4.64 0 0 0-3.445 1.381c-.885.868-1.201 2.094-1.174 3.46l.27 2.46c.005.06-.177.095-.177.141l.141 34.697c.069 2.713 2.31 4.338 5.022 4.397l3.45.006c2.705.062 4.867-2.31 4.8-5.026l-.153-18.752 24.151 23.946a6.69 6.69 0 0 0 9.494 0 6.747 6.747 0 0 0 0-9.523L101.74 92.54v.001zM48.125 80.662a4.636 4.636 0 0 0-3.437-1.382l-2.457.06c-.05 0-.082.022-.137.022l-35.025-.21c-2.712.07-4.957 2.318-5.022 5.04v3.462c.409 3.206 2.925 4.874 5.633 4.814l18.554.06-24.132 23.928c-2.62 2.626-2.62 6.89 0 9.524a6.694 6.694 0 0 0 9.496 0l24.155-23.79-.155 18.866c-.06 2.722 2.094 5.093 4.801 5.025h3.65c2.72-.069 4.962-1.685 5.022-4.406l.141-34.956c0-.05-.182-.082-.182-.136l.262-2.46c.03-1.366-.286-2.592-1.166-3.46h-.001zM80.08 47.397a4.62 4.62 0 0 0 3.443 1.374l2.45-.054c.055 0 .088-.02.143-.028l35.08.21c2.712-.062 4.953-2.312 5.021-5.033l.009-3.463c-.417-3.211-2.937-5.084-5.64-5.025l-18.615-.073 23.917-23.715c2.63-2.623 2.63-6.879.008-9.513a6.691 6.691 0 0 0-9.494 0L92.251 26.016l.155-19.312c.065-2.713-2.097-5.085-4.802-5.025h-3.45c-2.713.069-4.954 1.693-5.022 4.406l-.139 35.247c0 .054.18.088.18.136l-.267 2.465c-.028 1.366.288 2.588 1.174 3.463v.001z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" width="128" height="128"><defs><style/></defs><path d="M512 128q69.675 0 135.51 21.163t115.498 54.997 93.483 74.837 73.685 82.006 51.67 74.837 32.17 54.827L1024 512q-2.347 4.992-6.315 13.483T998.87 560.17t-31.658 51.669-44.331 59.99-56.832 64.34-69.504 60.16-82.347 51.5-94.848 34.687T512 896q-69.675 0-135.51-21.163t-115.498-54.826-93.483-74.326-73.685-81.493-51.67-74.496-32.17-54.997L0 513.707q2.347-4.992 6.315-13.483t18.816-34.816 31.658-51.84 44.331-60.33 56.832-64.683 69.504-60.331 82.347-51.84 94.848-34.816T512 128.085zm0 85.333q-46.677 0-91.648 12.331t-81.152 31.83-70.656 47.146-59.648 54.485-48.853 57.686-37.675 52.821-26.325 43.99q12.33 21.674 26.325 43.52t37.675 52.351 48.853 57.003 59.648 53.845T339.2 767.02t81.152 31.488T512 810.667t91.648-12.331 81.152-31.659 70.656-46.848 59.648-54.186 48.853-57.344 37.675-52.651T927.957 512q-12.33-21.675-26.325-43.648t-37.675-52.65-48.853-57.345-59.648-54.186-70.656-46.848-81.152-31.659T512 213.334zm0 128q70.656 0 120.661 50.006T682.667 512 632.66 632.661 512 682.667 391.339 632.66 341.333 512t50.006-120.661T512 341.333zm0 85.334q-35.328 0-60.33 25.002T426.666 512t25.002 60.33T512 597.334t60.33-25.002T597.334 512t-25.002-60.33T512 426.666z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="128" height="64" xmlns="http://www.w3.org/2000/svg"><path d="M127.072 7.994c1.37-2.208.914-5.152-.914-6.87-2.056-1.717-4.797-1.226-6.396.982-.229.245-25.586 32.382-55.74 32.382-29.24 0-55.74-32.382-55.968-32.627-1.6-1.963-4.57-2.208-6.397-.49C-.17 3.086-.399 6.275 1.2 8.238c.457.736 5.94 7.36 14.62 14.72L4.17 35.96c-1.828 1.963-1.6 5.152.228 6.87.457.98 1.6 1.471 2.742 1.471s2.284-.49 3.198-1.472l12.564-13.983c5.94 4.416 13.021 8.587 20.788 11.53l-4.797 17.418c-.685 2.699.686 5.397 3.198 6.133h1.37c2.057 0 3.884-1.472 4.341-3.68L52.6 42.83c3.655.736 7.538 1.227 11.422 1.227 3.883 0 7.767-.49 11.422-1.227l4.797 17.173c.457 2.208 2.513 3.68 4.34 3.68.457 0 .914 0 1.143-.246 2.513-.736 3.883-3.434 3.198-6.133l-4.797-17.172c7.767-2.944 14.848-7.114 20.788-11.53l12.336 13.738c.913.981 2.056 1.472 3.198 1.472s2.284-.49 3.198-1.472c1.828-1.963 1.828-4.906.228-6.87l-11.65-13.001c9.366-7.36 14.849-14.474 14.849-14.474z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M84.068 23.784c-1.02 0-1.877-.32-2.572-.96a8.588 8.588 0 0 1-1.738-2.237 11.524 11.524 0 0 1-1.042-2.621c-.232-.895-.348-1.641-.348-2.238V0h.278c.834 0 1.622.085 2.363.256.742.17 1.645.575 2.711 1.214 1.066.64 2.363 1.535 3.892 2.686 1.53 1.15 3.453 2.664 5.77 4.54 2.502 2.045 4.494 3.771 5.977 5.178 1.483 1.406 2.618 2.6 3.406 3.58.787.98 1.274 1.812 1.46 2.494.185.682.277 1.278.277 1.79v2.046H84.068zM127.3 84.01c.278.682.464 1.535.556 2.558.093 1.023-.37 2.003-1.39 2.94-.463.427-.88.832-1.25 1.215-.372.384-.696.704-.974.96a6.69 6.69 0 0 1-.973.767l-11.816-10.741a44.331 44.331 0 0 0 1.877-1.535 31.028 31.028 0 0 1 1.737-1.406c1.112-.938 2.317-1.343 3.615-1.215 1.297.128 2.363.405 3.197.83.927.427 1.923 1.173 2.989 2.239 1.065 1.065 1.876 2.195 2.432 3.388zM78.23 95.902c2.038 0 3.752-.511 5.143-1.534l-26.969 25.83H18.037c-1.761 0-3.684-.47-5.77-1.407a24.549 24.549 0 0 1-5.838-3.709 21.373 21.373 0 0 1-4.518-5.306c-1.204-2.003-1.807-4.07-1.807-6.202V16.495c0-1.79.44-3.665 1.32-5.626A18.41 18.41 0 0 1 5.04 5.562a21.798 21.798 0 0 1 5.213-3.964C12.198.533 14.237 0 16.37 0h53.24v15.984c0 1.62.278 3.367.834 5.242a16.704 16.704 0 0 0 2.572 5.179c1.159 1.577 2.665 2.898 4.518 3.964 1.853 1.066 4.078 1.598 6.673 1.598h20.295v42.325L85.458 92.45c1.02-1.364 1.529-2.856 1.529-4.476 0-2.216-.857-4.113-2.572-5.69-1.714-1.577-3.776-2.366-6.186-2.366H26.1c-2.409 0-4.448.789-6.116 2.366-1.668 1.577-2.502 3.474-2.502 5.69 0 2.217.834 4.092 2.502 5.626 1.668 1.535 3.707 2.302 6.117 2.302h52.13zM26.1 47.951c-2.41 0-4.449.789-6.117 2.366-1.668 1.577-2.502 3.473-2.502 5.69 0 2.216.834 4.092 2.502 5.626 1.668 1.534 3.707 2.302 6.117 2.302h52.13c2.409 0 4.47-.768 6.185-2.302 1.715-1.534 2.572-3.41 2.572-5.626 0-2.217-.857-4.113-2.572-5.69-1.714-1.577-3.776-2.366-6.186-2.366H26.1zm52.407 64.063l1.807-1.663 3.476-3.196a479.75 479.75 0 0 0 4.587-4.284 500.757 500.757 0 0 1 5.004-4.667c3.985-3.666 8.48-7.758 13.485-12.276l11.677 10.741-13.485 12.404-5.004 4.603-4.587 4.22a179.46 179.46 0 0 0-3.267 3.068c-.88.853-1.367 1.322-1.46 1.407-.463.341-.973.703-1.529 1.087-.556.383-1.112.703-1.668.959-.556.256-1.413.575-2.572.959a83.5 83.5 0 0 1-3.545 1.087 72.2 72.2 0 0 1-3.475.895c-1.112.256-1.946.426-2.502.511-1.112.17-1.854.043-2.224-.383-.371-.426-.464-1.151-.278-2.174.092-.511.278-1.279.556-2.302.278-1.023.602-2.067.973-3.132l1.042-3.005c.325-.938.58-1.577.765-1.918a10.157 10.157 0 0 1 2.224-2.941z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M38.47 52L52 38.462l-23.648-23.67L43.209 0H.035L0 43.137l14.757-14.865L38.47 52zm74.773 47.726L89.526 76 76 89.536l23.648 23.672L84.795 128h43.174L128 84.863l-14.757 14.863zM89.538 52l23.668-23.648L128 43.207V.038L84.866 0 99.73 14.76 76 38.472 89.538 52zM38.46 76L14.792 99.651 0 84.794v43.173l43.137.033-14.865-14.757L52 89.53 38.46 76z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1581238998885" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4187" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M511.542857 14.057143C228.914286 13.942857 0 242.742857 0 525.142857 0 748.457143 143.2 938.285714 342.628571 1008c26.857143 6.742857 22.742857-12.342857 22.742858-25.371429v-88.571428c-155.085714 18.171429-161.371429-84.457143-171.771429-101.6C172.571429 756.571429 122.857143 747.428571 137.714286 730.285714c35.314286-18.171429 71.314286 4.571429 113.028571 66.171429 30.171429 44.685714 89.028571 37.142857 118.857143 29.714286 6.514286-26.857143 20.457143-50.857143 39.657143-69.485715-160.685714-28.8-227.657143-126.857143-227.657143-243.428571 0-56.571429 18.628571-108.571429 55.2-150.514286-23.314286-69.142857 2.171429-128.342857 5.6-137.142857 66.4-5.942857 135.428571 47.542857 140.8 51.771429 37.714286-10.171429 80.8-15.542857 129.028571-15.542858 48.457143 0 91.657143 5.6 129.714286 15.885715 12.914286-9.828571 76.914286-55.771429 138.628572-50.171429 3.314286 8.8 28.228571 66.628571 6.285714 134.857143 37.028571 42.057143 55.885714 94.514286 55.885714 151.2 0 116.8-67.428571 214.971429-228.571428 243.314286a145.714286 145.714286 0 0 1 43.542857 104v128.571428c0.914286 10.285714 0 20.457143 17.142857 20.457143 202.4-68.228571 348.114286-259.428571 348.114286-484.685714 0-282.514286-229.028571-511.2-511.428572-511.2z" p-id="4188"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M1.482 70.131l36.204 16.18 69.932-65.485-61.38 70.594 46.435 18.735c1.119.425 2.397-.17 2.797-1.363v-.085L127.998.047 1.322 65.874c-1.12.597-1.519 1.959-1.04 3.151.32.511.72.937 1.2 1.107zm44.676 57.821L64.22 107.26l-18.062-7.834v28.527z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M115.147.062a13 13 0 0 1 4.94.945c1.55.63 2.907 1.526 4.069 2.688a13.148 13.148 0 0 1 2.761 4.069c.678 1.55 1.017 3.245 1.017 5.086v102.3c0 3.681-1.187 6.733-3.56 9.155-2.373 2.422-5.352 3.633-8.937 3.633H12.992c-3.875 0-7-1.26-9.373-3.779-2.373-2.518-3.56-5.667-3.56-9.445V12.704c0-3.39 1.163-6.345 3.488-8.863C5.872 1.32 8.972.062 12.847.062h102.3zM81.434 109.047c1.744 0 3.003-.412 3.778-1.235.775-.824 1.163-1.914 1.163-3.27 0-1.26-.388-2.325-1.163-3.197-.775-.872-2.034-1.307-3.778-1.307H72.57c.097-.194.145-.485.145-.872V27.09h9.01c1.743 0 2.954-.436 3.633-1.308.678-.872 1.017-1.938 1.017-3.197 0-1.26-.34-2.325-1.017-3.197-.679-.872-1.89-1.308-3.633-1.308H46.268c-1.743 0-2.954.436-3.632 1.308-.678.872-1.018 1.938-1.018 3.197 0 1.26.34 2.325 1.018 3.197.678.872 1.889 1.308 3.632 1.308h8.138v72.075c0 .193.024.339.073.436.048.096.072.242.072.436H46.56c-1.744 0-3.003.435-3.778 1.307-.775.872-1.163 1.938-1.163 3.197 0 1.356.388 2.446 1.163 3.27.775.823 2.034 1.235 3.778 1.235h34.875z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1575802859706" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3102" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M896 224H128c-35.2 0-64 28.8-64 64v448c0 35.2 28.8 64 64 64h768c35.2 0 64-28.8 64-64V288c0-35.2-28.8-64-64-64z m0 480c0 19.2-12.8 32-32 32H160c-19.2 0-32-12.8-32-32V320c0-19.2 12.8-32 32-32h704c19.2 0 32 12.8 32 32v384z" p-id="3103"></path><path d="M224 352c-19.2 0-32 12.8-32 32v256c0 16 12.8 32 32 32s32-12.8 32-32V384c0-16-12.8-32-32-32z" p-id="3104"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M83.287 103.01c-1.57-3.84-6.778-10.414-15.447-19.548-2.327-2.444-2.182-4.306-1.338-9.862v-.64c.553-3.81 1.513-6.05 14.313-8.087 6.516-1.018 8.203 1.57 10.589 5.178l.785 1.193a12.625 12.625 0 0 0 6.43 5.207c1.134.524 2.53 1.164 4.421 2.24 4.596 2.53 4.596 5.41 4.596 11.753v.727a26.91 26.91 0 0 1-5.178 17.454 59.055 59.055 0 0 1-19.025 11.026c3.49-6.546.814-14.313 0-16.553l-.146-.087zM64 5.12a58.502 58.502 0 0 1 25.484 5.818 54.313 54.313 0 0 0-12.859 10.327c-.93 1.28-1.716 2.473-2.472 3.579-2.444 3.694-3.637 5.352-5.818 5.614a25.105 25.105 0 0 1-4.219 0c-4.276-.29-10.094-.64-11.956 4.422-1.193 3.23-1.396 11.956 2.444 16.495.66 1.077.778 2.4.32 3.578a7.01 7.01 0 0 1-2.066 3.229 18.938 18.938 0 0 1-2.909-2.91 18.91 18.91 0 0 0-8.32-6.603c-1.25-.349-2.647-.64-3.985-.93-3.782-.786-8.03-1.688-9.019-3.812a14.895 14.895 0 0 1-.727-5.818 21.935 21.935 0 0 0-1.396-9.25 8.873 8.873 0 0 0-5.557-4.946A58.705 58.705 0 0 1 64 5.12zM0 64c0 35.346 28.654 64 64 64 35.346 0 64-28.654 64-64 0-35.346-28.654-64-64-64C28.654 0 0 28.654 0 64z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1566036191400" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5472" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M934.912 1016.832H192c-14.336 0-25.6-11.264-25.6-25.6v-189.44c0-14.336 11.264-25.6 25.6-25.6s25.6 11.264 25.6 25.6v163.84h691.712V64H217.6v148.48c0 14.336-11.264 25.6-25.6 25.6s-25.6-11.264-25.6-25.6v-174.08c0-14.336 11.264-25.6 25.6-25.6h742.912c14.336 0 25.6 11.264 25.6 25.6v952.832c0 14.336-11.264 25.6-25.6 25.6z" p-id="5473"></path><path d="M232.96 371.2h-117.76c-14.336 0-25.6-11.264-25.6-25.6s11.264-25.6 25.6-25.6h117.76c14.336 0 25.6 11.264 25.6 25.6s-11.264 25.6-25.6 25.6zM232.96 540.16h-117.76c-14.336 0-25.6-11.264-25.6-25.6s11.264-25.6 25.6-25.6h117.76c14.336 0 25.6 11.264 25.6 25.6s-11.264 25.6-25.6 25.6zM232.96 698.88h-117.76c-14.336 0-25.6-11.264-25.6-25.6s11.264-25.6 25.6-25.6h117.76c14.336 0 25.6 11.264 25.6 25.6s-11.264 25.6-25.6 25.6zM574.464 762.88c-134.144 0-243.2-109.056-243.2-243.2S440.32 276.48 574.464 276.48s243.2 109.056 243.2 243.2-109.056 243.2-243.2 243.2z m0-435.2c-105.984 0-192 86.016-192 192S468.48 711.68 574.464 711.68s192-86.016 192-192S680.448 327.68 574.464 327.68z" p-id="5474"></path><path d="M663.04 545.28h-87.04c-14.336 0-25.6-11.264-25.6-25.6s11.264-25.6 25.6-25.6h87.04c14.336 0 25.6 11.264 25.6 25.6s-11.264 25.6-25.6 25.6z" p-id="5475"></path><path d="M576 545.28c-14.336 0-25.6-11.264-25.6-25.6v-87.04c0-14.336 11.264-25.6 25.6-25.6s25.6 11.264 25.6 25.6v87.04c0 14.336-11.264 25.6-25.6 25.6z" p-id="5476"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M84.742 36.8c2.398 7.2 5.595 12.8 11.19 18.4 4.795-4.8 7.992-11.2 10.39-18.4h-21.58zm-52.748 40h20.78l-10.39-28-10.39 28z"/><path d="M111.916 0H16.009C7.218 0 .025 7.2.025 16v96c0 8.8 7.193 16 15.984 16h95.907c8.791 0 15.984-7.2 15.984-16V16c0-8.8-6.394-16-15.984-16zM72.754 103.2c-1.598 1.6-3.197 1.6-4.795 1.6-.8 0-2.398 0-3.197-.8-.8-.8-1.599 0-1.599-.8s-.799-1.6-1.598-3.2c-.8-1.6-.8-2.4-1.599-4l-3.196-8.8H28.797L25.6 96c-1.598 3.2-2.398 5.6-3.197 7.2-.8 1.6-2.398 1.6-4.795 1.6-1.599 0-3.197-.8-4.796-1.6-1.598-1.6-2.397-2.4-2.397-4 0-.8 0-1.6.799-3.2.8-1.6.8-2.4 1.598-4l17.583-44.8c.8-1.6.8-3.2 1.599-4.8.799-1.6 1.598-3.2 2.397-4 .8-.8 1.599-2.4 3.197-3.2 1.599-.8 3.197-.8 4.796-.8 1.598 0 3.196 0 4.795.8 1.598.8 2.398 1.6 3.197 3.2.799.8 1.598 2.4 2.397 4 .8 1.6 1.599 3.2 2.398 5.6l17.583 44c1.598 3.2 2.398 5.6 2.398 7.2-.8.8-1.599 2.4-2.398 4zM116.711 72c-8.791-3.2-15.185-7.2-20.78-12-5.594 5.6-12.787 9.6-21.579 12l-2.397-4c8.791-2.4 15.984-5.6 21.579-11.2C87.939 51.2 83.144 44 81.545 36h-7.992v-3.2h21.58c-1.6-2.4-3.198-5.6-4.796-8l2.397-.8c1.599 2.4 3.997 5.6 5.595 8.8h19.98v4h-7.992c-2.397 8-6.393 15.2-11.189 20 5.595 4.8 11.988 8.8 20.78 11.2l-3.197 4z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M115.625 127.937H.063V12.375h57.781v12.374H12.438v90.813h90.813V70.156h12.374z"/><path d="M116.426 2.821l8.753 8.753-56.734 56.734-8.753-8.745z"/><path d="M127.893 37.982h-12.375V12.375H88.706V0h39.187z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M1.585 12.087c0 6.616 3.974 11.98 8.877 11.98 4.902 0 8.877-5.364 8.877-11.98 0-6.616-3.975-11.98-8.877-11.98-4.903 0-8.877 5.364-8.877 11.98zM125.86.107H35.613c-1.268 0-2.114 1.426-2.114 2.852v18.255c0 1.712 1.057 2.853 2.114 2.853h90.247c1.268 0 2.114-1.426 2.114-2.853V2.96c0-1.711-1.057-2.852-2.114-2.852zM.106 62.86c0 6.615 3.974 11.979 8.876 11.979 4.903 0 8.877-5.364 8.877-11.98 0-6.616-3.974-11.98-8.877-11.98-4.902 0-8.876 5.364-8.876 11.98zM124.17 50.88H33.921c-1.268 0-2.114 1.425-2.114 2.851v18.256c0 1.711 1.057 2.852 2.114 2.852h90.247c1.268 0 2.114-1.426 2.114-2.852V53.73c0-1.426-.846-2.852-2.114-2.852zM.106 115.913c0 6.616 3.974 11.98 8.876 11.98 4.903 0 8.877-5.364 8.877-11.98 0-6.616-3.974-11.98-8.877-11.98-4.902 0-8.876 5.364-8.876 11.98zm124.064-11.98H33.921c-1.268 0-2.114 1.426-2.114 2.853v18.255c0 1.711 1.057 2.852 2.114 2.852h90.247c1.268 0 2.114-1.426 2.114-2.852v-18.255c0-1.427-.846-2.853-2.114-2.853z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M119.88 49.674h-7.987V39.52C111.893 17.738 90.45.08 63.996.08 37.543.08 16.1 17.738 16.1 39.52v10.154H8.113c-4.408 0-7.987 2.94-7.987 6.577v65.13c0 3.637 3.57 6.577 7.987 6.577H119.88c4.407 0 7.987-2.94 7.987-6.577v-65.13c-.008-3.636-3.58-6.577-7.987-6.577zm-23.953 0H32.065V39.52c0-14.524 14.301-26.295 31.931-26.295 17.63 0 31.932 11.777 31.932 26.295v10.153z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1566035943711" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4805" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M208.736 566.336H64.384v59.328h144.352v-59.328z m0-336.096H165.44V74.592c0-7.968 4.896-14.848 10.464-14.848h502.016V0.448H175.936c-38.72 1.248-69.248 34.368-68.192 74.144v155.648H64.384V289.6h144.352V230.24z m0 168.096H64.384v59.328h144.352v-59.328z m714.656 76.576h-57.76v474.496c0 7.936-4.896 14.848-10.464 14.848H175.936c-5.568 0-10.464-6.912-10.464-14.848v-155.68h43.296v-59.296H64.384v59.296h43.328v155.68c-1.024 39.776 29.472 72.896 68.192 74.144h679.232c38.72-1.184 69.248-34.368 68.256-74.144V474.912z m14.944-290.336l-83.072-85.312a71.264 71.264 0 0 0-52.544-21.728 71.52 71.52 0 0 0-51.616 23.872L386.528 507.264a30.496 30.496 0 0 0-6.176 10.72L308.16 740.512a30.016 30.016 0 0 0 6.976 30.24c7.712 7.968 19.2 10.752 29.568 7.2l216.544-74.112a28.736 28.736 0 0 0 12.128-7.936L940.448 287.456a75.552 75.552 0 0 0-2.112-102.88z m-557.12 518.272l39.104-120.64 78.336 80.416-117.44 40.224z m170.048-70.016l-103.552-106.016 200.16-222.4 103.52 106.304-200.128 222.112zM897.952 247.072l-0.256 0.224-107.136 119.168-103.52-106.528 106.432-118.624a14.144 14.144 0 0 1 10.304-4.736 13.44 13.44 0 0 1 10.464 4.288l83.264 85.696c5.472 5.6 5.664 14.72 0.448 20.512z" p-id="4806"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1566036016814" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5261" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M896 128h-85.333333a42.666667 42.666667 0 0 0 0 85.333333h42.666666v640H170.666667V213.333333h42.666666a42.666667 42.666667 0 0 0 0-85.333333H128a42.666667 42.666667 0 0 0-42.666667 42.666667v725.333333a42.666667 42.666667 0 0 0 42.666667 42.666667h768a42.666667 42.666667 0 0 0 42.666667-42.666667V170.666667a42.666667 42.666667 0 0 0-42.666667-42.666667z" p-id="5262"></path><path d="M341.333333 298.666667a42.666667 42.666667 0 0 0 42.666667-42.666667V128a42.666667 42.666667 0 0 0-85.333333 0v128a42.666667 42.666667 0 0 0 42.666666 42.666667zM512 298.666667a42.666667 42.666667 0 0 0 42.666667-42.666667V128a42.666667 42.666667 0 0 0-85.333334 0v128a42.666667 42.666667 0 0 0 42.666667 42.666667zM682.666667 298.666667a42.666667 42.666667 0 0 0 42.666666-42.666667V128a42.666667 42.666667 0 0 0-85.333333 0v128a42.666667 42.666667 0 0 0 42.666667 42.666667zM341.333333 768a42.666667 42.666667 0 0 0 42.666667-42.666667 128 128 0 0 1 256 0 42.666667 42.666667 0 0 0 85.333333 0 213.333333 213.333333 0 0 0-107.52-184.32A128 128 0 0 0 640 469.333333a128 128 0 0 0-256 0 128 128 0 0 0 22.186667 71.68A213.333333 213.333333 0 0 0 298.666667 725.333333a42.666667 42.666667 0 0 0 42.666666 42.666667z m128-298.666667a42.666667 42.666667 0 1 1 42.666667 42.666667 42.666667 42.666667 0 0 1-42.666667-42.666667z" p-id="5263"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M0 20.967v59.59c0 11.59 8.537 20.966 19.075 20.966h28.613l1 26.477L76.8 101.523h32.125c10.538 0 19.075-9.377 19.075-20.966v-59.59C128 9.377 119.463 0 108.925 0h-89.85C8.538 0 0 9.377 0 20.967zm82.325 33.1c0-5.524 4.013-9.935 9.037-9.935 5.026 0 9.038 4.41 9.038 9.934 0 5.524-4.025 9.934-9.038 9.934-5.024 0-9.037-4.41-9.037-9.934zm-27.613 0c0-5.524 4.013-9.935 9.038-9.935s9.037 4.41 9.037 9.934c0 5.524-4.025 9.934-9.037 9.934-5.025 0-9.038-4.41-9.038-9.934zm-27.1 0c0-5.524 4.013-9.935 9.038-9.935s9.038 4.41 9.038 9.934c0 5.524-4.026 9.934-9.05 9.934-5.013 0-9.025-4.41-9.025-9.934z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M54.122 127.892v-28.68H7.513V87.274h46.609v-12.4H7.513v-12.86h38.003L.099 0h22.6l32.556 45.07c3.617 5.144 6.44 9.611 8.487 13.385 1.788-3.05 4.89-7.779 9.301-14.186L103.93 0h24.01L82.385 62.013h38.34v12.862h-46.41v12.4h46.41v11.937h-46.41v28.68H54.123z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1543827393750" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4695" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: rbicon; src: url("chrome-extension://dipiagiiohfljcicegpgffpbnjmgjcnf/fonts/rbicon.woff2") format("woff2"); font-weight: normal; font-style: normal; }
2 +</style></defs><path d="M64 64V640H896V64H64zM0 0h960v704H0V0z" p-id="4696"></path><path d="M192 896H768v64H192zM448 640H512v256h-64z" p-id="4697"></path><path d="M479.232 561.604267l309.9904-348.330667-47.803733-42.5472-259.566934 291.669333L303.957333 240.008533 163.208533 438.6048l52.224 37.009067 91.6224-129.28z" p-id="4698"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M.002 9.2c0 5.044 3.58 9.133 7.998 9.133 4.417 0 7.997-4.089 7.997-9.133 0-5.043-3.58-9.132-7.997-9.132S.002 4.157.002 9.2zM31.997.066h95.981V18.33H31.997V.066zm0 45.669c0 5.044 3.58 9.132 7.998 9.132 4.417 0 7.997-4.088 7.997-9.132 0-3.263-1.524-6.278-3.998-7.91-2.475-1.63-5.524-1.63-7.998 0-2.475 1.632-4 4.647-4 7.91zM63.992 36.6h63.986v18.265H63.992V36.6zm-31.995 82.2c0 5.043 3.58 9.132 7.998 9.132 4.417 0 7.997-4.089 7.997-9.132 0-5.044-3.58-9.133-7.997-9.133s-7.998 4.089-7.998 9.133zm31.995-9.131h63.986v18.265H63.992V109.67zm0-27.404c0 5.044 3.58 9.133 7.998 9.133 4.417 0 7.997-4.089 7.997-9.133 0-3.263-1.524-6.277-3.998-7.909-2.475-1.631-5.524-1.631-7.998 0-2.475 1.632-4 4.646-4 7.91zm31.995-9.13h31.991V91.4H95.987V73.135z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1575802851180" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2867" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M279.272727 791.272727h512a46.545455 46.545455 0 0 1 0 93.090909H279.272727a46.545455 46.545455 0 0 1 0-93.090909z m33.838546-617.984V651.636364H193.722182V395.170909c0-37.003636-0.884364-59.298909-2.653091-66.746182a24.948364 24.948364 0 0 0-14.615273-16.989091c-8.005818-3.863273-25.786182-5.771636-53.341091-5.771636h-11.822545v-55.854545c57.716364-12.381091 101.562182-37.888 131.490909-76.520728h70.283636z m303.709091 396.8V651.636364H354.164364v-68.235637c77.777455-127.255273 124.043636-206.010182 138.705454-236.218182 14.661818-30.254545 22.016-53.853091 22.016-70.74909 0-13.032727-2.234182-22.714182-6.656-29.137455-4.421818-6.376727-11.170909-9.588364-20.247273-9.588364a22.248727 22.248727 0 0 0-20.200727 10.612364c-4.468364 7.121455-6.656 21.178182-6.656 42.263273v45.521454H354.164364v-17.454545c0-26.763636 1.396364-47.941818 4.142545-63.348364 2.746182-15.499636 9.541818-30.72 20.386909-45.661091 10.798545-14.987636 24.901818-26.298182 42.216727-33.978182 17.361455-7.68 38.167273-11.543273 62.37091-11.543272 47.476364 0 83.316364 11.776 107.706181 35.328 24.296727 23.552 36.445091 53.341091 36.445091 89.367272 0 27.368727-6.842182 56.32-20.48 86.853819-13.730909 30.533818-54.039273 95.325091-121.018182 194.420363h130.885819z m270.615272-189.393454c18.152727 6.097455 31.650909 16.104727 40.494546 29.975272 8.843636 13.917091 13.312 46.452364 13.312 97.652364 0 38.027636-4.328727 67.490909-13.032727 88.529455-8.657455 20.945455-23.598545 36.910545-44.869819 47.848727-21.271273 10.938182-48.593455 16.384-81.873454 16.384-37.794909 0-67.490909-6.330182-89.088-19.083636-21.550545-12.660364-35.746909-28.253091-42.542546-46.638546-6.795636-18.432-10.193455-50.362182-10.193454-95.883636v-37.841455h119.389091v77.730909c0 20.666182 1.210182 33.838545 3.723636 39.424 2.420364 5.585455 7.912727 8.424727 16.337455 8.424728 9.309091 0 15.36-3.537455 18.338909-10.612364 2.932364-7.121455 4.421818-25.6 4.421818-55.575273v-33.047273c0-18.338909-2.048-31.744-6.190546-40.215272a30.72 30.72 0 0 0-18.338909-16.709818c-8.052364-2.653091-23.738182-4.189091-46.964363-4.561455V357.050182c28.392727 0 45.893818-1.070545 52.596363-3.258182a22.946909 22.946909 0 0 0 14.475637-14.149818c2.932364-7.307636 4.421818-18.711273 4.421818-34.257455v-26.624c0-16.756364-1.722182-27.741091-5.12-33.047272-3.490909-5.352727-8.843636-8.005818-16.151273-8.005819-8.285091 0-13.963636 2.792727-16.989091 8.378182-3.025455 5.632-4.561455 17.640727-4.561454 35.933091v39.284364h-119.389091v-40.773818c0-45.661091 10.472727-76.567273 31.325091-92.625455 20.898909-16.058182 54.085818-24.064 99.607272-24.064 56.878545 0 95.511273 11.170909 115.805091 33.373091 20.293818 22.248727 30.394182 53.201455 30.394182 92.765091 0 26.810182-3.630545 46.173091-10.891636 58.088727-7.307636 11.915636-20.107636 22.807273-38.446546 32.628364z" p-id="2868"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1568899557259" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="535" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M356.246145 681.56286c-68.156286-41.949414-107.246583-103.84102-107.246583-169.805384 0-65.966411 39.090297-127.860063 107.246583-169.809477 12.046361-7.414877 15.800871-23.190165 8.385994-35.236526-7.413853-12.046361-23.191188-15.801894-35.236526-8.387018-39.640836 24.399713-72.539106 56.044434-95.137801 91.515297-23.86657 37.461193-36.481889 79.620385-36.481889 121.917724 0 42.297338 12.615319 84.454484 36.481889 121.914654 22.598694 35.469839 55.496965 67.11456 95.137801 91.51325 4.185322 2.576685 8.821923 3.804652 13.400195 3.804652 8.598842 0 16.998139-4.329609 21.836331-12.190647C372.047016 704.752002 368.291482 688.976714 356.246145 681.56286zM263.943926 754.580874c-92.603071-61.111846-145.713686-149.623739-145.713686-242.840794 0-93.195565 53.094242-181.682899 145.667637-242.774279 11.805884-7.79043 15.061021-23.677259 7.269567-35.483142-7.79043-11.805884-23.677259-15.062044-35.483142-7.269567C128.487861 296.954249 67.006602 401.024489 67.006602 511.74008c0 110.73708 61.496609 214.830857 168.721703 285.593504 4.343935 2.867304 9.240455 4.238534 14.08274 4.238534 8.317433 0 16.476253-4.046153 21.400403-11.507078C279.003923 778.258133 275.748786 762.372328 263.943926 754.580874zM788.660552 226.213092c-11.80486-7.791453-27.692712-4.536316-35.483142 7.269567-7.79043 11.805884-4.536316 27.692712 7.269567 35.483142 92.575442 61.092403 145.670707 149.579737 145.670707 242.774279 0 93.216032-53.111638 181.727924-145.715733 242.840794-11.805884 7.79043-15.059997 23.678282-7.269567 35.484166 4.925173 7.461949 13.081946 11.507078 21.400403 11.507078 4.841262 0 9.739828-1.37123 14.083763-4.238534 107.22714-70.761624 168.724773-174.857447 168.724773-285.593504C957.341323 401.025513 895.860063 296.955272 788.660552 226.213092zM790.090111 633.67213c23.865547-37.459147 36.480866-79.617315 36.480866-121.914654 0-42.298362-12.615319-84.45653-36.480866-121.917724-22.598694-35.470863-55.496965-67.115584-95.139847-91.515297-12.047384-7.413853-27.821649-3.659343-35.236526 8.387018-7.414877 12.045337-3.659343 27.821649 8.385994 35.236526 68.156286 41.949414 107.247606 103.842043 107.247606 169.809477 0 65.964364-39.090297 127.85597-107.247606 169.804361-12.045337 7.414877-15.800871 23.190165-8.385994 35.237549 4.838192 7.861038 13.236466 12.190647 21.835308 12.190647 4.579295 0 9.215896-1.227967 13.400195-3.804652C734.591099 700.786691 767.490394 669.142993 790.090111 633.67213zM567.129086 518.274914c24.12342-17.150612 39.887452-45.305859 39.887452-77.07133 0-52.128241-42.452881-94.538143-94.634334-94.538143-52.18043 0-94.633311 42.408879-94.633311 94.538143 0 31.695886 15.696494 59.797921 39.730886 76.958766-49.875944 21.128203-84.917018 70.234621-84.917018 127.301338 0 2.366907 0.061398 4.762467 0.182149 7.119141l1.249457 24.296359 276.373515 0 1.238201-24.308639c0.119727-2.358721 0.181125-4.750187 0.181125-7.106862C651.786185 588.497255 616.865861 539.465538 567.129086 518.274914zM512.381182 397.889079c23.937179 0 43.411719 19.430538 43.411719 43.314505 0 23.882943-19.47454 43.313481-43.411719 43.313481-23.936155 0-43.409672-19.430538-43.409672-43.313481C468.971509 417.320641 488.445026 397.889079 512.381182 397.889079zM426.08884 625.656573c9.119705-38.542828 44.254923-67.337641 86.085634-67.337641s76.966952 28.794813 86.085634 67.337641L426.08884 625.656573z" p-id="536"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1575802846045" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2750" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M868.593046 403.832442c-30.081109-28.844955-70.037123-44.753273-112.624057-44.753273L265.949606 359.079168c-42.554188 0-82.510202 15.908318-112.469538 44.690852-30.236652 28.782533-46.857191 67.222007-46.857191 108.198258l0 294.079782c0 40.977273 16.619516 79.414701 46.702672 108.136859 29.959336 28.844955 70.069869 44.814672 112.624057 44.814672l490.019383 0c42.585911 0 82.696444-15.969717 112.624057-44.814672 30.082132-28.844955 46.579875-67.222007 46.579875-108.136859L915.172921 511.968278C915.171897 471.053426 898.675178 432.677397 868.593046 403.832442zM841.821309 806.049083c0 22.098297-8.882298 42.772152-25.099654 58.306964-16.154935 15.661701-37.81935 24.203238-60.752666 24.203238L265.949606 888.559285c-22.934339 0-44.567032-8.54256-60.877509-24.264637-16.186657-15.474436-25.067932-36.148291-25.067932-58.246589L180.004165 511.968278c0-22.035876 8.881274-42.772152 25.192775-58.307987 16.186657-15.536858 37.81935-24.139793 60.753689-24.139793l490.019383 0c22.933315 0 44.597731 8.602935 60.752666 24.139793 16.21838 15.535835 25.099654 36.272112 25.099654 58.307987L841.822332 806.049083zM510.974136 135.440715c114.914216 0 208.318536 89.75214 208.318536 200.055338l73.350588 0c0-149.113109-126.366036-270.496667-281.669124-270.496667-155.333788 0-281.699824 121.383558-281.699824 270.496667l73.350588 0C302.623877 225.193879 396.059919 135.440715 510.974136 135.440715zM474.299865 747.244792l73.350588 0L547.650453 629.576859l-73.350588 0L474.299865 747.244792z" p-id="2751"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" width="128" height="128"><path d="M869.073 277.307H657.111V65.344l211.962 211.963zm-238.232 26.27V65.344l-476.498-.054v416.957h714.73v-178.67H630.841zm-335.836 360.57c-5.07-3.064-10.944-5.133-17.61-6.201-6.67-1.064-13.603-1.6-20.81-1.6h-48.821v85.641h48.822c7.206 0 14.14-.532 20.81-1.6 6.665-1.065 12.54-3.133 17.609-6.202 5.064-3.063 9.134-7.406 12.208-13.007 3.065-5.602 4.6-12.937 4.6-22.011 0-9.07-1.535-16.408-4.6-22.01-3.074-5.603-7.144-9.94-12.208-13.01zM35.82 541.805v416.904h952.358V541.805H35.821zm331.421 191.179c-3.6 11.071-9.343 20.879-17.209 29.413-7.874 8.542-18.078 15.408-30.617 20.61-12.544 5.206-27.747 7.807-45.621 7.807h-66.036v102.45h-62.831V607.517h128.867c17.874 0 33.077 2.6 45.62 7.802 12.541 5.207 22.745 12.076 30.618 20.615 7.866 8.538 13.604 18.277 17.21 29.212 3.6 10.943 5.401 22.278 5.401 34.018 0 11.477-1.8 22.752-5.402 33.819zM644.9 806.417c-5.343 17.61-13.408 32.818-24.212 45.627-10.807 12.803-24.283 22.879-40.423 30.213-16.146 7.343-35.155 11.007-57.03 11.007h-123.26V607.518h123.26c18.41 0 35.552 2.941 51.428 8.808 15.873 5.869 29.618 14.671 41.22 26.412 11.608 11.744 20.674 26.411 27.217 44.02 6.535 17.61 9.803 38.288 9.803 62.035 0 20.81-2.67 40.02-8.003 57.624zm245.362-146.07h-138.07v66.03h119.66v48.829h-119.66v118.058h-62.83V607.518h200.9v52.829h-.001zm-318.2 25.611c-6.402-8.266-14.877-14.604-25.412-19.01-10.544-4.402-23.551-6.602-39.019-6.602h-44.825v180.088h56.029c9.07 0 17.872-1.463 26.415-4.401 8.535-2.932 16.14-7.802 22.812-14.609 6.665-6.8 12.007-15.667 16.007-26.61 4.003-10.94 6.003-24.275 6.003-40.021 0-14.408-1.4-27.416-4.202-39.019-2.8-11.607-7.406-21.542-13.808-29.816zm0 0"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M104.185 95.254c8.161 7.574 13.145 17.441 13.145 28.28 0 1.508-.098 2.998-.285 4.466h-10.784c.238-1.465.403-2.948.403-4.465 0-8.983-4.36-17.115-11.419-23.216C86 104.66 75.355 107.162 64 107.162c-11.344 0-21.98-2.495-31.22-6.83-7.064 6.099-11.444 14.218-11.444 23.203 0 1.517.165 3 .403 4.465H10.955a35.444 35.444 0 0 1-.285-4.465c0-10.838 4.974-20.713 13.127-28.291C9.294 85.42.003 70.417.003 53.58.003 23.99 28.656.001 64 .001s63.997 23.988 63.997 53.58c0 16.842-9.299 31.85-23.812 41.673zM64 36.867c-29.454 0-53.33-10.077-53.33 15.342 0 25.418 23.876 46.023 53.33 46.023 29.454 0 53.33-20.605 53.33-46.023 0-25.419-23.876-15.342-53.33-15.342zm24.888 25.644c-3.927 0-7.111-2.665-7.111-5.953 0-3.288 3.184-5.954 7.11-5.954 3.928 0 7.111 2.666 7.111 5.954s-3.183 5.953-7.11 5.953zm-3.556 16.372c0 4.11-9.55 7.442-21.332 7.442-11.781 0-21.332-3.332-21.332-7.442 0-1.06.656-2.064 1.8-2.976 3.295 2.626 10.79 4.465 19.532 4.465 8.743 0 16.237-1.84 19.531-4.465 1.145.912 1.801 1.916 1.801 2.976zm-46.22-16.372c-3.927 0-7.11-2.665-7.11-5.953 0-3.288 3.183-5.954 7.11-5.954 3.927 0 7.111 2.666 7.111 5.954s-3.184 5.953-7.11 5.953z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M95.648 118.762c0 5.035-3.563 9.121-7.979 9.121H7.98c-4.416 0-7.979-4.086-7.979-9.121C0 100.519 15.408 83.47 31.152 76.75c-9.099-6.43-15.216-17.863-15.216-30.987v-9.128c0-20.16 14.293-36.518 31.893-36.518s31.894 16.358 31.894 36.518v9.122c0 13.137-6.123 24.556-15.216 30.993 15.738 6.726 31.141 23.769 31.141 42.012z"/><path d="M106.032 118.252h15.867c3.376 0 6.101-3.125 6.101-6.972 0-13.957-11.787-26.984-23.819-32.123 6.955-4.919 11.638-13.66 11.638-23.704v-6.985c0-15.416-10.928-27.926-24.39-27.926-1.674 0-3.306.193-4.89.561 1.936 4.713 3.018 9.974 3.018 15.526v9.121c0 13.137-3.056 23.111-11.066 30.993 14.842 4.41 27.312 23.42 27.541 41.509z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1567417214476" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2266" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M761.503029 2.90619 242.121921 2.90619c-32.405037 0-58.932204 26.060539-58.932204 58.527998l0 902.302287c0 32.156374 26.217105 58.216913 58.932204 58.216913l519.381108 0c32.344662 0 58.591443-26.060539 58.591443-58.216913L820.094472 61.123103C820.094472 28.966729 793.847691 2.90619 761.503029 2.90619M452.878996 61.123103l98.147344 0c6.780427 0 12.31549 5.536087 12.31549 12.253068 0 6.748704-5.535063 12.253068-12.31549 12.253068l-98.147344 0c-6.779404 0-12.345166-5.504364-12.345166-12.253068C440.532807 66.659189 446.099592 61.123103 452.878996 61.123103M501.641583 980.593398c-29.636994 0-53.987588-23.946388-53.987588-53.677527 0-29.356608 24.039509-53.614082 53.987588-53.614082 29.91738 0 53.987588 23.883967 53.987588 53.614082C555.629171 956.647009 531.559986 980.593398 501.641583 980.593398M766.35657 803.142893c0 16.23373-13.186324 29.107945-29.233811 29.107945l-470.618521 0c-16.35755 0-29.325909-13.186324-29.325909-29.107945L237.178329 163.500794c0-16.232706 13.279445-29.138644 29.325909-29.138644l470.246037 0c16.420995 0 29.357632 13.1853 29.357632 29.138644l0 639.642099L766.35657 803.142893zM766.35657 803.142893" p-id="2267"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1566035724641" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3998" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M136.4 434.3h77.7c21.5 0 38.9-17.4 38.9-38.9s-17.4-38.9-38.9-38.9h-77.7c-21.5 0-38.9 17.4-38.9 38.9s17.4 38.9 38.9 38.9zM252.9 628.6c0-21.5-17.4-38.9-38.9-38.9h-77.7c-21.5 0-38.9 17.4-38.9 38.9s17.4 38.9 38.9 38.9H214c21.5-0.1 38.9-17.5 38.9-38.9z" p-id="3999"></path><path d="M874.7 97.5H227c-28.6 0-51.8 23.2-51.8 51.8v194.3h38.9c28.6 0 51.8 23.2 51.8 51.8 0 28.6-23.2 51.8-51.8 51.8h-38.9v129.5h38.9c28.6 0 51.8 23.2 51.8 51.8 0 28.6-23.2 51.8-51.8 51.8h-38.9v194.3c0 28.6 23.2 51.8 51.8 51.8h647.7c28.6 0 51.8-23.2 51.8-51.8V149.3c0-28.6-23.2-51.8-51.8-51.8z m-311.3 723c-15.6 0-146.7-71.6-146.7-91 0-19.4 102-368.6 102-368.6l-83.6-104s-12.3-23.1 24.6-23.1h208.9c36.9 0 18.4 23.1 18.4 23.1l-79 104s102 351.3 102 368.6c0.1 17.3-131 91-146.6 91z m169.2-253.6l-27.9 40.2-74.5-240 103.4 171.7c4.6 7.9 4.2 20.6-1 28.1z" p-id="4000"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M18.448 57.545l-.244-.744-.198-.968-.132-.53v-2.181l.236-.859.24-.908.317-.953.428-1.06.561-1.103.794-1.104v-.773l.077-.724.123-.984.34-1.106.313-1.194.25-.548.289-.511.371-.569.405-.423v-2.73l.234-1.407.236-1.633.42-1.955.577-2.035.43-1.118.426-1.217.468-1.135.559-1.216.57-1.332.655-1.247.737-1.331.929-1.33.43-.762.457-.624.995-1.406 1.025-1.403 1.163-1.444 1.246-1.405 1.352-1.384 1.41-1.423 1.708-1.536 1.083-.934 1.322-1.008 1.34-.89 1.448-.855 1.392-.76 1.57-.63 1.667-.775 1.657-.532 1.653-.552 1.787-.548 1.785-.417 1.876-.347L59.128.68l1.879-.245 1.876-.252 2.002-.106h5.912l1.97.243 1.981.231 2.019.207 1.874.441 1.979.413 1.857.475 2.035.53 1.862.646 1.782.738 1.904.78 1.736.853 1.689.95 1.655 1.044 1.425.971.662.548.693.401 1.323 1.1 1.115 1.064 1.112 1.1 1.083 1.214.894 1.178 1.064 1.217.74 1.306.752 1.162.798 1.352.661 1.175 1.113 2.489.546 1.286.428 1.192.428 1.294.384 1.217.267 1.047.347 1.231.607 2.198.388 1.924.253 1.861.217 1.497.342 2.28.077.362.274.41.737 1.18.473.8.42.832.534.892.472 1.07.307 1.093.334 1.2.252 1.232.115.605.106.746v.648l-.106.643v.8l-.192.774-.35 1.5-.403.76-.299.852v.213l.142.264.4.623 1.746 2.53 1.377 1.9.66 1.267.889 1.389.774 1.52.893 1.627.894 1.828 1.006 2.069.567 1.268.518 1.239.447 1.307.44 1.175.336 1.235.342 1.16.432 2.261.343 2.31.235 2.05v2.891l-.158 1.025-.226 1.768-.308 1.59-.48 1.44-.18.588-.336.707-.28.493-.375.607-.33.383-.42.494-.375.4-.401.34-.48.207-.432.207-.355.114h-.543l-.346-.114-.66-.32-.302-.212-.317-.223-.347-.304-.35-.342-.579-.63-.684-.89-.539-.917-.538-.734-.526-.855-.741-1.517-.833-1.579-.098-.055h-.138l-.338.247-.196.415-.326.516-.567 1.533-.856 2.182-1.096 2.626-.824 1.308-.864 1.366-1.027 1.536-1.09 1.503-.557.68-.676.743-1.555 1.497.136.135.21.214.777.446 3.235 1.524 1.41.779 1.347.756 1.332.953 1.187.982.574.443.432.511.445.593.367.643.198.533.242.64.105.554.115.647-.115.433v.44l-.105.454-.242.415-.092.325-.22.394-.587.784-.543.627-.42.47-.35.348-.893.638-1.01.556-1.077.532-1.155.511-1.287.495-.693.207-.608.167-1.496.342-1.545.325-1.552.323-1.689.27-1.74.072-1.785.21h-5.539l-1.998-.114-1.86-.168-2.005-.27-1.99-.209-2.095-.286-2.03-.495-1.981-.374-1.968-.552-2.019-.707-1.98-.585-1.044-.342-.927-.323-.586-.223-.582-.12h-1.647l-1.904-.131-.962-.096-1.24-.135-.795.705-1.085.665-1.471.701-1.628.875-.99.475-1.033.376-2.281.914-1.24.305-1.3.343-1.803.344-1.13.086-1.193.1-1.246.135-1.45.053h-5.926l-3.346-.053-3.25-.321-1.644-.23-1.589-.23-1.546-.227-1.547-.305-1.442-.456-1.434-.325-1.294-.51-1.223-.474-1.142-.533-.99-.583-.984-.71-.336-.343-.44-.415-.334-.362-.3-.417-.278-.415-.215-.42-.311-.89-.109-.46-.138-.51v-.473l.138-.533v-.53l.109-.53v-1.069l.052-.564.259-.647.215-.646.39-.779.286-.3.236-.348.615-.738.49-.38.464-.266.428-.338.676-.21.543-.324.676-.341.77-.227.775-.231.897-.192.85-.11 1.008-.13 1.093-.081.284-.092h.063l.137-.115v-.13l-.2-.266-.58-.27-1.45-1.231-.975-.761-1.127-.967-1.136-1.082-1.181-1.382-1.36-1.558-.508-.843-.672-.87-.58-1.007-.522-1.1-.704-1.047-.459-1.194-.547-1.192-.546-1.33-.397-1.273-.378-1.575-.112-.057h-.115l-.059-.113h-.14l-.23.113-.114.057-.158.264-.057.321-.119.286-.206.477-.664 1.157-.345.701-.546.612-.58.736-.641.816-.677.724-.795.701-.734.658-.814.524-.89.546-.855.325-1.008.247-.99.095h-.233l-.228-.095-.18-.384-.29-.188-.38-.912-.237-.493-.255-.707-.21-.734-.113-.724-.313-1.648-.12-.972v-3.185l.12-2.379.196-1.214.23-1.252.21-1.347.374-1.254.42-1.443.431-1.407.578-1.448.545-1.38.754-1.4.699-1.52.855-1.425 1.006-1.538 1.023-1.382 1.069-1.538.891-1.071 1.142-1.227 1.202-1.237.56-.59.678-.662.985-.836 1.012-.853 1.647-1.446 1.242-.889z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1581238842264" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1409" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M512 0C229.233778 0 0 229.233778 0 512s229.233778 512 512 512 512-229.233778 512-512A512 512 0 0 0 512 0z m0 938.666667C276.366222 938.666667 85.333333 747.633778 85.333333 512 85.333333 276.366222 276.366222 85.333333 512 85.333333c235.633778 0 426.666667 191.032889 426.666667 426.666667a426.666667 426.666667 0 0 1-426.666667 426.666667z m0-717.653334a170.666667 170.666667 0 0 0-170.666667 170.666667 42.666667 42.666667 0 0 0 85.333334 0 85.333333 85.333333 0 1 1 85.333333 85.333333 42.666667 42.666667 0 0 0-42.666667 42.666667v111.36a42.666667 42.666667 0 0 0 85.333334 0v-74.24A170.666667 170.666667 0 0 0 512 221.013333z m-42.666667 542.293334a42.666667 42.666667 0 1 0 85.333334 0 42.666667 42.666667 0 0 0-85.333334 0z" p-id="1410"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1575966775973" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="879" xmlns:xlink="http://www.w3.org/1999/xlink" width="81" height="81"><defs><style type="text/css"></style></defs><path d="M507.39346659 71.84873358c241.53533667 0 437.39770766 195.85422109 437.39770767 437.37442191 0 241.53766571-195.86237099 437.38955776-437.39770767 437.38955776-241.50040803 0-437.34997219-195.85189205-437.34997219-437.38955776C70.0434944 267.70295467 265.89189347 71.84873358 507.39346659 71.84873358L507.39346659 71.84873358zM507.39346659 282.81899805c-125.00686734 0-226.37039389 101.38914133-226.37039388 226.41813048 0 125.01268821 101.36352768 226.39717262 226.37039388 226.39717262 125.04295993 0 226.42395136-101.38448441 226.42395136-226.39717262C733.81625401 384.20813938 632.43642653 282.81899805 507.39346659 282.81899805L507.39346659 282.81899805zM507.39346659 120.78172615c-214.46664192 0-388.42047261 173.95150279-388.4204726 388.44026539 0 214.51204949 173.95499463 388.46122325 388.4204726 388.46122325 214.52369237 0 388.46005817-173.94800981 388.46005818-388.46122325C895.85236082 294.73322894 721.91715897 120.78172615 507.39346659 120.78172615z" p-id="880"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1577246781606" class="icon" viewBox="0 0 1069 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1098" xmlns:xlink="http://www.w3.org/1999/xlink" width="84.5595703125" height="81"><defs><style type="text/css"></style></defs><path d="M633.72929961 378.02038203l9.49872568 18.68789795 20.78025469 2.79745225 206.61592412 27.33248408a11.46496817 11.46496817 0 0 1 6.6095543 19.47324902l-147.2675168 147.35350284-14.89299345 14.89299345 3.8006376 20.68280244 37.84585956 204.89044571a11.46496817 11.46496817 0 0 1-16.4808914 12.2961788L554.68980898 751.84713388l-18.68789794-9.49299345-18.48726123 9.99171915-183.23885392 99.34968163a11.46496817 11.46496817 0 0 1-16.78471347-11.8662416l32.5433127-205.79617881 3.29617793-20.78598692-15.19108243-14.49172002-151.03375839-143.48407587a11.46496817 11.46496817 0 0 1 6.09936328-19.63949062l205.79617881-32.63503185 20.78598691-3.2961788L428.87898125 380.72038203 518.59235674 192.64331182a11.46496817 11.46496817 0 0 1 20.56815264-0.26369385l94.56879023 185.63503183zM496.64840732 85.52038203l-121.75796162 254.98089229L95.76433145 384.76178369A34.3949045 34.3949045 0 0 0 77.46050938 443.66879023l204.87324901 194.66369385-44.16879023 279.1146498a34.3949045 34.3949045 0 0 0 50.36560489 35.61592325l248.4-134.67898038 251.84522285 128.27579591a34.3949045 34.3949045 0 0 0 49.43694287-36.89426777l-51.30573223-277.85350284 199.73120977-199.90891758a34.3949045 34.3949045 0 0 0-19.82866201-58.40827998l-280.11783428-37.03184736L558.32993633 84.71210205a34.3949045 34.3949045 0 0 0-61.68152901 0.80254775z" p-id="1099"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1605865043777" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="856" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M1023.786667 611.84c-0.426667 9.770667-13.354667 20.693333-39.893334 34.56-54.613333 28.458667-337.749333 144.896-397.994666 176.298667-60.288 31.402667-93.738667 31.104-141.354667 8.32-47.616-22.741333-348.842667-144.469333-403.114667-170.368-27.093333-12.970667-40.917333-23.893333-41.386666-34.218667v103.509333c0 10.325333 14.250667 21.290667 41.386666 34.261334 54.272 25.941333 355.541333 147.626667 403.114667 170.368 47.616 22.784 81.066667 23.082667 141.354667-8.362667 60.245333-31.402667 343.338667-147.797333 397.994666-176.298667 27.776-14.464 40.106667-25.728 40.106667-35.925333v-102.058667l-0.213333-0.085333z m0-168.746667c-0.512 9.770667-13.397333 20.650667-39.893334 34.517334-54.613333 28.458667-337.749333 144.896-397.994666 176.298666-60.288 31.402667-93.738667 31.104-141.354667 8.362667-47.616-22.741333-348.842667-144.469333-403.114667-170.410667-27.093333-12.928-40.917333-23.893333-41.386666-34.176v103.509334c0 10.325333 14.250667 21.248 41.386666 34.218666 54.272 25.941333 355.498667 147.626667 403.114667 170.368 47.616 22.784 81.066667 23.082667 141.354667-8.32 60.245333-31.402667 343.338667-147.84 397.994666-176.298666 27.776-14.506667 40.106667-25.770667 40.106667-35.968v-102.058667l-0.256-0.042667z m0-175.018666c0.469333-10.410667-13.141333-19.541333-40.533334-29.610667-53.248-19.498667-334.634667-131.498667-388.522666-151.253333-53.888-19.712-75.818667-18.901333-139.093334 3.84C392.234667 113.706667 92.629333 231.253333 39.338667 252.074667c-26.666667 10.496-39.68 20.181333-39.253334 30.506666V386.133333c0 10.325333 14.250667 21.248 41.386667 34.218667 54.272 25.941333 355.498667 147.669333 403.114667 170.410667 47.616 22.741333 81.066667 23.04 141.354666-8.362667 60.245333-31.402667 343.338667-147.84 397.994667-176.298667 27.776-14.506667 40.106667-25.770667 40.106667-35.968V268.074667h-0.341334zM366.677333 366.08l237.269334-36.437333-71.68 105.088-165.546667-68.650667z m524.8-94.634667l-140.330666 55.466667-15.232 5.973333-140.245334-55.466666 155.392-61.44 140.373334 55.466666z m-411.989333-101.674666l-22.954667-42.325334 71.594667 27.989334 67.498667-22.101334-18.261334 43.733334 68.778667 25.770666-88.704 9.216-19.882667 47.786667-32.085333-53.290667-102.4-9.216 76.416-27.562666z m-176.768 59.733333c70.058667 0 126.805333 21.973333 126.805333 49.109333s-56.746667 49.152-126.805333 49.152-126.848-22.058667-126.848-49.152c0-27.136 56.789333-49.152 126.848-49.152z" p-id="857"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1579339929870" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1182" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M152 854.856875h325.7146875V237.715625H134.856875v600q0 6.99375 5.0746875 12.0684375T152 854.856875z m737.143125-17.1421875v-600H546.284375v617.1421875H872q6.99375 0 12.0684375-5.07375t5.0746875-12.0684375z m68.5715625-651.429375V837.715625q0 35.3821875-25.16625 60.5484375T872 923.4284375H152q-35.383125 0-60.5484375-25.1653125T66.284375 837.7146875V186.284375q0-35.3821875 25.16625-60.5484375T152 100.5715625h720q35.383125 0 60.5484375 25.1653125t25.16625 60.5484375z" p-id="1183"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M124.884 109.812L94.256 79.166c-.357-.357-.757-.629-1.129-.914a50.366 50.366 0 0 0 8.186-27.59C101.327 22.689 78.656 0 50.67 0 22.685 0 0 22.688 0 50.663c0 27.989 22.685 50.663 50.656 50.663 10.186 0 19.643-3.03 27.6-8.201.286.385.557.771.9 1.114l30.628 30.632a10.633 10.633 0 0 0 7.543 3.129c2.728 0 5.457-1.043 7.543-3.115 4.171-4.157 4.171-10.915.014-15.073M50.671 85.338C31.557 85.338 16 69.78 16 50.663c0-19.102 15.557-34.661 34.67-34.661 19.115 0 34.657 15.559 34.657 34.675 0 19.102-15.557 34.661-34.656 34.661"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1575803481213" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="804" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M62 511.97954521C62 263.86590869 263.90681826 62 511.97954521 62s449.97954521 201.825 449.97954521 449.97954521c0 248.19545479-201.90681826 449.97954521-449.97954521 449.97954521C263.90681826 962 62 760.175 62 511.97954521M901.98636348 511.97954521c0-215.24318174-175.00909131-390.41590869-390.00681827-390.41590869-215.03863652 0-389.96590869 175.17272695-389.96590868 390.41590869 0 215.28409131 175.00909131 390.45681826 389.96590868 390.45681826C727.01818174 902.47727305 901.98636348 727.30454521 901.98636348 511.97954521M264.17272695 430.28409131c0-5.76818174 2.12727305-11.51590869 6.64772696-15.87272696 8.71363652-8.75454521 22.88863652-8.75454521 31.725 0l209.4340913 208.22727305L721.45454521 414.53409131c8.75454521-8.71363652 22.97045479-8.71363652 31.90909132 0 8.71363652 8.75454521 8.71363652 22.88863652 0 31.60227304L511.97954521 685.74090869 270.71818174 446.01363653C266.27954521 441.77954521 264.17272695 436.05227305 264.17272695 430.28409131" p-id="805"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1547360688278" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6717" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M890 120H134a70 70 0 0 0-70 70v500a70 70 0 0 0 70 70h756a70 70 0 0 0 70-70V190a70 70 0 0 0-70-70z m-10 520a40 40 0 0 1-40 40H712V448a40 40 0 0 0-80 0v232h-80V368a40 40 0 0 0-80 0v312h-80V512a40 40 0 0 0-80 0v168H184a40 40 0 0 1-40-40V240a40 40 0 0 1 40-40h656a40 40 0 0 1 40 40zM696 824H328a40 40 0 0 0 0 80h368a40 40 0 0 0 0-80z" fill="#bfbfbf" p-id="6718"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M42.913 101.36c1.642 0 3.198.332 4.667.996a12.28 12.28 0 0 1 3.89 2.772c1.123 1.184 1.987 2.582 2.592 4.193.605 1.612.908 3.318.908 5.118 0 1.8-.303 3.507-.908 5.118-.605 1.611-1.469 3.01-2.593 4.194a13.3 13.3 0 0 1-3.889 2.843 10.582 10.582 0 0 1-4.667 1.066c-1.729 0-3.306-.355-4.732-1.066a13.604 13.604 0 0 1-3.825-2.843c-1.123-1.185-1.988-2.583-2.593-4.194a14.437 14.437 0 0 1-.907-5.118c0-1.8.302-3.506.907-5.118.605-1.61 1.47-3.009 2.593-4.193a12.515 12.515 0 0 1 3.825-2.772c1.426-.664 3.003-.996 4.732-.996zm53.932.285c1.643 0 3.22.331 4.733.995a11.386 11.386 0 0 1 3.889 2.772c1.08 1.185 1.945 2.583 2.593 4.194.648 1.61.972 3.317.972 5.118 0 1.8-.324 3.506-.972 5.117-.648 1.611-1.513 3.01-2.593 4.194a12.253 12.253 0 0 1-3.89 2.843 11 11 0 0 1-4.732 1.066 10.58 10.58 0 0 1-4.667-1.066 12.478 12.478 0 0 1-3.824-2.843c-1.08-1.185-1.945-2.583-2.593-4.194a13.581 13.581 0 0 1-.973-5.117c0-1.801.325-3.507.973-5.118.648-1.611 1.512-3.01 2.593-4.194a11.559 11.559 0 0 1 3.824-2.772 11.212 11.212 0 0 1 4.667-.995zm21.781-80.747c2.42 0 4.3.355 5.64 1.066 1.34.71 2.29 1.587 2.852 2.63a6.427 6.427 0 0 1 .778 3.34c-.044 1.185-.195 2.204-.454 3.057-.26.853-.8 2.606-1.62 5.26a589.268 589.268 0 0 1-2.788 8.743 1236.373 1236.373 0 0 0-3.047 9.453c-.994 3.128-1.75 5.592-2.269 7.393-1.123 3.79-2.55 6.42-4.278 7.89-1.728 1.469-3.846 2.203-6.352 2.203H39.023l1.945 12.795h65.342c4.148 0 6.223 1.943 6.223 5.828 0 1.896-.41 3.53-1.232 4.905-.821 1.374-2.442 2.061-4.862 2.061H38.505c-1.729 0-3.176-.426-4.343-1.28-1.167-.852-2.14-1.966-2.917-3.34a21.277 21.277 0 0 1-1.88-4.478 44.128 44.128 0 0 1-1.102-4.55c-.087-.568-.324-1.942-.713-4.122-.39-2.18-.865-4.904-1.426-8.174l-1.88-10.947c-.692-4.027-1.383-8.079-2.075-12.154-1.642-9.572-3.5-20.234-5.574-31.986H6.87c-1.296 0-2.377-.356-3.24-1.067a9.024 9.024 0 0 1-2.14-2.558 10.416 10.416 0 0 1-1.167-3.2C.108 8.53 0 7.488 0 6.54c0-1.896.583-3.46 1.75-4.69C2.917.615 4.494 0 6.482 0h13.095c1.728 0 3.111.284 4.148.853 1.037.569 1.858 1.28 2.463 2.132a8.548 8.548 0 0 1 1.297 2.701c.26.948.475 1.754.648 2.417.173.758.346 1.825.519 3.199.173 1.374.345 2.772.518 4.193.26 1.706.519 3.507.778 5.403h88.678z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M0 54.857h54.796v18.286H36.531V128H18.265V73.143H0V54.857zm127.857-36.571H91.935V128H72.456V18.286H36.534V0h91.326l-.003 18.286z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M31.652 93.206h33.401c1.44 2.418 3.077 4.663 4.93 6.692h-38.33v-6.692zm0-10.586h28.914a44.8 44.8 0 0 1-1.264-6.688h-27.65v6.688zm0-17.27H59.39c.288-2.286.714-4.532 1.34-6.687H31.65v6.687h.003zm53.913 44.84v5.85c0 2.798-2.095 5.075-4.667 5.075h-70.07c-2.576 0-4.663-2.277-4.663-5.075V31.26l23.22-20.96v22.25H17.16v6.688h18.39V6.688h45.348c2.576 0 4.667 2.277 4.667 5.066v20.009c1.987-.675 4.053-1.128 6.17-1.445v-18.56C91.738 5.28 86.874 0 80.902 0H31.15L0 28.118v87.917c0 6.48 4.859 11.759 10.832 11.759h70.07c5.974 0 10.837-5.27 10.837-11.759v-4.41c-2.117-.312-4.183-.765-6.17-1.435h-.004zM23.279 58.667h-7.96v6.688h7.96v-6.688zm-7.956 41.23h7.96v-6.691h-7.96v6.692zm7.956-23.96h-7.96v6.687h7.96v-6.688zm89.718-15.042l-4.896-4.07-12.447 17.613-11.19-9.305-3.762 5.311 16.091 13.38 16.204-22.929zM128 70.978c0-18.632-13.97-33.782-31.147-33.782-17.168 0-31.135 15.155-31.135 33.782 0 18.628 13.97 33.783 31.135 33.783 17.172 0 31.143-15.15 31.143-33.783H128zm-6.17 0c0 14.933-11.203 27.1-24.981 27.1-13.77 0-24.987-12.158-24.987-27.1 0-14.941 11.195-27.099 24.987-27.099 13.778 0 24.982 12.158 24.982 27.1z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1577185310368" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1238" xmlns:xlink="http://www.w3.org/1999/xlink" width="81" height="81"><defs><style type="text/css"></style></defs><path d="M951.453125 476.84375H523.671875a131.8359375 131.8359375 0 0 0-254.1796875 0H72.546875v70.3125h196.9453125a131.8359375 131.8359375 0 0 0 254.1796875 0H951.453125z" p-id="1239"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M70.66 4.328l14.01 29.693c1.088 2.29 3.177 3.882 5.603 4.25l31.347 4.76c6.087.926 8.528 8.756 4.117 13.247L103.05 79.395c-1.75 1.78-2.544 4.352-2.132 6.867l5.352 32.641c1.043 6.337-5.33 11.182-10.778 8.19l-28.039-15.409a7.13 7.13 0 0 0-6.91 0l-28.039 15.41c-5.448 2.99-11.821-1.854-10.777-8.19l5.352-32.642c.415-2.515-.387-5.088-2.136-6.867L2.264 56.278C-2.146 51.787.286 43.957 6.38 43.031l31.343-4.76c2.419-.368 4.51-1.96 5.595-4.25L57.334 4.328c2.728-5.77 10.605-5.77 13.325 0z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1566036776944" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6463" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M64 223.995345h168.001164v47.997673c0 26.428509 18.878836 47.997673 41.984 47.997673h140.036654c23.095855 0 41.984-21.569164 41.984-47.997673v-47.997673h504.003491a32.004655 32.004655 0 0 0 0-64.009309H455.996509V111.988364c0-26.428509-18.878836-47.997673-41.984-47.997673H273.985164c-23.095855 0-41.984 21.569164-41.984 47.997673v47.997672H64a32.004655 32.004655 0 0 0 0 64.009309zM288.004655 128h111.997672V256H288.004655V128zM960 479.995345H791.998836v-47.997672c0-26.372655-18.878836-47.997673-41.984-47.997673H609.978182c-23.095855 0-41.984 21.634327-41.984 47.997673v47.997672H64a32.004655 32.004655 0 0 0 0 64.00931h504.003491v47.997672c0 26.363345 18.878836 47.997673 41.984 47.997673h140.036654c23.095855 0 41.984-21.634327 41.984-47.997673v-47.997672h168.001164a32.004655 32.004655 0 1 0-0.009309-64.00931zM735.995345 576H623.997673v-128h111.997672v128zM960 800.293236v-0.288581H455.996509v-47.997673c0-26.363345-18.878836-47.997673-41.984-47.997673H274.050327c-23.105164 0-41.984 21.634327-41.984 47.997673v47.997673H64v0.288581a32.004655 32.004655 0 0 0 0 64.009309c0.986764 0 1.917673-0.195491 2.885818-0.288581h165.115346v47.997672c0 26.363345 18.878836 47.997673 41.984 47.997673h140.036654c23.095855 0 41.984-21.634327 41.984-47.997673v-47.997672h501.108364c0.968145 0.093091 1.899055 0.288582 2.895127 0.288581a32.004655 32.004655 0 1 0-0.009309-64.009309zM400.002327 896H288.004655V768h111.997672v128z" fill="" p-id="6464"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1576042673958" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1110" xmlns:xlink="http://www.w3.org/1999/xlink" width="81" height="81"><defs><style type="text/css"></style></defs><path d="M692 792H332c-150 0-270-120-270-270s120-270 270-270h360c150 0 270 120 270 270 0 147-120 270-270 270zM332 312c-117 0-210 93-210 210s93 210 210 210h360c117 0 210-93 210-210s-93-210-210-210H332z" p-id="1111"></path><path d="M341 522m-150 0a150 150 0 1 0 300 0 150 150 0 1 0-300 0Z" p-id="1112"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1543827724451" class="icon" style="" viewBox="0 0 1084 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="10233" xmlns:xlink="http://www.w3.org/1999/xlink" width="211.71875" height="200"><defs><style type="text/css">@font-face { font-family: rbicon; src: url("chrome-extension://dipiagiiohfljcicegpgffpbnjmgjcnf/fonts/rbicon.woff2") format("woff2"); font-weight: normal; font-style: normal; }
2 +</style></defs><path d="M1080.09609 434.500756c-4.216302-23.731757-26.9241-47.945376-50.595623-53.185637l-17.648235-4.095836a175.940257 175.940257 0 0 1-101.612877-80.832531 177.807476 177.807476 0 0 1-18.732427-129.801867l5.541425-16.684509c7.10748-23.129428-2.108151-54.992624-20.599646-70.833873 0 0-16.624276-14.094495-63.244529-41.199293-46.800951-26.984332-66.858502-34.513443-66.858502-34.513443-22.76803-8.372371-54.631227-0.361397-71.255503 17.407304l-12.287509 13.251234a173.470708 173.470708 0 0 1-120.465769 48.065842A174.13327 174.13327 0 0 1 421.329029 33.590675L409.583617 20.761071C393.140039 2.99237 361.096144-4.898138 338.267881 3.353767c0 0-20.358715 7.529111-67.099434 34.513443-46.800951 27.34573-63.244529 41.440225-63.244529 41.440225-18.431263 15.66055-27.646894 47.222582-20.539413 70.592941l5.059562 16.865207a178.048407 178.048407 0 0 1-18.672194 129.621169 174.916297 174.916297 0 0 1-102.275439 81.073463l-17.045906 3.854904c-23.310126 5.42096-46.258856 29.333415-50.595623 53.185637 0 0-3.854905 21.382674-3.854905 75.712737 0 54.330062 3.854905 75.712736 3.854905 75.712736 4.216302 23.972688 26.9241 47.945376 50.595623 53.185637l16.624276 3.854905a174.253736 174.253736 0 0 1 102.395904 81.314394c23.310126 40.837896 28.911785 87.337683 18.732427 129.801867l-4.81863 16.443578c-7.10748 23.129428 2.108151 54.992624 20.599646 70.833872 0 0 16.624276 14.094495 63.244529 41.199293 46.800951 27.104798 66.918735 34.513443 66.918735 34.513443 22.707798 8.372371 54.631227 0.361397 71.255503-17.407303l11.624947-12.588673a175.096996 175.096996 0 0 1 242.256662 0.120465l11.624947 12.648906c16.383345 17.708468 48.427239 25.598976 71.255503 17.347071 0 0 20.358715-7.529111 67.159666-34.513443 46.740719-27.104798 63.124063-41.199293 63.124064-41.199293 18.491496-15.600317 27.707127-47.463513 20.599646-70.833873l-5.059562-17.106139a176.723284 176.723284 0 0 1 18.672194-129.139305 176.060722 176.060722 0 0 1 102.395904-81.314394l16.68451-3.854905c23.310126-5.42096 46.258856-29.333415 50.595623-53.185637 0 0 3.854905-21.382674 3.854904-75.712737-0.240932-54.330062-4.095836-75.833202-4.095836-75.833202z m-537.819428 293.334149c-119.261112 0-216.175824-97.336342-216.175824-217.621412a216.657687 216.657687 0 0 1 216.236057-217.320249c119.200879 0 216.115591 97.276109 216.11559 217.56118-0.240932 120.044139-96.974945 217.320248-216.175823 217.320249z" p-id="10234" fill="#bfbfbf"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M78.921.052H49.08c-1.865 0-3.198 1.599-3.198 3.464v6.661c0 1.865 1.6 3.464 3.198 3.464h29.84c1.865 0 3.198-1.599 3.198-3.464V3.516C82.385 1.65 80.786.052 78.92.052zm45.563 0H94.642c-1.865 0-3.464 1.599-3.464 3.464v6.661c0 1.865 1.599 3.464 3.464 3.464h29.842c1.865-.266 3.464-1.599 3.464-3.464V3.516c0-1.865-1.599-3.464-3.464-3.464zm0 22.382H40.02c-1.866 0-3.464-1.599-3.464-3.464V3.516c0-1.865-1.599-3.464-3.464-3.464H3.516C1.65.052.052 1.651.052 3.516V124.75c0 1.598 1.599 3.197 3.464 3.197h120.968c1.865 0 3.464-1.599 3.464-3.464V25.898c0-1.865-1.599-3.464-3.464-3.464z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M.006.064h127.988v31.104H.006V.064zm0 38.016h38.396v41.472H.006V38.08zm0 48.384h38.396v41.472H.006V86.464zM44.802 38.08h38.396v41.472H44.802V38.08zm0 48.384h38.396v41.472H44.802V86.464zM89.598 38.08h38.396v41.472H89.598zm0 48.384h38.396v41.472H89.598z"/><path d="M.006.064h127.988v31.104H.006V.064zm0 38.016h38.396v41.472H.006V38.08zm0 48.384h38.396v41.472H.006V86.464zM44.802 38.08h38.396v41.472H44.802V38.08zm0 48.384h38.396v41.472H44.802V86.464zM89.598 38.08h38.396v41.472H89.598zm0 48.384h38.396v41.472H89.598z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1575802855098" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2984" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M896 160H128c-35.2 0-64 28.8-64 64v576c0 35.2 28.8 64 64 64h768c35.2 0 64-28.8 64-64V224c0-35.2-28.8-64-64-64z m0 608c0 16-12.8 32-32 32H160c-19.2 0-32-12.8-32-32V256c0-16 12.8-32 32-32h704c19.2 0 32 12.8 32 32v512z" p-id="2985"></path><path d="M224 288c-19.2 0-32 12.8-32 32v256c0 16 12.8 32 32 32s32-12.8 32-32V320c0-16-12.8-32-32-32z m608 480c19.2 0 32-12.8 32-32V608L704 768h128z" p-id="2986"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M125.5 36.984L95.336 2.83C93.735 1.018 91.565 0 89.3 0c-2.263 0-4.433 1.018-6.033 2.83l-3.786 4.286c-1.6 1.812-3.77 2.83-6.032 2.831H54.553c-2.263 0-4.434-1.018-6.033-2.83L44.734 2.83C43.134 1.018 40.964 0 38.701 0c-2.263 0-4.434 1.018-6.034 2.83L2.5 36.984C.9 38.796 0 41.254 0 43.815c0 2.562.899 5.02 2.5 6.831L14.565 64.31c2.178 2.468 5.367 3.403 8.33 2.444 1.35-.435 2.709.592 2.709 2.18v49.407c0 5.313 3.84 9.66 8.532 9.66h59.726c4.693 0 8.532-4.347 8.532-9.66V68.934c0-1.59 1.36-2.616 2.71-2.181 2.962.96 6.15.024 8.329-2.444L125.5 50.646c1.6-1.811 2.499-4.269 2.499-6.83 0-2.563-.899-5.02-2.5-6.832z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1579774825624" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1248" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M498.595712 482.290351 345.420077 482.290351l0 57.307194 210.477712 0L555.897789 274.196942l-57.301054 0L498.596735 482.290351zM498.595712 482.290351" p-id="1249"></path><path d="M577.685002 644.98478l379.879913 0 0 57.302077L577.685002 702.286858 577.685002 644.98478 577.685002 644.98478zM577.685002 644.98478" p-id="1250"></path><path d="M577.685002 773.764795l379.879913 0 0 57.307194L577.685002 831.071989 577.685002 773.764795 577.685002 773.764795zM577.685002 773.764795" p-id="1251"></path><path d="M577.685002 902.549927l379.879913 0 0 57.307194L577.685002 959.857121 577.685002 902.549927 577.685002 902.549927zM577.685002 902.549927" p-id="1252"></path><path d="M102.523001 382.290823c4.450359 2.615571 9.470699 3.954055 14.530948 3.954055 2.969635 0 5.952572-0.461511 8.836249-1.394766l190.809767-61.886489c15.052834-4.882194 23.297612-21.040199 18.415418-36.08894-4.882194-15.052834-21.040199-23.297612-36.093033-18.415418L175.676092 308.458257c15.994276-26.115797 35.170011-50.537 57.370639-72.743768 73.767074-73.767074 171.845857-114.388237 276.16783-114.388237 104.32095 0 202.39564 40.622186 276.16169 114.388237s114.393353 171.845857 114.393353 276.16783c0 26.427906-2.615571 52.449559-7.709589 77.780481l58.302871 0c4.464685-25.499767 6.708795-51.470255 6.708795-77.780481 0-60.449767-11.845793-119.102608-35.204803-174.336584-22.559808-53.334719-54.850236-101.226472-95.968725-142.349055-41.122583-41.122583-89.017406-73.408917-142.348032-95.968725C628.317169 75.866898 569.659211 64.021106 509.215584 64.021106c-60.448744 0-119.106702 11.845793-174.336584 35.207873-53.334719 22.559808-101.230566 54.846142-142.349055 95.968725-23.980157 23.980157-44.934398 50.278103-62.727647 78.601172l-20.738323-105.655342c-3.043313-15.527648-18.105357-25.642007-33.631982-22.599717-15.527648 3.048429-25.64303 18.105357-22.599717 33.637098l36.102243 183.932126C90.51348 371.153158 95.460142 378.13313 102.523001 382.290823L102.523001 382.290823zM102.523001 382.290823" p-id="1253"></path><path d="M126.020158 587.9416 67.768453 587.9416c5.759167 33.679054 15.368012 66.544579 28.789697 98.278327 22.559808 53.333696 54.850236 101.225449 95.971795 142.348032 41.122583 41.122583 89.014336 73.408917 142.349055 95.968725 54.112432 22.88829 111.517863 34.71157 170.668031 35.18229L505.547031 902.395408c-102.94972-0.941442-199.594851-41.445948-272.499277-114.349351C177.545672 732.543975 140.810003 663.275355 126.020158 587.9416L126.020158 587.9416zM126.020158 587.9416" p-id="1254"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1577099827399" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1008" xmlns:xlink="http://www.w3.org/1999/xlink" width="81" height="81"><defs><style type="text/css"></style></defs><path d="M520 559h204c17.673 0 32 14.327 32 32 0 17.673-14.327 32-32 32H488c-17.673 0-32-14.327-32-32 0-0.167 0.001-0.334 0.004-0.5a32.65 32.65 0 0 1-0.004-0.5V277c0-17.673 14.327-32 32-32 17.673 0 32 14.327 32 32v282z m-8 401C264.576 960 64 759.424 64 512S264.576 64 512 64s448 200.576 448 448-200.576 448-448 448z m0-64c212.077 0 384-171.923 384-384S724.077 128 512 128 128 299.923 128 512s171.923 384 384 384z" p-id="1009"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1553828490559" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1684" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M898.831744 900.517641 103.816972 900.517641c-36.002982 0-65.363683-29.286-65.363683-65.313541l0-554.949184c0-36.041868 29.361725-65.326844 65.363683-65.326844l795.015795 0c36.002982 0 65.198931 29.284977 65.198931 65.326844l0 554.949184C964.030675 871.231641 934.834726 900.517641 898.831744 900.517641L898.831744 900.517641zM103.816972 255.593236c-13.576203 0-24.711821 11.085476-24.711821 24.662703l0 554.949184c0 13.576203 11.136641 24.662703 24.711821 24.662703l795.015795 0c13.577227 0 24.547069-11.086499 24.547069-24.662703l0-554.949184c0-13.577227-10.970866-24.662703-24.547069-24.662703L103.816972 255.593236 103.816972 255.593236zM664.346245 251.774257c-11.161201 0-20.332071-9.080819-20.332071-20.332071l0-101.278661c0-13.576203-11.047614-24.623817-24.699542-24.623817L383.181611 105.539708c-13.576203 0-24.712845 11.04659-24.712845 24.623817l0 101.278661c0 11.252275-9.041934 20.332071-20.332071 20.332071-11.20111 0-20.319791-9.080819-20.319791-20.332071l0-101.278661c0-35.989679 29.323862-65.275679 65.364707-65.275679l236.133022 0c36.06745 0 65.402569 29.284977 65.402569 65.275679l0 101.278661C684.717202 242.694461 675.636383 251.774257 664.346245 251.774257L664.346245 251.774257zM413.233044 521.725502 75.694471 521.725502c-11.163247 0-20.333094-9.117658-20.333094-20.35663 0-11.252275 9.169847-20.332071 20.333094-20.332071l337.538573 0c11.277858 0 20.319791 9.080819 20.319791 20.332071C433.552835 512.607844 424.510902 521.725502 413.233044 521.725502L413.233044 521.725502zM912.894018 521.725502 575.367725 521.725502c-11.213389 0-20.332071-9.117658-20.332071-20.35663 0-11.252275 9.118682-20.332071 20.332071-20.332071l337.526293 0c11.290137 0 20.332071 9.080819 20.332071 20.332071C933.226089 512.607844 924.184155 521.725502 912.894018 521.725502L912.894018 521.725502zM557.56322 634.217552 445.085496 634.217552c-11.213389 0-20.332071-9.079796-20.332071-20.331048l0-168.763658c0-11.251252 9.118682-20.332071 20.332071-20.332071l112.478747 0c11.290137 0 20.370956 9.080819 20.370956 20.332071l0 168.763658C577.934177 625.137757 568.853357 634.217552 557.56322 634.217552L557.56322 634.217552zM465.417567 593.514525l71.827909 0L537.245476 465.454918l-71.827909 0L465.417567 593.514525 465.417567 593.514525z" p-id="1685" fill="#bfbfbf"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M44.8 0h79.543C126.78 0 128 1.422 128 4.267v23.466c0 2.845-1.219 4.267-3.657 4.267H44.8c-2.438 0-3.657-1.422-3.657-4.267V4.267C41.143 1.422 42.362 0 44.8 0zm22.857 48h56.686c2.438 0 3.657 1.422 3.657 4.267v23.466c0 2.845-1.219 4.267-3.657 4.267H67.657C65.22 80 64 78.578 64 75.733V52.267C64 49.422 65.219 48 67.657 48zm0 48h56.686c2.438 0 3.657 1.422 3.657 4.267v23.466c0 2.845-1.219 4.267-3.657 4.267H67.657C65.22 128 64 126.578 64 123.733v-23.466C64 97.422 65.219 96 67.657 96zM50.286 68.267c2.02 0 3.657-1.91 3.657-4.267 0-2.356-1.638-4.267-3.657-4.267H17.37V32h6.4c2.02 0 3.658-1.91 3.658-4.267V4.267C27.429 1.91 25.79 0 23.77 0H3.657C1.637 0 0 1.91 0 4.267v23.466C0 30.09 1.637 32 3.657 32h6.4v80c0 2.356 1.638 4.267 3.657 4.267h36.572c2.02 0 3.657-1.91 3.657-4.267 0-2.356-1.638-4.267-3.657-4.267H17.37V68.267h32.915z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M126.713 90.023c.858.985 1.287 2.134 1.287 3.447v29.553c0 1.423-.429 2.6-1.287 3.53-.858.93-1.907 1.395-3.146 1.395H97.824c-1.145 0-2.146-.465-3.004-1.395-.858-.93-1.287-2.107-1.287-3.53V93.47c0-.875.19-1.696.572-2.462.382-.766.906-1.368 1.573-1.806a3.84 3.84 0 0 1 2.146-.657h9.725V69.007a3.84 3.84 0 0 0-.43-1.806 3.569 3.569 0 0 0-1.143-1.313 2.714 2.714 0 0 0-1.573-.492h-36.47v23.149h9.725c1.144 0 2.145.492 3.004 1.478.858.985 1.287 2.134 1.287 3.447v29.553c0 .876-.191 1.696-.573 2.463-.38.766-.905 1.368-1.573 1.806a3.84 3.84 0 0 1-2.145.656H51.915a3.84 3.84 0 0 1-2.145-.656c-.668-.438-1.216-1.04-1.645-1.806a4.96 4.96 0 0 1-.644-2.463V93.47c0-1.313.43-2.462 1.288-3.447.858-.986 1.907-1.478 3.146-1.478h9.582v-23.15h-37.9c-.953 0-1.74.356-2.359 1.068-.62.711-.93 1.56-.93 2.544v19.538h9.726c1.239 0 2.264.492 3.074 1.478.81.985 1.216 2.134 1.216 3.447v29.553c0 1.423-.405 2.6-1.216 3.53-.81.93-1.835 1.395-3.074 1.395H4.29c-.476 0-.93-.082-1.358-.246a4.1 4.1 0 0 1-1.144-.657 4.658 4.658 0 0 1-.93-1.067 5.186 5.186 0 0 1-.643-1.395 5.566 5.566 0 0 1-.215-1.56V93.47c0-.437.048-.875.143-1.313a3.95 3.95 0 0 1 .429-1.15c.19-.328.429-.656.715-.984.286-.329.572-.602.858-.821.286-.22.62-.383 1.001-.493.382-.11.763-.164 1.144-.164h9.726V61.619c0-.985.31-1.833.93-2.544.619-.712 1.358-1.068 2.216-1.068h44.335V39.62h-9.582c-1.24 0-2.288-.492-3.146-1.477a5.09 5.09 0 0 1-1.287-3.448V5.14c0-1.423.429-2.627 1.287-3.612.858-.985 1.907-1.477 3.146-1.477h25.743c.763 0 1.478.246 2.145.739a5.17 5.17 0 0 1 1.573 1.888c.382.766.573 1.587.573 2.462v29.553c0 1.313-.43 2.463-1.287 3.448-.859.985-1.86 1.477-3.004 1.477h-9.725v18.389h42.762c.954 0 1.74.355 2.36 1.067.62.711.93 1.56.93 2.545v26.925h9.582c1.239 0 2.288.492 3.146 1.478z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1577540289643" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7922" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M530.944 458.24l4.8 3.456 122.176 106.816a32 32 0 0 1-37.44 51.584l-4.672-3.392L546.56 556.16v280.704a32 32 0 0 1-26.24 31.488l-5.76 0.512a32 32 0 0 1-31.424-26.24l-0.512-5.76-0.064-280.704-69.12 60.48a32 32 0 0 1-40.96 0.896l-4.16-3.968a32 32 0 0 1-0.96-40.96l4.032-4.16 122.176-106.816a32 32 0 0 1 37.312-3.456zM497.92 128c128.128 0 239.168 82.304 275.52 199.04 123.968 11.264 221.312 113.088 221.312 237.44 0 128.128-103.68 232.96-234.88 238.272h-5.888l-35.52 0.192a32 32 0 0 1-0.192-64l35.264-0.128 4.672-0.064c96.384-3.84 172.544-80.896 172.544-174.272 0-96.128-80.512-174.464-179.584-174.464h-1.984a32 32 0 0 1-32-25.28C695.872 264.96 604.736 192 497.92 192 381.824 192 285.44 277.76 274.816 388.48a32 32 0 0 1-28.352 28.8c-83.968 9.152-147.84 78.208-147.84 159.552l0.192 7.936c3.84 85.76 77.056 154.112 166.592 154.112h45.632a32 32 0 0 1 0 64h-45.632C142.016 802.944 40.32 708.032 34.88 586.88l-0.192-9.28c0-106.88 76.352-197.184 179.968-219.904C239.488 226.112 357.76 128 497.856 128z" p-id="7923"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="130" height="130" xmlns="http://www.w3.org/2000/svg"><path d="M63.444 64.996c20.633 0 37.359-14.308 37.359-31.953 0-17.649-16.726-31.952-37.359-31.952-20.631 0-37.36 14.303-37.358 31.952 0 17.645 16.727 31.953 37.359 31.953zM80.57 75.65H49.434c-26.652 0-48.26 18.477-48.26 41.27v2.664c0 9.316 21.608 9.325 48.26 9.325H80.57c26.649 0 48.256-.344 48.256-9.325v-2.663c0-22.794-21.605-41.271-48.256-41.271z" stroke="#979797"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1569580729849" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1939" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M513.3 958.5c-142.2 0-397.9-222.1-401.6-440.5V268c1.7-39.6 31.7-72.3 71.1-77.3 49-4.6 97.1-16.5 142.7-35.3 47.8-14 91.9-38.3 129.4-71.1 30.3-24.4 72.9-26.3 105.3-4.6 39.9 30.7 83.8 55.9 130.5 74.6 48.6 14.7 98.2 25.9 148.4 33.7 38.5 7.6 67.1 40.3 69.5 79.5 3.3 84.9 2.5 169.9-2.6 254.7-33.7 281.6-253.7 436.4-392.7 436.3z m-0.1-813.7c-7.2-0.2-14.3 2-20 6.4-39.7 35.2-86.8 61.1-137.7 75.7-46.8 19.2-96.2 31-146.6 35.2-11 3.2-18.8 13-19.5 24.4v230.1c3.5 180.3 223.3 361 323.9 361s287.3-120.2 317.6-360.5c7.3-142.7 0-228.6 0-229.6-1.3-13.3-11-24.3-24-27.3-49.6-7.7-98.6-19-146.5-33.7-46.3-19.5-89.7-45.3-129-76.7-5.8-3.8-12.7-5.5-19.5-4.9l1.3-0.1z" fill="#C6CCDA" p-id="1940"></path><path d="M750.1 428L490.7 673.2c-11.7 11.1-29.5 12.9-43.1 4.2l-6.8-5.8-141.2-149.4c-9.3-9.3-12.7-22.9-9-35.5 3.8-12.6 14.1-22.1 27-24.8 12.9-2.7 26.1 1.9 34.6 11.9L469 597.5l233.7-221c14.6-12.8 36.8-11.6 49.9 2.7 13.2 14.2 11.5 35.3-2.5 48.8" fill="#C6CCDA" p-id="1941"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="128" height="110" xmlns="http://www.w3.org/2000/svg"><path d="M86.635 33.334c1.467 0 2.917.113 4.358.283C87.078 14.392 67.58.111 45.321.111 20.44.111.055 17.987.055 40.687c0 13.104 6.781 23.863 18.115 32.209l-4.527 14.352 15.82-8.364c5.666 1.182 10.207 2.395 15.858 2.395 1.42 0 2.829-.073 4.227-.189-.886-3.19-1.398-6.53-1.398-9.996 0-20.845 16.98-37.76 38.485-37.76zm-24.34-12.936c3.407 0 5.665 2.363 5.665 5.954 0 3.576-2.258 5.97-5.666 5.97-3.392 0-6.795-2.395-6.795-5.97 0-3.591 3.403-5.954 6.795-5.954zM30.616 32.323c-3.393 0-6.818-2.395-6.818-5.971 0-3.591 3.425-5.954 6.818-5.954 3.392 0 5.65 2.363 5.65 5.954 0 3.576-2.258 5.97-5.65 5.97z"/><path d="M127.945 70.52c0-19.075-18.108-34.623-38.448-34.623-21.537 0-38.5 15.548-38.5 34.623 0 19.108 16.963 34.622 38.5 34.622 4.508 0 9.058-1.2 13.584-2.395l12.414 7.167-3.404-11.923c9.087-7.184 15.854-16.712 15.854-27.471zm-50.928-5.97c-2.254 0-4.53-2.362-4.53-4.773 0-2.378 2.276-4.771 4.53-4.771 3.422 0 5.665 2.393 5.665 4.771 0 2.41-2.243 4.773-5.665 4.773zm24.897 0c-2.24 0-4.498-2.362-4.498-4.773 0-2.378 2.258-4.771 4.498-4.771 3.392 0 5.665 2.393 5.665 4.771 0 2.41-2.273 4.773-5.665 4.773z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M78.527 116.793c.178.008.348.024.527.024h40.233c4.711-.005 8.53-3.677 8.534-8.21V18.895c-.004-4.532-3.823-8.204-8.534-8.209H79.054c-.179 0-.353.016-.527.024V0L0 10.082v107.406l78.527 10.342v-11.037zm0-101.362c.174-.024.348-.052.527-.052h40.233c2.018 0 3.659 1.578 3.659 3.52v89.713c-.003 1.942-1.64 3.517-3.659 3.519H79.054c-.179 0-.353-.028-.527-.052V15.431zM30.262 75.757l-18.721-.46V72.37l11.3-16.673v-.148l-10.266.164v-4.51l17.504-.44v3.264L18.696 70.76v.144l11.566.176v4.678zm9.419.231l-5.823-.144V50.671l5.823-.144v25.461zm22.255-11.632c-2.168 1.922-5.353 2.76-9.02 2.736-.702.004-1.402-.04-2.097-.131v9.303l-5.997-.148V50.743c1.852-.352 4.473-.647 8.218-.743 3.838-.096 6.608.539 8.48 1.913 1.807 1.306 3.032 3.5 3.032 6.112s-.926 4.833-2.612 6.331h-.004zM53.36 54.45c-.856-.01-1.71.083-2.541.275v7.682c.523.116 1.167.152 2.06.152 3.301-.004 5.36-1.614 5.36-4.314 0-2.425-1.772-3.843-4.875-3.791l-.004-.004zm39.847-37.066h9.564v3.795h-9.564v-3.795zm-9.568 5.68h9.564v3.8h-9.564v-3.8zm9.568 6.216h9.564v3.799h-9.564V29.28zm0 12h9.564v3.794h-9.564V41.28zm-9.568-6.096h9.564v3.795h-9.564v-3.795zm9.472 47.064c2.512 0 4.921-.96 6.697-2.67 1.776-1.708 2.773-4.026 2.772-6.442l-1.748-15.263c0-5.033-2.492-9.112-7.725-9.112-5.232 0-7.72 4.079-7.72 9.112l-1.752 15.263c-.001 2.417.996 4.735 2.773 6.444 1.777 1.71 4.187 2.669 6.7 2.668h.003zm-3.135-16.75h6.27v12.743h-6.27V65.5z"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +# replace default config
2 +
3 +# multipass: true
4 +# full: true
5 +
6 +plugins:
7 +
8 + # - name
9 + #
10 + # or:
11 + # - name: false
12 + # - name: true
13 + #
14 + # or:
15 + # - name:
16 + # param1: 1
17 + # param2: 2
18 +
19 +- removeAttrs:
20 + attrs:
21 + - 'fill'
22 + - 'fill-rule'
1 +<?xml version="1.0" encoding="UTF-8"?>
2 +<svg width="52px" height="45px" viewBox="0 0 52 45" version="1.1"
3 + xmlns="http://www.w3.org/2000/svg"
4 + xmlns:xlink="http://www.w3.org/1999/xlink">
5 + <defs>
6 + <filter x="-9.4%" y="-6.2%" width="118.8%" height="122.5%" filterUnits="objectBoundingBox" id="filter-1">
7 + <feOffset dx="0" dy="1" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset>
8 + <feGaussianBlur stdDeviation="1" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur>
9 + <feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0" type="matrix" in="shadowBlurOuter1" result="shadowMatrixOuter1"></feColorMatrix>
10 + <feMerge>
11 + <feMergeNode in="shadowMatrixOuter1"></feMergeNode>
12 + <feMergeNode in="SourceGraphic"></feMergeNode>
13 + </feMerge>
14 + </filter>
15 + <rect id="path-2" x="0" y="0" width="48" height="40" rx="4"></rect>
16 + <filter x="-4.2%" y="-2.5%" width="108.3%" height="110.0%" filterUnits="objectBoundingBox" id="filter-4">
17 + <feOffset dx="0" dy="1" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset>
18 + <feGaussianBlur stdDeviation="0.5" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur>
19 + <feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0" type="matrix" in="shadowBlurOuter1"></feColorMatrix>
20 + </filter>
21 + </defs>
22 + <g id="配置面板" width="48" height="40" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
23 + <g id="setting-copy-2" width="48" height="40" transform="translate(-1190.000000, -136.000000)">
24 + <g id="Group-8" width="48" height="40" transform="translate(1167.000000, 0.000000)">
25 + <g id="Group-5-Copy-5" filter="url(#filter-1)" transform="translate(25.000000, 137.000000)">
26 + <mask id="mask-3" fill="white">
27 + <use xlink:href="#path-2"></use>
28 + </mask>
29 + <g id="Rectangle-18">
30 + <use fill="black" fill-opacity="1" filter="url(#filter-4)" xlink:href="#path-2"></use>
31 + <use fill="#F0F2F5" fill-rule="evenodd" xlink:href="#path-2"></use>
32 + </g>
33 + <rect id="Rectangle-11" fill="#FFFFFF" mask="url(#mask-3)" x="0" y="0" width="48" height="10"></rect>
34 + <rect id="Rectangle-18" fill="#303648" mask="url(#mask-3)" x="0" y="0" width="16" height="40"></rect>
35 + </g>
36 + </g>
37 + </g>
38 + </g>
39 +</svg>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" encoding="UTF-8"?>
2 +<svg width="52px" height="45px" viewBox="0 0 52 45" version="1.1"
3 + xmlns="http://www.w3.org/2000/svg"
4 + xmlns:xlink="http://www.w3.org/1999/xlink">
5 + <defs>
6 + <filter x="-9.4%" y="-6.2%" width="118.8%" height="122.5%" filterUnits="objectBoundingBox" id="filter-1">
7 + <feOffset dx="0" dy="1" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset>
8 + <feGaussianBlur stdDeviation="1" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur>
9 + <feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0" type="matrix" in="shadowBlurOuter1" result="shadowMatrixOuter1"></feColorMatrix>
10 + <feMerge>
11 + <feMergeNode in="shadowMatrixOuter1"></feMergeNode>
12 + <feMergeNode in="SourceGraphic"></feMergeNode>
13 + </feMerge>
14 + </filter>
15 + <rect id="path-2" x="0" y="0" width="48" height="40" rx="4"></rect>
16 + <filter x="-4.2%" y="-2.5%" width="108.3%" height="110.0%" filterUnits="objectBoundingBox" id="filter-4">
17 + <feOffset dx="0" dy="1" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset>
18 + <feGaussianBlur stdDeviation="0.5" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur>
19 + <feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0" type="matrix" in="shadowBlurOuter1"></feColorMatrix>
20 + </filter>
21 + </defs>
22 + <g id="配置面板" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
23 + <g id="setting-copy-2" transform="translate(-1254.000000, -136.000000)">
24 + <g id="Group-8" transform="translate(1167.000000, 0.000000)">
25 + <g id="Group-5" filter="url(#filter-1)" transform="translate(89.000000, 137.000000)">
26 + <mask id="mask-3" fill="white">
27 + <use xlink:href="#path-2"></use>
28 + </mask>
29 + <g id="Rectangle-18">
30 + <use fill="black" fill-opacity="1" filter="url(#filter-4)" xlink:href="#path-2"></use>
31 + <use fill="#F0F2F5" fill-rule="evenodd" xlink:href="#path-2"></use>
32 + </g>
33 + <rect id="Rectangle-18" fill="#FFFFFF" mask="url(#mask-3)" x="0" y="0" width="16" height="40"></rect>
34 + <rect id="Rectangle-11" fill="#FFFFFF" mask="url(#mask-3)" x="0" y="0" width="48" height="10"></rect>
35 + </g>
36 + </g>
37 + </g>
38 + </g>
39 +</svg>
...\ No newline at end of file ...\ No newline at end of file
1 +@import './variables.scss';
2 +
3 +@mixin colorBtn($color) {
4 + background: $color;
5 +
6 + &:hover {
7 + color: $color;
8 +
9 + &:before,
10 + &:after {
11 + background: $color;
12 + }
13 + }
14 +}
15 +
16 +.blue-btn {
17 + @include colorBtn($blue)
18 +}
19 +
20 +.light-blue-btn {
21 + @include colorBtn($light-blue)
22 +}
23 +
24 +.red-btn {
25 + @include colorBtn($red)
26 +}
27 +
28 +.pink-btn {
29 + @include colorBtn($pink)
30 +}
31 +
32 +.green-btn {
33 + @include colorBtn($green)
34 +}
35 +
36 +.tiffany-btn {
37 + @include colorBtn($tiffany)
38 +}
39 +
40 +.yellow-btn {
41 + @include colorBtn($yellow)
42 +}
43 +
44 +.pan-btn {
45 + font-size: 14px;
46 + color: #fff;
47 + padding: 14px 36px;
48 + border-radius: 8px;
49 + border: none;
50 + outline: none;
51 + transition: 600ms ease all;
52 + position: relative;
53 + display: inline-block;
54 +
55 + &:hover {
56 + background: #fff;
57 +
58 + &:before,
59 + &:after {
60 + width: 100%;
61 + transition: 600ms ease all;
62 + }
63 + }
64 +
65 + &:before,
66 + &:after {
67 + content: '';
68 + position: absolute;
69 + top: 0;
70 + right: 0;
71 + height: 2px;
72 + width: 0;
73 + transition: 400ms ease all;
74 + }
75 +
76 + &::after {
77 + right: inherit;
78 + top: inherit;
79 + left: 0;
80 + bottom: 0;
81 + }
82 +}
83 +
84 +.custom-button {
85 + display: inline-block;
86 + line-height: 1;
87 + white-space: nowrap;
88 + cursor: pointer;
89 + background: #fff;
90 + color: #fff;
91 + -webkit-appearance: none;
92 + text-align: center;
93 + box-sizing: border-box;
94 + outline: 0;
95 + margin: 0;
96 + padding: 10px 15px;
97 + font-size: 14px;
98 + border-radius: 4px;
99 +}
1 +// cover some element-ui styles
2 +
3 +.el-breadcrumb__inner,
4 +.el-breadcrumb__inner a {
5 + font-weight: 400 !important;
6 +}
7 +
8 +.el-upload {
9 + input[type="file"] {
10 + display: none !important;
11 + }
12 +}
13 +
14 +.el-upload__input {
15 + display: none;
16 +}
17 +
18 +.cell {
19 + .el-tag {
20 + margin-right: 0px;
21 + }
22 +}
23 +
24 +.small-padding {
25 + .cell {
26 + padding-left: 5px;
27 + padding-right: 5px;
28 + }
29 +}
30 +
31 +.fixed-width {
32 + .el-button--mini {
33 + padding: 7px 10px;
34 + width: 60px;
35 + }
36 +}
37 +
38 +.status-col {
39 + .cell {
40 + padding: 0 10px;
41 + text-align: center;
42 +
43 + .el-tag {
44 + margin-right: 0px;
45 + }
46 + }
47 +}
48 +
49 +// to fixed https://github.com/ElemeFE/element/issues/2461
50 +.el-dialog {
51 + transform: none;
52 + left: 0;
53 + position: relative;
54 + margin: 0 auto;
55 +}
56 +
57 +// refine element ui upload
58 +.upload-container {
59 + .el-upload {
60 + width: 100%;
61 +
62 + .el-upload-dragger {
63 + width: 100%;
64 + height: 200px;
65 + }
66 + }
67 +}
68 +
69 +// dropdown
70 +.el-dropdown-menu {
71 + a {
72 + display: block
73 + }
74 +}
75 +
76 +// fix date-picker ui bug in filter-item
77 +.el-range-editor.el-input__inner {
78 + display: inline-flex !important;
79 +}
80 +
81 +// to fix el-date-picker css style
82 +.el-range-separator {
83 + box-sizing: content-box;
84 +}
85 +
86 +.el-menu--collapse
87 + > div
88 + > .el-submenu
89 + > .el-submenu__title
90 + .el-submenu__icon-arrow {
91 + display: none;
92 +}
...\ No newline at end of file ...\ No newline at end of file
1 +/**
2 +* I think element-ui's default theme color is too light for long-term use.
3 +* So I modified the default color and you can modify it to your liking.
4 +**/
5 +
6 +/* theme color */
7 +$--color-primary: #1890ff;
8 +$--color-success: #13ce66;
9 +$--color-warning: #ffba00;
10 +$--color-danger: #ff4949;
11 +// $--color-info: #1E1E1E;
12 +
13 +$--button-font-weight: 400;
14 +
15 +// $--color-text-regular: #1f2d3d;
16 +
17 +$--border-color-light: #dfe4ed;
18 +$--border-color-lighter: #e6ebf5;
19 +
20 +$--table-border:1px solid#dfe6ec;
21 +
22 +/* icon font path, required */
23 +$--font-path: '~element-ui/lib/theme-chalk/fonts';
24 +
25 +@import "~element-ui/packages/theme-chalk/src/index";
26 +
27 +// the :export directive is the magic sauce for webpack
28 +// https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass
29 +:export {
30 + theme: $--color-primary;
31 +}
1 +@import './variables.scss';
2 +@import './mixin.scss';
3 +@import './transition.scss';
4 +@import './element-ui.scss';
5 +@import './sidebar.scss';
6 +@import './btn.scss';
7 +
8 +body {
9 + height: 100%;
10 + -moz-osx-font-smoothing: grayscale;
11 + -webkit-font-smoothing: antialiased;
12 + text-rendering: optimizeLegibility;
13 + font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
14 +}
15 +
16 +label {
17 + font-weight: 700;
18 +}
19 +
20 +html {
21 + height: 100%;
22 + box-sizing: border-box;
23 +}
24 +
25 +#app {
26 + height: 100%;
27 +}
28 +
29 +*,
30 +*:before,
31 +*:after {
32 + box-sizing: inherit;
33 +}
34 +
35 +.no-padding {
36 + padding: 0px !important;
37 +}
38 +
39 +.padding-content {
40 + padding: 4px 0;
41 +}
42 +
43 +a:focus,
44 +a:active {
45 + outline: none;
46 +}
47 +
48 +a,
49 +a:focus,
50 +a:hover {
51 + cursor: pointer;
52 + color: inherit;
53 + text-decoration: none;
54 +}
55 +
56 +div:focus {
57 + outline: none;
58 +}
59 +
60 +.fr {
61 + float: right;
62 +}
63 +
64 +.fl {
65 + float: left;
66 +}
67 +
68 +.pr-5 {
69 + padding-right: 5px;
70 +}
71 +
72 +.pl-5 {
73 + padding-left: 5px;
74 +}
75 +
76 +.block {
77 + display: block;
78 +}
79 +
80 +.pointer {
81 + cursor: pointer;
82 +}
83 +
84 +.inlineBlock {
85 + display: block;
86 +}
87 +
88 +.clearfix {
89 + &:after {
90 + visibility: hidden;
91 + display: block;
92 + font-size: 0;
93 + content: " ";
94 + clear: both;
95 + height: 0;
96 + }
97 +}
98 +
99 +aside {
100 + background: #eef1f6;
101 + padding: 8px 24px;
102 + margin-bottom: 20px;
103 + border-radius: 2px;
104 + display: block;
105 + line-height: 32px;
106 + font-size: 16px;
107 + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
108 + color: #2c3e50;
109 + -webkit-font-smoothing: antialiased;
110 + -moz-osx-font-smoothing: grayscale;
111 +
112 + a {
113 + color: #337ab7;
114 + cursor: pointer;
115 +
116 + &:hover {
117 + color: rgb(32, 160, 255);
118 + }
119 + }
120 +}
121 +
122 +//main-container全局样式
123 +.app-container {
124 + padding: 20px;
125 +}
126 +
127 +.components-container {
128 + margin: 30px 50px;
129 + position: relative;
130 +}
131 +
132 +.pagination-container {
133 + margin-top: 30px;
134 +}
135 +
136 +.text-center {
137 + text-align: center
138 +}
139 +
140 +.sub-navbar {
141 + height: 50px;
142 + line-height: 50px;
143 + position: relative;
144 + width: 100%;
145 + text-align: right;
146 + padding-right: 20px;
147 + transition: 600ms ease position;
148 + background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);
149 +
150 + .subtitle {
151 + font-size: 20px;
152 + color: #fff;
153 + }
154 +
155 + &.draft {
156 + background: #d0d0d0;
157 + }
158 +
159 + &.deleted {
160 + background: #d0d0d0;
161 + }
162 +}
163 +
164 +.link-type,
165 +.link-type:focus {
166 + color: #337ab7;
167 + cursor: pointer;
168 +
169 + &:hover {
170 + color: rgb(32, 160, 255);
171 + }
172 +}
173 +
174 +.filter-container {
175 + padding-bottom: 10px;
176 +
177 + .filter-item {
178 + display: inline-block;
179 + vertical-align: middle;
180 + margin-bottom: 10px;
181 + }
182 +}
183 +
184 +//refine vue-multiselect plugin
185 +.multiselect {
186 + line-height: 16px;
187 +}
188 +
189 +.multiselect--active {
190 + z-index: 1000 !important;
191 +}
1 +@mixin clearfix {
2 + &:after {
3 + content: "";
4 + display: table;
5 + clear: both;
6 + }
7 +}
8 +
9 +@mixin scrollBar {
10 + &::-webkit-scrollbar-track-piece {
11 + background: #d3dce6;
12 + }
13 +
14 + &::-webkit-scrollbar {
15 + width: 6px;
16 + }
17 +
18 + &::-webkit-scrollbar-thumb {
19 + background: #99a9bf;
20 + border-radius: 20px;
21 + }
22 +}
23 +
24 +@mixin relative {
25 + position: relative;
26 + width: 100%;
27 + height: 100%;
28 +}
29 +
30 +@mixin pct($pct) {
31 + width: #{$pct};
32 + position: relative;
33 + margin: 0 auto;
34 +}
35 +
36 +@mixin triangle($width, $height, $color, $direction) {
37 + $width: $width/2;
38 + $color-border-style: $height solid $color;
39 + $transparent-border-style: $width solid transparent;
40 + height: 0;
41 + width: 0;
42 +
43 + @if $direction==up {
44 + border-bottom: $color-border-style;
45 + border-left: $transparent-border-style;
46 + border-right: $transparent-border-style;
47 + }
48 +
49 + @else if $direction==right {
50 + border-left: $color-border-style;
51 + border-top: $transparent-border-style;
52 + border-bottom: $transparent-border-style;
53 + }
54 +
55 + @else if $direction==down {
56 + border-top: $color-border-style;
57 + border-left: $transparent-border-style;
58 + border-right: $transparent-border-style;
59 + }
60 +
61 + @else if $direction==left {
62 + border-right: $color-border-style;
63 + border-top: $transparent-border-style;
64 + border-bottom: $transparent-border-style;
65 + }
66 +}
1 + /**
2 + * 通用css样式布局处理
3 + * Copyright (c) 2019 ruoyi
4 + */
5 +
6 + /** 基础通用 **/
7 +.pt5 {
8 + padding-top: 5px;
9 +}
10 +.pr5 {
11 + padding-right: 5px;
12 +}
13 +.pb5 {
14 + padding-bottom: 5px;
15 +}
16 +.mt5 {
17 + margin-top: 5px;
18 +}
19 +.mr5 {
20 + margin-right: 5px;
21 +}
22 +.mb5 {
23 + margin-bottom: 5px;
24 +}
25 +.mb8 {
26 + margin-bottom: 8px;
27 +}
28 +.ml5 {
29 + margin-left: 5px;
30 +}
31 +.mt10 {
32 + margin-top: 10px;
33 +}
34 +.mr10 {
35 + margin-right: 10px;
36 +}
37 +.mb10 {
38 + margin-bottom: 10px;
39 +}
40 +.ml0 {
41 + margin-left: 10px;
42 +}
43 +.mt20 {
44 + margin-top: 20px;
45 +}
46 +.mr20 {
47 + margin-right: 20px;
48 +}
49 +.mb20 {
50 + margin-bottom: 20px;
51 +}
52 +.m20 {
53 + margin-left: 20px;
54 +}
55 +
56 +.el-dialog:not(.is-fullscreen){
57 + margin-top: 6vh !important;
58 +}
59 +
60 +.el-table {
61 + .el-table__header-wrapper, .el-table__fixed-header-wrapper {
62 + th {
63 + word-break: break-word;
64 + background-color: #f8f8f9;
65 + color: #515a6e;
66 + height: 40px;
67 + font-size: 13px;
68 + }
69 + }
70 + .el-table__body-wrapper {
71 + .el-button [class*="el-icon-"] + span {
72 + margin-left: 1px;
73 + }
74 + }
75 +}
76 +
77 +/** 表单布局 **/
78 +.form-header {
79 + font-size:15px;
80 + color:#6379bb;
81 + border-bottom:1px solid #ddd;
82 + margin:8px 10px 25px 10px;
83 + padding-bottom:5px
84 +}
85 +
86 +/** 表格布局 **/
87 +.pagination-container {
88 + position: relative;
89 + height: 25px;
90 + margin-bottom: 10px;
91 + margin-top: 15px;
92 + padding: 10px 20px !important;
93 +}
94 +
95 +/* tree border */
96 +.tree-border {
97 + margin-top: 5px;
98 + border: 1px solid #e5e6e7;
99 + background: #FFFFFF none;
100 + border-radius:4px;
101 +}
102 +
103 +.pagination-container .el-pagination {
104 + right: 0;
105 + position: absolute;
106 +}
107 +
108 +.el-table .fixed-width .el-button--mini {
109 + padding-left: 0;
110 + padding-right: 0;
111 + width: inherit;
112 +}
113 +
114 +.el-tree-node__content > .el-checkbox {
115 + margin-right: 8px;
116 +}
117 +
118 +.list-group-striped > .list-group-item {
119 + border-left: 0;
120 + border-right: 0;
121 + border-radius: 0;
122 + padding-left: 0;
123 + padding-right: 0;
124 +}
125 +
126 +.list-group {
127 + padding-left: 0px;
128 + list-style: none;
129 +}
130 +
131 +.list-group-item {
132 + border-bottom: 1px solid #e7eaec;
133 + border-top: 1px solid #e7eaec;
134 + margin-bottom: -1px;
135 + padding: 11px 0px;
136 + font-size: 13px;
137 +}
138 +
139 +.pull-right {
140 + float: right !important;
141 +}
142 +
143 +.el-card__header {
144 + padding: 14px 15px 7px;
145 + min-height: 40px;
146 +}
147 +
148 +.el-card__body {
149 + padding: 15px 20px 20px 20px;
150 +}
151 +
152 +.card-box {
153 + padding-right: 15px;
154 + padding-left: 15px;
155 + margin-bottom: 10px;
156 +}
157 +
158 +/* button color */
159 +.el-button--cyan.is-active,
160 +.el-button--cyan:active {
161 + background: #20B2AA;
162 + border-color: #20B2AA;
163 + color: #FFFFFF;
164 +}
165 +
166 +.el-button--cyan:focus,
167 +.el-button--cyan:hover {
168 + background: #48D1CC;
169 + border-color: #48D1CC;
170 + color: #FFFFFF;
171 +}
172 +
173 +.el-button--cyan {
174 + background-color: #20B2AA;
175 + border-color: #20B2AA;
176 + color: #FFFFFF;
177 +}
178 +
179 +/* text color */
180 +.text-navy {
181 + color: #1ab394;
182 +}
183 +
184 +.text-primary {
185 + color: inherit;
186 +}
187 +
188 +.text-success {
189 + color: #1c84c6;
190 +}
191 +
192 +.text-info {
193 + color: #23c6c8;
194 +}
195 +
196 +.text-warning {
197 + color: #f8ac59;
198 +}
199 +
200 +.text-danger {
201 + color: #ed5565;
202 +}
203 +
204 +.text-muted {
205 + color: #888888;
206 +}
207 +
208 +/* image */
209 +.img-circle {
210 + border-radius: 50%;
211 +}
212 +
213 +.img-lg {
214 + width: 120px;
215 + height: 120px;
216 +}
217 +
218 +.avatar-upload-preview {
219 + position: absolute;
220 + top: 50%;
221 + transform: translate(50%, -50%);
222 + width: 200px;
223 + height: 200px;
224 + border-radius: 50%;
225 + box-shadow: 0 0 4px #ccc;
226 + overflow: hidden;
227 +}
228 +
229 +/* 拖拽列样式 */
230 +.sortable-ghost{
231 + opacity: .8;
232 + color: #fff!important;
233 + background: #42b983!important;
234 +}
235 +
236 +.top-right-btn {
237 + position: relative;
238 + float: right;
239 +}
1 +#app {
2 +
3 + .main-container {
4 + min-height: 100%;
5 + transition: margin-left .28s;
6 + margin-left: $sideBarWidth;
7 + position: relative;
8 + }
9 +
10 + .sidebar-container {
11 + -webkit-transition: width .28s;
12 + transition: width 0.28s;
13 + width: $sideBarWidth !important;
14 + background-color: $menuBg;
15 + height: 100%;
16 + position: fixed;
17 + font-size: 0px;
18 + top: 0;
19 + bottom: 0;
20 + left: 0;
21 + z-index: 1001;
22 + overflow: hidden;
23 + -webkit-box-shadow: 2px 0 6px rgba(0,21,41,.35);
24 + box-shadow: 2px 0 6px rgba(0,21,41,.35);
25 +
26 + // reset element-ui css
27 + .horizontal-collapse-transition {
28 + transition: 0s width ease-in-out, 0s padding-left ease-in-out, 0s padding-right ease-in-out;
29 + }
30 +
31 + .scrollbar-wrapper {
32 + overflow-x: hidden !important;
33 + }
34 +
35 + .el-scrollbar__bar.is-vertical {
36 + right: 0px;
37 + }
38 +
39 + .el-scrollbar {
40 + height: 100%;
41 + }
42 +
43 + &.has-logo {
44 + .el-scrollbar {
45 + height: calc(100% - 50px);
46 + }
47 + }
48 +
49 + .is-horizontal {
50 + display: none;
51 + }
52 +
53 + a {
54 + display: inline-block;
55 + width: 100%;
56 + overflow: hidden;
57 + }
58 +
59 + .svg-icon {
60 + margin-right: 16px;
61 + }
62 +
63 + .el-menu {
64 + border: none;
65 + height: 100%;
66 + width: 100% !important;
67 + }
68 +
69 + .el-menu-item, .el-submenu__title {
70 + overflow: hidden !important;
71 + text-overflow: ellipsis !important;
72 + white-space: nowrap !important;
73 + }
74 +
75 + // menu hover
76 + .submenu-title-noDropdown,
77 + .el-submenu__title {
78 + &:hover {
79 + background-color: rgba(0, 0, 0, 0.06) !important;
80 + }
81 + }
82 +
83 + & .theme-dark .is-active > .el-submenu__title {
84 + color: $subMenuActiveText !important;
85 + }
86 +
87 + & .nest-menu .el-submenu>.el-submenu__title,
88 + & .el-submenu .el-menu-item {
89 + min-width: $sideBarWidth !important;
90 +
91 + &:hover {
92 + background-color: rgba(0, 0, 0, 0.06) !important;
93 + }
94 + }
95 +
96 + & .theme-dark .nest-menu .el-submenu>.el-submenu__title,
97 + & .theme-dark .el-submenu .el-menu-item {
98 + background-color: $subMenuBg !important;
99 +
100 + &:hover {
101 + background-color: $subMenuHover !important;
102 + }
103 + }
104 + }
105 +
106 + .hideSidebar {
107 + .sidebar-container {
108 + width: 54px !important;
109 + }
110 +
111 + .main-container {
112 + margin-left: 54px;
113 + }
114 +
115 + .submenu-title-noDropdown {
116 + padding: 0 !important;
117 + position: relative;
118 +
119 + .el-tooltip {
120 + padding: 0 !important;
121 +
122 + .svg-icon {
123 + margin-left: 20px;
124 + }
125 + }
126 + }
127 +
128 + .el-submenu {
129 + overflow: hidden;
130 +
131 + &>.el-submenu__title {
132 + padding: 0 !important;
133 +
134 + .svg-icon {
135 + margin-left: 20px;
136 + }
137 +
138 + }
139 + }
140 +
141 + .el-menu--collapse {
142 + .el-submenu {
143 + &>.el-submenu__title {
144 + &>span {
145 + height: 0;
146 + width: 0;
147 + overflow: hidden;
148 + visibility: hidden;
149 + display: inline-block;
150 + }
151 + }
152 + }
153 + }
154 + }
155 +
156 + .el-menu--collapse .el-menu .el-submenu {
157 + min-width: $sideBarWidth !important;
158 + }
159 +
160 + // mobile responsive
161 + .mobile {
162 + .main-container {
163 + margin-left: 0px;
164 + }
165 +
166 + .sidebar-container {
167 + transition: transform .28s;
168 + width: $sideBarWidth !important;
169 + }
170 +
171 + &.hideSidebar {
172 + .sidebar-container {
173 + pointer-events: none;
174 + transition-duration: 0.3s;
175 + transform: translate3d(-$sideBarWidth, 0, 0);
176 + }
177 + }
178 + }
179 +
180 + .withoutAnimation {
181 +
182 + .main-container,
183 + .sidebar-container {
184 + transition: none;
185 + }
186 + }
187 +}
188 +
189 +// when menu collapsed
190 +.el-menu--vertical {
191 + &>.el-menu {
192 + .svg-icon {
193 + margin-right: 16px;
194 + }
195 + }
196 +
197 + .nest-menu .el-submenu>.el-submenu__title,
198 + .el-menu-item {
199 + &:hover {
200 + // you can use $subMenuHover
201 + background-color: rgba(0, 0, 0, 0.06) !important;
202 + }
203 + }
204 +
205 + // the scroll bar appears when the subMenu is too long
206 + >.el-menu--popup {
207 + max-height: 100vh;
208 + overflow-y: auto;
209 +
210 + &::-webkit-scrollbar-track-piece {
211 + background: #d3dce6;
212 + }
213 +
214 + &::-webkit-scrollbar {
215 + width: 6px;
216 + }
217 +
218 + &::-webkit-scrollbar-thumb {
219 + background: #99a9bf;
220 + border-radius: 20px;
221 + }
222 + }
223 +}
1 +// global transition css
2 +
3 +/* fade */
4 +.fade-enter-active,
5 +.fade-leave-active {
6 + transition: opacity 0.28s;
7 +}
8 +
9 +.fade-enter,
10 +.fade-leave-active {
11 + opacity: 0;
12 +}
13 +
14 +/* fade-transform */
15 +.fade-transform-leave-active,
16 +.fade-transform-enter-active {
17 + transition: all .5s;
18 +}
19 +
20 +.fade-transform-enter {
21 + opacity: 0;
22 + transform: translateX(-30px);
23 +}
24 +
25 +.fade-transform-leave-to {
26 + opacity: 0;
27 + transform: translateX(30px);
28 +}
29 +
30 +/* breadcrumb transition */
31 +.breadcrumb-enter-active,
32 +.breadcrumb-leave-active {
33 + transition: all .5s;
34 +}
35 +
36 +.breadcrumb-enter,
37 +.breadcrumb-leave-active {
38 + opacity: 0;
39 + transform: translateX(20px);
40 +}
41 +
42 +.breadcrumb-move {
43 + transition: all .5s;
44 +}
45 +
46 +.breadcrumb-leave-active {
47 + position: absolute;
48 +}
1 +// base color
2 +$blue:#324157;
3 +$light-blue:#3A71A8;
4 +$red:#C03639;
5 +$pink: #E65D6E;
6 +$green: #30B08F;
7 +$tiffany: #4AB7BD;
8 +$yellow:#FEC171;
9 +$panGreen: #30B08F;
10 +
11 +// sidebar
12 +$menuText:#bfcbd9;
13 +$menuActiveText:#409EFF;
14 +$subMenuActiveText:#f4f4f5; // https://github.com/ElemeFE/element/issues/12951
15 +
16 +$menuBg:#304156;
17 +$menuHover:#263445;
18 +$sidebarTitle: #ffffff;
19 +
20 +$menuLightBg:#ffffff;
21 +$menuLightHover:#f0f1f5;
22 +$sidebarLightTitle: #001529;
23 +
24 +$subMenuBg:#1f2d3d;
25 +$subMenuHover:#001528;
26 +
27 +$sideBarWidth: 200px;
28 +
29 +// the :export directive is the magic sauce for webpack
30 +// https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass
31 +:export {
32 + menuText: $menuText;
33 + menuActiveText: $menuActiveText;
34 + subMenuActiveText: $subMenuActiveText;
35 + menuBg: $menuBg;
36 + menuHover: $menuHover;
37 + menuLightBg: $menuLightBg;
38 + menuLightHover: $menuLightHover;
39 + subMenuBg: $subMenuBg;
40 + subMenuHover: $subMenuHover;
41 + sideBarWidth: $sideBarWidth;
42 + sidebarTitle: $sidebarTitle;
43 + sidebarLightTitle: $sidebarLightTitle
44 +}
1 +<template>
2 + <el-breadcrumb class="app-breadcrumb" separator="/">
3 + <transition-group name="breadcrumb">
4 + <el-breadcrumb-item v-for="(item,index) in levelList" :key="item.path">
5 + <span v-if="item.redirect==='noRedirect'||index==levelList.length-1" class="no-redirect">{{ item.meta.title }}</span>
6 + <a v-else @click.prevent="handleLink(item)">{{ item.meta.title }}</a>
7 + </el-breadcrumb-item>
8 + </transition-group>
9 + </el-breadcrumb>
10 +</template>
11 +
12 +<script>
13 +export default {
14 + data() {
15 + return {
16 + levelList: null
17 + }
18 + },
19 + watch: {
20 + $route(route) {
21 + // if you go to the redirect page, do not update the breadcrumbs
22 + if (route.path.startsWith('/redirect/')) {
23 + return
24 + }
25 + this.getBreadcrumb()
26 + }
27 + },
28 + created() {
29 + this.getBreadcrumb()
30 + },
31 + methods: {
32 + getBreadcrumb() {
33 + // only show routes with meta.title
34 + let matched = this.$route.matched.filter(item => item.meta && item.meta.title)
35 + const first = matched[0]
36 +
37 + if (!this.isDashboard(first)) {
38 + matched = [{ path: '/index', meta: { title: '首页' }}].concat(matched)
39 + }
40 +
41 + this.levelList = matched.filter(item => item.meta && item.meta.title && item.meta.breadcrumb !== false)
42 + },
43 + isDashboard(route) {
44 + const name = route && route.name
45 + if (!name) {
46 + return false
47 + }
48 + return name.trim() === '首页'
49 + },
50 + handleLink(item) {
51 + const { redirect, path } = item
52 + if (redirect) {
53 + this.$router.push(redirect)
54 + return
55 + }
56 + this.$router.push(path)
57 + }
58 + }
59 +}
60 +</script>
61 +
62 +<style lang="scss" scoped>
63 +.app-breadcrumb.el-breadcrumb {
64 + display: inline-block;
65 + font-size: 14px;
66 + line-height: 50px;
67 + margin-left: 8px;
68 +
69 + .no-redirect {
70 + color: #97a8be;
71 + cursor: text;
72 + }
73 +}
74 +</style>
1 +<template>
2 + <div>
3 + <el-upload
4 + :action="uploadUrl"
5 + :on-success="handleUploadSuccess"
6 + :on-error="handleUploadError"
7 + name="file"
8 + :show-file-list="false"
9 + :headers="headers"
10 + style="display: none"
11 + ref="upload"
12 + v-if="this.uploadUrl"
13 + >
14 + </el-upload>
15 + <div class="editor" ref="editor" :style="styles"></div>
16 + </div>
17 +</template>
18 +
19 +<script>
20 +import Quill from "quill";
21 +import "quill/dist/quill.core.css";
22 +import "quill/dist/quill.snow.css";
23 +import "quill/dist/quill.bubble.css";
24 +import { getToken } from "@/utils/auth";
25 +
26 +export default {
27 + name: "Editor",
28 + props: {
29 + /* 编辑器的内容 */
30 + value: {
31 + type: String,
32 + default: "",
33 + },
34 + /* 高度 */
35 + height: {
36 + type: Number,
37 + default: null,
38 + },
39 + /* 最小高度 */
40 + minHeight: {
41 + type: Number,
42 + default: null,
43 + },
44 + /* 只读 */
45 + readOnly: {
46 + type: Boolean,
47 + default: false,
48 + },
49 + /* 上传地址 */
50 + uploadUrl: {
51 + type: String,
52 + default: "",
53 + }
54 + },
55 + data() {
56 + return {
57 + headers: {
58 + Authorization: "Bearer " + getToken()
59 + },
60 + Quill: null,
61 + currentValue: "",
62 + options: {
63 + theme: "snow",
64 + bounds: document.body,
65 + debug: "warn",
66 + modules: {
67 + // 工具栏配置
68 + toolbar: [
69 + ["bold", "italic", "underline", "strike"], // 加粗 斜体 下划线 删除线
70 + ["blockquote", "code-block"], // 引用 代码块
71 + [{ list: "ordered" }, { list: "bullet" }], // 有序、无序列表
72 + [{ indent: "-1" }, { indent: "+1" }], // 缩进
73 + [{ size: ["small", false, "large", "huge"] }], // 字体大小
74 + [{ header: [1, 2, 3, 4, 5, 6, false] }], // 标题
75 + [{ color: [] }, { background: [] }], // 字体颜色、字体背景颜色
76 + [{ align: [] }], // 对齐方式
77 + ["clean"], // 清除文本格式
78 + ["link", "image"] // 链接、图片
79 + ],
80 + },
81 + placeholder: "请输入内容",
82 + readOnly: this.readOnly,
83 + },
84 + };
85 + },
86 + computed: {
87 + styles() {
88 + let style = {};
89 + if (this.minHeight) {
90 + style.minHeight = `${this.minHeight}px`;
91 + }
92 + if (this.height) {
93 + style.height = `${this.height}px`;
94 + }
95 + return style;
96 + },
97 + },
98 + watch: {
99 + value: {
100 + handler(val) {
101 + if (val !== this.currentValue) {
102 + this.currentValue = val === null ? "" : val;
103 + if (this.Quill) {
104 + this.Quill.pasteHTML(this.currentValue);
105 + }
106 + }
107 + },
108 + immediate: true,
109 + },
110 + },
111 + mounted() {
112 + this.init();
113 + },
114 + beforeDestroy() {
115 + this.Quill = null;
116 + },
117 + methods: {
118 + init() {
119 + const editor = this.$refs.editor;
120 + this.Quill = new Quill(editor, this.options);
121 + // 如果设置了上传地址则自定义图片上传事件
122 + if (this.uploadUrl) {
123 + let toolbar = this.Quill.getModule("toolbar");
124 + toolbar.addHandler("image", (value) => {
125 + this.uploadType = "image";
126 + if (value) {
127 + this.$refs.upload.$children[0].$refs.input.click();
128 + } else {
129 + this.quill.format("image", false);
130 + }
131 + });
132 + toolbar.addHandler("video", (value) => {
133 + this.uploadType = "video";
134 + if (value) {
135 + this.$refs.upload.$children[0].$refs.input.click();
136 + } else {
137 + this.quill.format("video", false);
138 + }
139 + });
140 + }
141 + this.Quill.pasteHTML(this.currentValue);
142 + this.Quill.on("text-change", (delta, oldDelta, source) => {
143 + const html = this.$refs.editor.children[0].innerHTML;
144 + const text = this.Quill.getText();
145 + const quill = this.Quill;
146 + this.currentValue = html;
147 + this.$emit("input", html);
148 + this.$emit("on-change", { html, text, quill });
149 + });
150 + this.Quill.on("text-change", (delta, oldDelta, source) => {
151 + this.$emit("on-text-change", delta, oldDelta, source);
152 + });
153 + this.Quill.on("selection-change", (range, oldRange, source) => {
154 + this.$emit("on-selection-change", range, oldRange, source);
155 + });
156 + this.Quill.on("editor-change", (eventName, ...args) => {
157 + this.$emit("on-editor-change", eventName, ...args);
158 + });
159 + },
160 + handleUploadSuccess(res, file) {
161 + // 获取富文本组件实例
162 + let quill = this.Quill;
163 + // 如果上传成功
164 + if (res.code == 200) {
165 + // 获取光标所在位置
166 + let length = quill.getSelection().index;
167 + // 插入图片 res.url为服务器返回的图片地址
168 + quill.insertEmbed(length, "image", res.url);
169 + // 调整光标到最后
170 + quill.setSelection(length + 1);
171 + } else {
172 + this.$message.error("图片插入失败");
173 + }
174 + },
175 + handleUploadError() {
176 + this.$message.error("图片插入失败");
177 + },
178 + },
179 +};
180 +</script>
181 +
182 +<style>
183 +.editor, .ql-toolbar {
184 + white-space: pre-wrap !important;
185 + line-height: normal !important;
186 +}
187 +.quill-img {
188 + display: none;
189 +}
190 +.ql-snow .ql-tooltip[data-mode="link"]::before {
191 + content: "请输入链接地址:";
192 +}
193 +.ql-snow .ql-tooltip.ql-editing a.ql-action::after {
194 + border-right: 0px;
195 + content: "保存";
196 + padding-right: 0px;
197 +}
198 +
199 +.ql-snow .ql-tooltip[data-mode="video"]::before {
200 + content: "请输入视频地址:";
201 +}
202 +
203 +.ql-snow .ql-picker.ql-size .ql-picker-label::before,
204 +.ql-snow .ql-picker.ql-size .ql-picker-item::before {
205 + content: "14px";
206 +}
207 +.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="small"]::before,
208 +.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="small"]::before {
209 + content: "10px";
210 +}
211 +.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="large"]::before,
212 +.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="large"]::before {
213 + content: "18px";
214 +}
215 +.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="huge"]::before,
216 +.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="huge"]::before {
217 + content: "32px";
218 +}
219 +
220 +.ql-snow .ql-picker.ql-header .ql-picker-label::before,
221 +.ql-snow .ql-picker.ql-header .ql-picker-item::before {
222 + content: "文本";
223 +}
224 +.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]::before,
225 +.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]::before {
226 + content: "标题1";
227 +}
228 +.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]::before,
229 +.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before {
230 + content: "标题2";
231 +}
232 +.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]::before,
233 +.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before {
234 + content: "标题3";
235 +}
236 +.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]::before,
237 +.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]::before {
238 + content: "标题4";
239 +}
240 +.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]::before,
241 +.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]::before {
242 + content: "标题5";
243 +}
244 +.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]::before,
245 +.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]::before {
246 + content: "标题6";
247 +}
248 +
249 +.ql-snow .ql-picker.ql-font .ql-picker-label::before,
250 +.ql-snow .ql-picker.ql-font .ql-picker-item::before {
251 + content: "标准字体";
252 +}
253 +.ql-snow .ql-picker.ql-font .ql-picker-label[data-value="serif"]::before,
254 +.ql-snow .ql-picker.ql-font .ql-picker-item[data-value="serif"]::before {
255 + content: "衬线字体";
256 +}
257 +.ql-snow .ql-picker.ql-font .ql-picker-label[data-value="monospace"]::before,
258 +.ql-snow .ql-picker.ql-font .ql-picker-item[data-value="monospace"]::before {
259 + content: "等宽字体";
260 +}
261 +</style>
1 +<template>
2 + <div class="upload-file">
3 + <el-upload
4 + :action="uploadFileUrl"
5 + :before-upload="handleBeforeUpload"
6 + :file-list="fileList"
7 + :limit="1"
8 + :on-error="handleUploadError"
9 + :on-exceed="handleExceed"
10 + :on-success="handleUploadSuccess"
11 + :show-file-list="false"
12 + :headers="headers"
13 + class="upload-file-uploader"
14 + ref="upload"
15 + >
16 + <!-- 上传按钮 -->
17 + <el-button size="mini" type="primary">选取文件</el-button>
18 + <!-- 上传提示 -->
19 + <div class="el-upload__tip" slot="tip" v-if="showTip">
20 + 请上传
21 + <template v-if="fileSize"> 大小不超过 <b style="color: #f56c6c">{{ fileSize }}MB</b> </template>
22 + <template v-if="fileType"> 格式为 <b style="color: #f56c6c">{{ fileType.join("/") }}</b> </template>
23 + 的文件
24 + </div>
25 + </el-upload>
26 +
27 + <!-- 文件列表 -->
28 + <transition-group class="upload-file-list el-upload-list el-upload-list--text" name="el-fade-in-linear" tag="ul">
29 + <li :key="file.uid" class="el-upload-list__item ele-upload-list__item-content" v-for="(file, index) in list">
30 + <el-link :href="file.url" :underline="false" target="_blank">
31 + <span class="el-icon-document"> {{ getFileName(file.name) }} </span>
32 + </el-link>
33 + <div class="ele-upload-list__item-content-action">
34 + <el-link :underline="false" @click="handleDelete(index)" type="danger">删除</el-link>
35 + </div>
36 + </li>
37 + </transition-group>
38 + </div>
39 +</template>
40 +
41 +<script>
42 +import { getToken } from "@/utils/auth";
43 +
44 +export default {
45 + props: {
46 + // 值
47 + value: [String, Object, Array],
48 + // 大小限制(MB)
49 + fileSize: {
50 + type: Number,
51 + default: 5,
52 + },
53 + // 文件类型, 例如['png', 'jpg', 'jpeg']
54 + fileType: {
55 + type: Array,
56 + default: () => ["doc", "xls", "ppt", "txt", "pdf"],
57 + },
58 + // 是否显示提示
59 + isShowTip: {
60 + type: Boolean,
61 + default: true
62 + }
63 + },
64 + data() {
65 + return {
66 + uploadFileUrl: process.env.VUE_APP_BASE_API + "/common/upload", // 上传的图片服务器地址
67 + headers: {
68 + Authorization: "Bearer " + getToken(),
69 + },
70 + fileList: [],
71 + };
72 + },
73 + computed: {
74 + // 是否显示提示
75 + showTip() {
76 + return this.isShowTip && (this.fileType || this.fileSize);
77 + },
78 + // 列表
79 + list() {
80 + let temp = 1;
81 + if (this.value) {
82 + // 首先将值转为数组
83 + const list = Array.isArray(this.value) ? this.value : [this.value];
84 + // 然后将数组转为对象数组
85 + return list.map((item) => {
86 + if (typeof item === "string") {
87 + item = { name: item, url: item };
88 + }
89 + item.uid = item.uid || new Date().getTime() + temp++;
90 + return item;
91 + });
92 + } else {
93 + this.fileList = [];
94 + return [];
95 + }
96 + },
97 + },
98 + methods: {
99 + // 上传前校检格式和大小
100 + handleBeforeUpload(file) {
101 + // 校检文件类型
102 + if (this.fileType) {
103 + let fileExtension = "";
104 + if (file.name.lastIndexOf(".") > -1) {
105 + fileExtension = file.name.slice(file.name.lastIndexOf(".") + 1);
106 + }
107 + const isTypeOk = this.fileType.some((type) => {
108 + if (file.type.indexOf(type) > -1) return true;
109 + if (fileExtension && fileExtension.indexOf(type) > -1) return true;
110 + return false;
111 + });
112 + if (!isTypeOk) {
113 + this.$message.error(`文件格式不正确, 请上传${this.fileType.join("/")}格式文件!`);
114 + return false;
115 + }
116 + }
117 + // 校检文件大小
118 + if (this.fileSize) {
119 + const isLt = file.size / 1024 / 1024 < this.fileSize;
120 + if (!isLt) {
121 + this.$message.error(`上传文件大小不能超过 ${this.fileSize} MB!`);
122 + return false;
123 + }
124 + }
125 + return true;
126 + },
127 + // 文件个数超出
128 + handleExceed() {
129 + this.$message.error(`只允许上传单个文件`);
130 + },
131 + // 上传失败
132 + handleUploadError(err) {
133 + this.$message.error("上传失败, 请重试");
134 + },
135 + // 上传成功回调
136 + handleUploadSuccess(res, file) {
137 + this.$message.success("上传成功");
138 + this.$emit("input", res.url);
139 + },
140 + // 删除文件
141 + handleDelete(index) {
142 + this.fileList.splice(index, 1);
143 + this.$emit("input", '');
144 + },
145 + // 获取文件名称
146 + getFileName(name) {
147 + if (name.lastIndexOf("/") > -1) {
148 + return name.slice(name.lastIndexOf("/") + 1).toLowerCase();
149 + } else {
150 + return "";
151 + }
152 + }
153 + },
154 + created() {
155 + this.fileList = this.list;
156 + },
157 +};
158 +</script>
159 +
160 +<style scoped lang="scss">
161 +.upload-file-uploader {
162 + margin-bottom: 5px;
163 +}
164 +.upload-file-list .el-upload-list__item {
165 + border: 1px solid #e4e7ed;
166 + line-height: 2;
167 + margin-bottom: 10px;
168 + position: relative;
169 +}
170 +.upload-file-list .ele-upload-list__item-content {
171 + display: flex;
172 + justify-content: space-between;
173 + align-items: center;
174 + color: inherit;
175 +}
176 +.ele-upload-list__item-content-action .el-link {
177 + margin-right: 10px;
178 +}
179 +</style>
...\ No newline at end of file ...\ No newline at end of file
1 +<template>
2 + <div style="padding: 0 15px;" @click="toggleClick">
3 + <svg
4 + :class="{'is-active':isActive}"
5 + class="hamburger"
6 + viewBox="0 0 1024 1024"
7 + xmlns="http://www.w3.org/2000/svg"
8 + width="64"
9 + height="64"
10 + >
11 + <path d="M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 0 0 0-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0 0 14.4 7z" />
12 + </svg>
13 + </div>
14 +</template>
15 +
16 +<script>
17 +export default {
18 + name: 'Hamburger',
19 + props: {
20 + isActive: {
21 + type: Boolean,
22 + default: false
23 + }
24 + },
25 + methods: {
26 + toggleClick() {
27 + this.$emit('toggleClick')
28 + }
29 + }
30 +}
31 +</script>
32 +
33 +<style scoped>
34 +.hamburger {
35 + display: inline-block;
36 + vertical-align: middle;
37 + width: 20px;
38 + height: 20px;
39 +}
40 +
41 +.hamburger.is-active {
42 + transform: rotate(180deg);
43 +}
44 +</style>
1 +<!-- @author zhengjie -->
2 +<template>
3 + <div class="icon-body">
4 + <el-input v-model="name" style="position: relative;" clearable placeholder="请输入图标名称" @clear="filterIcons" @input.native="filterIcons">
5 + <i slot="suffix" class="el-icon-search el-input__icon" />
6 + </el-input>
7 + <div class="icon-list">
8 + <div v-for="(item, index) in iconList" :key="index" @click="selectedIcon(item)">
9 + <svg-icon :icon-class="item" style="height: 30px;width: 16px;" />
10 + <span>{{ item }}</span>
11 + </div>
12 + </div>
13 + </div>
14 +</template>
15 +
16 +<script>
17 +import icons from './requireIcons'
18 +export default {
19 + name: 'IconSelect',
20 + data() {
21 + return {
22 + name: '',
23 + iconList: icons
24 + }
25 + },
26 + methods: {
27 + filterIcons() {
28 + this.iconList = icons
29 + if (this.name) {
30 + this.iconList = this.iconList.filter(item => item.includes(this.name))
31 + }
32 + },
33 + selectedIcon(name) {
34 + this.$emit('selected', name)
35 + document.body.click()
36 + },
37 + reset() {
38 + this.name = ''
39 + this.iconList = icons
40 + }
41 + }
42 +}
43 +</script>
44 +
45 +<style rel="stylesheet/scss" lang="scss" scoped>
46 + .icon-body {
47 + width: 100%;
48 + padding: 10px;
49 + .icon-list {
50 + height: 200px;
51 + overflow-y: scroll;
52 + div {
53 + height: 30px;
54 + line-height: 30px;
55 + margin-bottom: -5px;
56 + cursor: pointer;
57 + width: 33%;
58 + float: left;
59 + }
60 + span {
61 + display: inline-block;
62 + vertical-align: -0.15em;
63 + fill: currentColor;
64 + overflow: hidden;
65 + }
66 + }
67 + }
68 +</style>
1 +
2 +const req = require.context('../../assets/icons/svg', false, /\.svg$/)
3 +const requireAll = requireContext => requireContext.keys()
4 +
5 +const re = /\.\/(.*)\.svg/
6 +
7 +const icons = requireAll(req).map(i => {
8 + return i.match(re)[1]
9 +})
10 +
11 +export default icons
1 +<template>
2 + <div class="component-upload-image">
3 + <el-upload
4 + :action="uploadImgUrl"
5 + list-type="picture-card"
6 + :on-success="handleUploadSuccess"
7 + :before-upload="handleBeforeUpload"
8 + :on-error="handleUploadError"
9 + name="file"
10 + :show-file-list="false"
11 + :headers="headers"
12 + style="display: inline-block; vertical-align: top"
13 + >
14 + <el-image v-if="!value" :src="value">
15 + <div slot="error" class="image-slot">
16 + <i class="el-icon-plus" />
17 + </div>
18 + </el-image>
19 + <div v-else class="image">
20 + <el-image :src="value" :style="`width:150px;height:150px;`" fit="fill"/>
21 + <div class="mask">
22 + <div class="actions">
23 + <span title="预览" @click.stop="dialogVisible = true">
24 + <i class="el-icon-zoom-in" />
25 + </span>
26 + <span title="移除" @click.stop="removeImage">
27 + <i class="el-icon-delete" />
28 + </span>
29 + </div>
30 + </div>
31 + </div>
32 + </el-upload>
33 + <el-dialog :visible.sync="dialogVisible" title="预览" width="800" append-to-body>
34 + <img :src="value" style="display: block; max-width: 100%; margin: 0 auto;">
35 + </el-dialog>
36 + </div>
37 +</template>
38 +
39 +<script>
40 +import { getToken } from "@/utils/auth";
41 +
42 +export default {
43 + data() {
44 + return {
45 + dialogVisible: false,
46 + uploadImgUrl: process.env.VUE_APP_BASE_API + "/common/upload", // 上传的图片服务器地址
47 + headers: {
48 + Authorization: "Bearer " + getToken(),
49 + },
50 + };
51 + },
52 + props: {
53 + value: {
54 + type: String,
55 + default: "",
56 + },
57 + },
58 + methods: {
59 + removeImage() {
60 + this.$emit("input", "");
61 + },
62 + handleUploadSuccess(res) {
63 + this.$emit("input", res.url);
64 + this.loading.close();
65 + },
66 + handleBeforeUpload() {
67 + this.loading = this.$loading({
68 + lock: true,
69 + text: "上传中",
70 + background: "rgba(0, 0, 0, 0.7)",
71 + });
72 + },
73 + handleUploadError() {
74 + this.$message({
75 + type: "error",
76 + message: "上传失败",
77 + });
78 + this.loading.close();
79 + },
80 + },
81 + watch: {},
82 +};
83 +</script>
84 +
85 +<style scoped lang="scss">
86 +.image {
87 + position: relative;
88 + .mask {
89 + opacity: 0;
90 + position: absolute;
91 + top: 0;
92 + width: 100%;
93 + background-color: rgba(0, 0, 0, 0.5);
94 + transition: all 0.3s;
95 + }
96 + &:hover .mask {
97 + opacity: 1;
98 + }
99 +}
100 +</style>
...\ No newline at end of file ...\ No newline at end of file
1 +<template>
2 + <div :class="{'hidden':hidden}" class="pagination-container">
3 + <el-pagination
4 + :background="background"
5 + :current-page.sync="currentPage"
6 + :page-size.sync="pageSize"
7 + :layout="layout"
8 + :page-sizes="pageSizes"
9 + :total="total"
10 + v-bind="$attrs"
11 + @size-change="handleSizeChange"
12 + @current-change="handleCurrentChange"
13 + />
14 + </div>
15 +</template>
16 +
17 +<script>
18 +import { scrollTo } from '@/utils/scroll-to'
19 +
20 +export default {
21 + name: 'Pagination',
22 + props: {
23 + total: {
24 + required: true,
25 + type: Number
26 + },
27 + page: {
28 + type: Number,
29 + default: 1
30 + },
31 + limit: {
32 + type: Number,
33 + default: 20
34 + },
35 + pageSizes: {
36 + type: Array,
37 + default() {
38 + return [10, 20, 30, 50]
39 + }
40 + },
41 + layout: {
42 + type: String,
43 + default: 'total, sizes, prev, pager, next, jumper'
44 + },
45 + background: {
46 + type: Boolean,
47 + default: true
48 + },
49 + autoScroll: {
50 + type: Boolean,
51 + default: true
52 + },
53 + hidden: {
54 + type: Boolean,
55 + default: false
56 + }
57 + },
58 + computed: {
59 + currentPage: {
60 + get() {
61 + return this.page
62 + },
63 + set(val) {
64 + this.$emit('update:page', val)
65 + }
66 + },
67 + pageSize: {
68 + get() {
69 + return this.limit
70 + },
71 + set(val) {
72 + this.$emit('update:limit', val)
73 + }
74 + }
75 + },
76 + methods: {
77 + handleSizeChange(val) {
78 + this.$emit('pagination', { page: this.currentPage, limit: val })
79 + if (this.autoScroll) {
80 + scrollTo(0, 800)
81 + }
82 + },
83 + handleCurrentChange(val) {
84 + this.$emit('pagination', { page: val, limit: this.pageSize })
85 + if (this.autoScroll) {
86 + scrollTo(0, 800)
87 + }
88 + }
89 + }
90 +}
91 +</script>
92 +
93 +<style scoped>
94 +.pagination-container {
95 + background: #fff;
96 + padding: 32px 16px;
97 +}
98 +.pagination-container.hidden {
99 + display: none;
100 +}
101 +</style>
1 +<template>
2 + <div :style="{zIndex:zIndex,height:height,width:width}" class="pan-item">
3 + <div class="pan-info">
4 + <div class="pan-info-roles-container">
5 + <slot />
6 + </div>
7 + </div>
8 + <!-- eslint-disable-next-line -->
9 + <div :style="{backgroundImage: `url(${image})`}" class="pan-thumb"></div>
10 + </div>
11 +</template>
12 +
13 +<script>
14 +export default {
15 + name: 'PanThumb',
16 + props: {
17 + image: {
18 + type: String,
19 + required: true
20 + },
21 + zIndex: {
22 + type: Number,
23 + default: 1
24 + },
25 + width: {
26 + type: String,
27 + default: '150px'
28 + },
29 + height: {
30 + type: String,
31 + default: '150px'
32 + }
33 + }
34 +}
35 +</script>
36 +
37 +<style scoped>
38 +.pan-item {
39 + width: 200px;
40 + height: 200px;
41 + border-radius: 50%;
42 + display: inline-block;
43 + position: relative;
44 + cursor: default;
45 + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
46 +}
47 +
48 +.pan-info-roles-container {
49 + padding: 20px;
50 + text-align: center;
51 +}
52 +
53 +.pan-thumb {
54 + width: 100%;
55 + height: 100%;
56 + background-position: center center;
57 + background-size: cover;
58 + border-radius: 50%;
59 + overflow: hidden;
60 + position: absolute;
61 + transform-origin: 95% 40%;
62 + transition: all 0.3s ease-in-out;
63 +}
64 +
65 +/* .pan-thumb:after {
66 + content: '';
67 + width: 8px;
68 + height: 8px;
69 + position: absolute;
70 + border-radius: 50%;
71 + top: 40%;
72 + left: 95%;
73 + margin: -4px 0 0 -4px;
74 + background: radial-gradient(ellipse at center, rgba(14, 14, 14, 1) 0%, rgba(125, 126, 125, 1) 100%);
75 + box-shadow: 0 0 1px rgba(255, 255, 255, 0.9);
76 +} */
77 +
78 +.pan-info {
79 + position: absolute;
80 + width: inherit;
81 + height: inherit;
82 + border-radius: 50%;
83 + overflow: hidden;
84 + box-shadow: inset 0 0 0 5px rgba(0, 0, 0, 0.05);
85 +}
86 +
87 +.pan-info h3 {
88 + color: #fff;
89 + text-transform: uppercase;
90 + position: relative;
91 + letter-spacing: 2px;
92 + font-size: 18px;
93 + margin: 0 60px;
94 + padding: 22px 0 0 0;
95 + height: 85px;
96 + font-family: 'Open Sans', Arial, sans-serif;
97 + text-shadow: 0 0 1px #fff, 0 1px 2px rgba(0, 0, 0, 0.3);
98 +}
99 +
100 +.pan-info p {
101 + color: #fff;
102 + padding: 10px 5px;
103 + font-style: italic;
104 + margin: 0 30px;
105 + font-size: 12px;
106 + border-top: 1px solid rgba(255, 255, 255, 0.5);
107 +}
108 +
109 +.pan-info p a {
110 + display: block;
111 + color: #333;
112 + width: 80px;
113 + height: 80px;
114 + background: rgba(255, 255, 255, 0.3);
115 + border-radius: 50%;
116 + color: #fff;
117 + font-style: normal;
118 + font-weight: 700;
119 + text-transform: uppercase;
120 + font-size: 9px;
121 + letter-spacing: 1px;
122 + padding-top: 24px;
123 + margin: 7px auto 0;
124 + font-family: 'Open Sans', Arial, sans-serif;
125 + opacity: 0;
126 + transition: transform 0.3s ease-in-out 0.2s, opacity 0.3s ease-in-out 0.2s, background 0.2s linear 0s;
127 + transform: translateX(60px) rotate(90deg);
128 +}
129 +
130 +.pan-info p a:hover {
131 + background: rgba(255, 255, 255, 0.5);
132 +}
133 +
134 +.pan-item:hover .pan-thumb {
135 + transform: rotate(-110deg);
136 +}
137 +
138 +.pan-item:hover .pan-info p a {
139 + opacity: 1;
140 + transform: translateX(0px) rotate(0deg);
141 +}
142 +</style>
1 +<template >
2 + <router-view />
3 +</template>
1 +<template>
2 + <div ref="rightPanel" :class="{show:show}" class="rightPanel-container">
3 + <div class="rightPanel-background" />
4 + <div class="rightPanel">
5 + <div class="rightPanel-items">
6 + <slot />
7 + </div>
8 + </div>
9 + </div>
10 +</template>
11 +
12 +<script>
13 +import { addClass, removeClass } from '@/utils'
14 +
15 +export default {
16 + name: 'RightPanel',
17 + props: {
18 + clickNotClose: {
19 + default: false,
20 + type: Boolean
21 + },
22 + buttonTop: {
23 + default: 250,
24 + type: Number
25 + }
26 + },
27 + computed: {
28 + show: {
29 + get() {
30 + return this.$store.state.settings.showSettings
31 + },
32 + set(val) {
33 + this.$store.dispatch('settings/changeSetting', {
34 + key: 'showSettings',
35 + value: val
36 + })
37 + }
38 + },
39 + theme() {
40 + return this.$store.state.settings.theme
41 + },
42 + },
43 + watch: {
44 + show(value) {
45 + if (value && !this.clickNotClose) {
46 + this.addEventClick()
47 + }
48 + if (value) {
49 + addClass(document.body, 'showRightPanel')
50 + } else {
51 + removeClass(document.body, 'showRightPanel')
52 + }
53 + }
54 + },
55 + mounted() {
56 + this.insertToBody()
57 + this.addEventClick()
58 + },
59 + beforeDestroy() {
60 + const elx = this.$refs.rightPanel
61 + elx.remove()
62 + },
63 + methods: {
64 + addEventClick() {
65 + window.addEventListener('click', this.closeSidebar)
66 + },
67 + closeSidebar(evt) {
68 + const parent = evt.target.closest('.rightPanel')
69 + if (!parent) {
70 + this.show = false
71 + window.removeEventListener('click', this.closeSidebar)
72 + }
73 + },
74 + insertToBody() {
75 + const elx = this.$refs.rightPanel
76 + const body = document.querySelector('body')
77 + body.insertBefore(elx, body.firstChild)
78 + }
79 + }
80 +}
81 +</script>
82 +
83 +<style>
84 +.showRightPanel {
85 + overflow: hidden;
86 + position: relative;
87 + width: calc(100% - 15px);
88 +}
89 +</style>
90 +
91 +<style lang="scss" scoped>
92 +.rightPanel-background {
93 + position: fixed;
94 + top: 0;
95 + left: 0;
96 + opacity: 0;
97 + transition: opacity .3s cubic-bezier(.7, .3, .1, 1);
98 + background: rgba(0, 0, 0, .2);
99 + z-index: -1;
100 +}
101 +
102 +.rightPanel {
103 + width: 100%;
104 + max-width: 260px;
105 + height: 100vh;
106 + position: fixed;
107 + top: 0;
108 + right: 0;
109 + box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, .05);
110 + transition: all .25s cubic-bezier(.7, .3, .1, 1);
111 + transform: translate(100%);
112 + background: #fff;
113 + z-index: 40000;
114 +}
115 +
116 +.show {
117 + transition: all .3s cubic-bezier(.7, .3, .1, 1);
118 +
119 + .rightPanel-background {
120 + z-index: 20000;
121 + opacity: 1;
122 + width: 100%;
123 + height: 100%;
124 + }
125 +
126 + .rightPanel {
127 + transform: translate(0);
128 + }
129 +}
130 +
131 +.handle-button {
132 + width: 48px;
133 + height: 48px;
134 + position: absolute;
135 + left: -48px;
136 + text-align: center;
137 + font-size: 24px;
138 + border-radius: 6px 0 0 6px !important;
139 + z-index: 0;
140 + pointer-events: auto;
141 + cursor: pointer;
142 + color: #fff;
143 + line-height: 48px;
144 + i {
145 + font-size: 24px;
146 + line-height: 48px;
147 + }
148 +}
149 +</style>
1 +<template>
2 + <div class="top-right-btn">
3 + <el-row>
4 + <el-tooltip class="item" effect="dark" :content="showSearch ? '隐藏搜索' : '显示搜索'" placement="top">
5 + <el-button size="mini" circle icon="el-icon-search" @click="toggleSearch()" />
6 + </el-tooltip>
7 + <el-tooltip class="item" effect="dark" content="刷新" placement="top">
8 + <el-button size="mini" circle icon="el-icon-refresh" @click="refresh()" />
9 + </el-tooltip>
10 + <el-tooltip class="item" effect="dark" content="显隐列" placement="top" v-if="columns">
11 + <el-button size="mini" circle icon="el-icon-menu" @click="showColumn()" />
12 + </el-tooltip>
13 + </el-row>
14 + <el-dialog :title="title" :visible.sync="open" append-to-body>
15 + <el-transfer
16 + :titles="['显示', '隐藏']"
17 + v-model="value"
18 + :data="columns"
19 + @change="dataChange"
20 + ></el-transfer>
21 + </el-dialog>
22 + </div>
23 +</template>
24 +<script>
25 +export default {
26 + name: "RightToolbar",
27 + data() {
28 + return {
29 + // 显隐数据
30 + value: [],
31 + // 弹出层标题
32 + title: "显示/隐藏",
33 + // 是否显示弹出层
34 + open: false,
35 + };
36 + },
37 + props: {
38 + showSearch: {
39 + type: Boolean,
40 + default: true,
41 + },
42 + columns: {
43 + type: Array,
44 + },
45 + },
46 + created() {
47 + // 显隐列初始默认隐藏列
48 + for (let item in this.columns) {
49 + if (this.columns[item].visible === false) {
50 + this.value.push(parseInt(item));
51 + }
52 + }
53 + },
54 + methods: {
55 + // 搜索
56 + toggleSearch() {
57 + this.$emit("update:showSearch", !this.showSearch);
58 + },
59 + // 刷新
60 + refresh() {
61 + this.$emit("queryTable");
62 + },
63 + // 右侧列表元素变化
64 + dataChange(data) {
65 + for (var item in this.columns) {
66 + const key = this.columns[item].key;
67 + this.columns[item].visible = !data.includes(key);
68 + }
69 + },
70 + // 打开显隐列dialog
71 + showColumn() {
72 + this.open = true;
73 + },
74 + },
75 +};
76 +</script>
77 +<style lang="scss" scoped>
78 +::v-deep .el-transfer__button {
79 + border-radius: 50%;
80 + padding: 12px;
81 + display: block;
82 + margin-left: 0px;
83 +}
84 +::v-deep .el-transfer__button:first-child {
85 + margin-bottom: 10px;
86 +}
87 +</style>
1 +<template>
2 + <el-dropdown trigger="click" @command="handleSetSize">
3 + <div>
4 + <svg-icon class-name="size-icon" icon-class="size" />
5 + </div>
6 + <el-dropdown-menu slot="dropdown">
7 + <el-dropdown-item v-for="item of sizeOptions" :key="item.value" :disabled="size===item.value" :command="item.value">
8 + {{
9 + item.label }}
10 + </el-dropdown-item>
11 + </el-dropdown-menu>
12 + </el-dropdown>
13 +</template>
14 +
15 +<script>
16 +export default {
17 + data() {
18 + return {
19 + sizeOptions: [
20 + { label: 'Default', value: 'default' },
21 + { label: 'Medium', value: 'medium' },
22 + { label: 'Small', value: 'small' },
23 + { label: 'Mini', value: 'mini' }
24 + ]
25 + }
26 + },
27 + computed: {
28 + size() {
29 + return this.$store.getters.size
30 + }
31 + },
32 + methods: {
33 + handleSetSize(size) {
34 + this.$ELEMENT.size = size
35 + this.$store.dispatch('app/setSize', size)
36 + this.refreshView()
37 + this.$message({
38 + message: 'Switch Size Success',
39 + type: 'success'
40 + })
41 + },
42 + refreshView() {
43 + // In order to make the cached page re-rendered
44 + this.$store.dispatch('tagsView/delAllCachedViews', this.$route)
45 +
46 + const { fullPath } = this.$route
47 +
48 + this.$nextTick(() => {
49 + this.$router.replace({
50 + path: '/redirect' + fullPath
51 + })
52 + })
53 + }
54 + }
55 +
56 +}
57 +</script>
1 +<template>
2 + <div v-if="isExternal" :style="styleExternalIcon" class="svg-external-icon svg-icon" v-on="$listeners" />
3 + <svg v-else :class="svgClass" aria-hidden="true" v-on="$listeners">
4 + <use :xlink:href="iconName" />
5 + </svg>
6 +</template>
7 +
8 +<script>
9 +import { isExternal } from '@/utils/validate'
10 +
11 +export default {
12 + name: 'SvgIcon',
13 + props: {
14 + iconClass: {
15 + type: String,
16 + required: true
17 + },
18 + className: {
19 + type: String,
20 + default: ''
21 + }
22 + },
23 + computed: {
24 + isExternal() {
25 + return isExternal(this.iconClass)
26 + },
27 + iconName() {
28 + return `#icon-${this.iconClass}`
29 + },
30 + svgClass() {
31 + if (this.className) {
32 + return 'svg-icon ' + this.className
33 + } else {
34 + return 'svg-icon'
35 + }
36 + },
37 + styleExternalIcon() {
38 + return {
39 + mask: `url(${this.iconClass}) no-repeat 50% 50%`,
40 + '-webkit-mask': `url(${this.iconClass}) no-repeat 50% 50%`
41 + }
42 + }
43 + }
44 +}
45 +</script>
46 +
47 +<style scoped>
48 +.svg-icon {
49 + width: 1em;
50 + height: 1em;
51 + vertical-align: -0.15em;
52 + fill: currentColor;
53 + overflow: hidden;
54 +}
55 +
56 +.svg-external-icon {
57 + background-color: currentColor;
58 + mask-size: cover!important;
59 + display: inline-block;
60 +}
61 +</style>
1 +<template>
2 + <el-color-picker
3 + v-model="theme"
4 + :predefine="['#409EFF', '#1890ff', '#304156','#212121','#11a983', '#13c2c2', '#6959CD', '#f5222d', ]"
5 + class="theme-picker"
6 + popper-class="theme-picker-dropdown"
7 + />
8 +</template>
9 +
10 +<script>
11 +const version = require('element-ui/package.json').version // element-ui version from node_modules
12 +const ORIGINAL_THEME = '#409EFF' // default color
13 +
14 +export default {
15 + data() {
16 + return {
17 + chalk: '', // content of theme-chalk css
18 + theme: ''
19 + }
20 + },
21 + computed: {
22 + defaultTheme() {
23 + return this.$store.state.settings.theme
24 + }
25 + },
26 + watch: {
27 + defaultTheme: {
28 + handler: function(val, oldVal) {
29 + this.theme = val
30 + },
31 + immediate: true
32 + },
33 + async theme(val) {
34 + const oldVal = this.chalk ? this.theme : ORIGINAL_THEME
35 + if (typeof val !== 'string') return
36 + const themeCluster = this.getThemeCluster(val.replace('#', ''))
37 + const originalCluster = this.getThemeCluster(oldVal.replace('#', ''))
38 +
39 + const $message = this.$message({
40 + message: ' Compiling the theme',
41 + customClass: 'theme-message',
42 + type: 'success',
43 + duration: 0,
44 + iconClass: 'el-icon-loading'
45 + })
46 +
47 + const getHandler = (variable, id) => {
48 + return () => {
49 + const originalCluster = this.getThemeCluster(ORIGINAL_THEME.replace('#', ''))
50 + const newStyle = this.updateStyle(this[variable], originalCluster, themeCluster)
51 +
52 + let styleTag = document.getElementById(id)
53 + if (!styleTag) {
54 + styleTag = document.createElement('style')
55 + styleTag.setAttribute('id', id)
56 + document.head.appendChild(styleTag)
57 + }
58 + styleTag.innerText = newStyle
59 + }
60 + }
61 +
62 + if (!this.chalk) {
63 + const url = `https://unpkg.com/element-ui@${version}/lib/theme-chalk/index.css`
64 + await this.getCSSString(url, 'chalk')
65 + }
66 +
67 + const chalkHandler = getHandler('chalk', 'chalk-style')
68 +
69 + chalkHandler()
70 +
71 + const styles = [].slice.call(document.querySelectorAll('style'))
72 + .filter(style => {
73 + const text = style.innerText
74 + return new RegExp(oldVal, 'i').test(text) && !/Chalk Variables/.test(text)
75 + })
76 + styles.forEach(style => {
77 + const { innerText } = style
78 + if (typeof innerText !== 'string') return
79 + style.innerText = this.updateStyle(innerText, originalCluster, themeCluster)
80 + })
81 +
82 + this.$emit('change', val)
83 +
84 + $message.close()
85 + }
86 + },
87 +
88 + methods: {
89 + updateStyle(style, oldCluster, newCluster) {
90 + let newStyle = style
91 + oldCluster.forEach((color, index) => {
92 + newStyle = newStyle.replace(new RegExp(color, 'ig'), newCluster[index])
93 + })
94 + return newStyle
95 + },
96 +
97 + getCSSString(url, variable) {
98 + return new Promise(resolve => {
99 + const xhr = new XMLHttpRequest()
100 + xhr.onreadystatechange = () => {
101 + if (xhr.readyState === 4 && xhr.status === 200) {
102 + this[variable] = xhr.responseText.replace(/@font-face{[^}]+}/, '')
103 + resolve()
104 + }
105 + }
106 + xhr.open('GET', url)
107 + xhr.send()
108 + })
109 + },
110 +
111 + getThemeCluster(theme) {
112 + const tintColor = (color, tint) => {
113 + let red = parseInt(color.slice(0, 2), 16)
114 + let green = parseInt(color.slice(2, 4), 16)
115 + let blue = parseInt(color.slice(4, 6), 16)
116 +
117 + if (tint === 0) { // when primary color is in its rgb space
118 + return [red, green, blue].join(',')
119 + } else {
120 + red += Math.round(tint * (255 - red))
121 + green += Math.round(tint * (255 - green))
122 + blue += Math.round(tint * (255 - blue))
123 +
124 + red = red.toString(16)
125 + green = green.toString(16)
126 + blue = blue.toString(16)
127 +
128 + return `#${red}${green}${blue}`
129 + }
130 + }
131 +
132 + const shadeColor = (color, shade) => {
133 + let red = parseInt(color.slice(0, 2), 16)
134 + let green = parseInt(color.slice(2, 4), 16)
135 + let blue = parseInt(color.slice(4, 6), 16)
136 +
137 + red = Math.round((1 - shade) * red)
138 + green = Math.round((1 - shade) * green)
139 + blue = Math.round((1 - shade) * blue)
140 +
141 + red = red.toString(16)
142 + green = green.toString(16)
143 + blue = blue.toString(16)
144 +
145 + return `#${red}${green}${blue}`
146 + }
147 +
148 + const clusters = [theme]
149 + for (let i = 0; i <= 9; i++) {
150 + clusters.push(tintColor(theme, Number((i / 10).toFixed(2))))
151 + }
152 + clusters.push(shadeColor(theme, 0.1))
153 + return clusters
154 + }
155 + }
156 +}
157 +</script>
158 +
159 +<style>
160 +.theme-message,
161 +.theme-picker-dropdown {
162 + z-index: 99999 !important;
163 +}
164 +
165 +.theme-picker .el-color-picker__trigger {
166 + height: 26px !important;
167 + width: 26px !important;
168 + padding: 2px;
169 +}
170 +
171 +.theme-picker-dropdown .el-color-dropdown__link-btn {
172 + display: none;
173 +}
174 +</style>
1 +<template>
2 + <el-menu
3 + :default-active="activeMenu"
4 + mode="horizontal"
5 + @select="handleSelect"
6 + >
7 + <template v-for="(item, index) in topMenus">
8 + <el-menu-item :style="{'--theme': theme}" :index="item.path" :key="index" v-if="index < visibleNumber"
9 + ><svg-icon :icon-class="item.meta.icon" />
10 + {{ item.meta.title }}</el-menu-item
11 + >
12 + </template>
13 +
14 + <!-- 顶部菜单超出数量折叠 -->
15 + <el-submenu index="more" v-if="topMenus.length > visibleNumber">
16 + <template slot="title">更多菜单</template>
17 + <template v-for="(item, index) in topMenus">
18 + <el-menu-item
19 + :index="item.path"
20 + :key="index"
21 + v-if="index >= visibleNumber"
22 + ><svg-icon :icon-class="item.meta.icon" />
23 + {{ item.meta.title }}</el-menu-item
24 + >
25 + </template>
26 + </el-submenu>
27 + </el-menu>
28 +</template>
29 +
30 +<script>
31 +import { constantRoutes } from "@/router";
32 +
33 +export default {
34 + data() {
35 + return {
36 + // 顶部栏初始数
37 + visibleNumber: 5,
38 + // 是否为首次加载
39 + isFrist: false,
40 + // 当前激活菜单的 index
41 + currentIndex: undefined
42 + };
43 + },
44 + computed: {
45 + theme() {
46 + return this.$store.state.settings.theme;
47 + },
48 + // 顶部显示菜单
49 + topMenus() {
50 + let topMenus = [];
51 + this.routers.map((menu) => {
52 + if (menu.hidden !== true) {
53 + // 兼容顶部栏一级菜单内部跳转
54 + if (menu.path === "/") {
55 + topMenus.push(menu.children[0]);
56 + } else {
57 + topMenus.push(menu);
58 + }
59 + }
60 + });
61 + return topMenus;
62 + },
63 + // 所有的路由信息
64 + routers() {
65 + return this.$store.state.permission.topbarRouters;
66 + },
67 + // 设置子路由
68 + childrenMenus() {
69 + var childrenMenus = [];
70 + this.routers.map((router) => {
71 + for (var item in router.children) {
72 + if (router.children[item].parentPath === undefined) {
73 + if(router.path === "/") {
74 + router.children[item].path = "/redirect/" + router.children[item].path;
75 + } else {
76 + if(!this.ishttp(router.children[item].path)) {
77 + router.children[item].path = router.path + "/" + router.children[item].path;
78 + }
79 + }
80 + router.children[item].parentPath = router.path;
81 + }
82 + childrenMenus.push(router.children[item]);
83 + }
84 + });
85 + return constantRoutes.concat(childrenMenus);
86 + },
87 + // 默认激活的菜单
88 + activeMenu() {
89 + const path = this.$route.path;
90 + let activePath = this.routers[0].path;
91 + if (path.lastIndexOf("/") > 0) {
92 + const tmpPath = path.substring(1, path.length);
93 + activePath = "/" + tmpPath.substring(0, tmpPath.indexOf("/"));
94 + } else if ("/index" == path || "" == path) {
95 + if (!this.isFrist) {
96 + this.isFrist = true;
97 + } else {
98 + activePath = "index";
99 + }
100 + }
101 + var routes = this.activeRoutes(activePath);
102 + if (routes.length === 0) {
103 + activePath = this.currentIndex || this.routers[0].path
104 + this.activeRoutes(activePath);
105 + }
106 + return activePath;
107 + },
108 + },
109 + beforeMount() {
110 + window.addEventListener('resize', this.setVisibleNumber)
111 + },
112 + beforeDestroy() {
113 + window.removeEventListener('resize', this.setVisibleNumber)
114 + },
115 + mounted() {
116 + this.setVisibleNumber();
117 + },
118 + methods: {
119 + // 根据宽度计算设置显示栏数
120 + setVisibleNumber() {
121 + const width = document.body.getBoundingClientRect().width / 3;
122 + this.visibleNumber = parseInt(width / 85);
123 + },
124 + // 菜单选择事件
125 + handleSelect(key, keyPath) {
126 + this.currentIndex = key;
127 + if (this.ishttp(key)) {
128 + // http(s):// 路径新窗口打开
129 + window.open(key, "_blank");
130 + } else if (key.indexOf("/redirect") !== -1) {
131 + // /redirect 路径内部打开
132 + this.$router.push({ path: key.replace("/redirect", "") });
133 + } else {
134 + // 显示左侧联动菜单
135 + this.activeRoutes(key);
136 + }
137 + },
138 + // 当前激活的路由
139 + activeRoutes(key) {
140 + var routes = [];
141 + if (this.childrenMenus && this.childrenMenus.length > 0) {
142 + this.childrenMenus.map((item) => {
143 + if (key == item.parentPath || (key == "index" && "" == item.path)) {
144 + routes.push(item);
145 + }
146 + });
147 + }
148 + if(routes.length > 0) {
149 + this.$store.commit("SET_SIDEBAR_ROUTERS", routes);
150 + }
151 + return routes;
152 + },
153 + ishttp(url) {
154 + return url.indexOf('http://') !== -1 || url.indexOf('https://') !== -1
155 + }
156 + },
157 +};
158 +</script>
159 +
160 +<style lang="scss">
161 +.el-menu--horizontal > .el-menu-item {
162 + float: left;
163 + height: 50px;
164 + line-height: 50px;
165 + margin: 0;
166 + border-bottom: 3px solid transparent;
167 + color: #999093;
168 + padding: 0 5px;
169 + margin: 0 10px;
170 +}
171 +
172 +.el-menu--horizontal > .el-menu-item.is-active {
173 + border-bottom: 3px solid #{'var(--theme)'};
174 + color: #303133;
175 +}
176 +
177 +/* submenu item */
178 +.el-menu--horizontal > .el-submenu .el-submenu__title {
179 + height: 50px !important;
180 + line-height: 50px !important;
181 +}
182 +</style>
1 + /**
2 + * 操作权限处理
3 + * Copyright (c) 2019 ruoyi
4 + */
5 +
6 +import store from '@/store'
7 +
8 +export default {
9 + inserted(el, binding, vnode) {
10 + const { value } = binding
11 + const all_permission = "*:*:*";
12 + const permissions = store.getters && store.getters.permissions
13 +
14 + if (value && value instanceof Array && value.length > 0) {
15 + const permissionFlag = value
16 +
17 + const hasPermissions = permissions.some(permission => {
18 + return all_permission === permission || permissionFlag.includes(permission)
19 + })
20 +
21 + if (!hasPermissions) {
22 + el.parentNode && el.parentNode.removeChild(el)
23 + }
24 + } else {
25 + throw new Error(`请设置操作权限标签值`)
26 + }
27 + }
28 +}
1 + /**
2 + * 角色权限处理
3 + * Copyright (c) 2019 ruoyi
4 + */
5 +
6 +import store from '@/store'
7 +
8 +export default {
9 + inserted(el, binding, vnode) {
10 + const { value } = binding
11 + const super_admin = "admin";
12 + const roles = store.getters && store.getters.roles
13 +
14 + if (value && value instanceof Array && value.length > 0) {
15 + const roleFlag = value
16 +
17 + const hasRole = roles.some(role => {
18 + return super_admin === role || roleFlag.includes(role)
19 + })
20 +
21 + if (!hasRole) {
22 + el.parentNode && el.parentNode.removeChild(el)
23 + }
24 + } else {
25 + throw new Error(`请设置角色权限标签值"`)
26 + }
27 + }
28 +}
1 +import hasRole from './hasRole'
2 +import hasPermi from './hasPermi'
3 +
4 +const install = function(Vue) {
5 + Vue.directive('hasRole', hasRole)
6 + Vue.directive('hasPermi', hasPermi)
7 +}
8 +
9 +if (window.Vue) {
10 + window['hasRole'] = hasRole
11 + window['hasPermi'] = hasPermi
12 + Vue.use(install); // eslint-disable-line
13 +}
14 +
15 +export default install
1 +<template>
2 + <section class="app-main">
3 + <transition name="fade-transform" mode="out-in">
4 + <keep-alive :include="cachedViews">
5 + <router-view :key="key" />
6 + </keep-alive>
7 + </transition>
8 + </section>
9 +</template>
10 +
11 +<script>
12 +export default {
13 + name: 'AppMain',
14 + computed: {
15 + cachedViews() {
16 + return this.$store.state.tagsView.cachedViews
17 + },
18 + key() {
19 + return this.$route.path
20 + }
21 + }
22 +}
23 +</script>
24 +
25 +<style lang="scss" scoped>
26 +.app-main {
27 + /* 50= navbar 50 */
28 + min-height: calc(100vh - 50px);
29 + width: 100%;
30 + position: relative;
31 + overflow: hidden;
32 +}
33 +
34 +.fixed-header+.app-main {
35 + padding-top: 50px;
36 +}
37 +
38 +.hasTagsView {
39 + .app-main {
40 + /* 84 = navbar + tags-view = 50 + 34 */
41 + min-height: calc(100vh - 84px);
42 + }
43 +
44 + .fixed-header+.app-main {
45 + padding-top: 84px;
46 + }
47 +}
48 +</style>
49 +
50 +<style lang="scss">
51 +// fix css style bug in open el-dialog
52 +.el-popup-parent--hidden {
53 + .fixed-header {
54 + padding-right: 15px;
55 + }
56 +}
57 +</style>
1 +<template>
2 + <div class="navbar">
3 + <hamburger id="hamburger-container" :is-active="sidebar.opened" class="hamburger-container" @toggleClick="toggleSideBar" />
4 +
5 + <breadcrumb id="breadcrumb-container" class="breadcrumb-container" v-if="!topNav"/>
6 + <top-nav id="topmenu-container" class="topmenu-container" v-if="topNav"/>
7 +
8 + <div class="right-menu">
9 + <template v-if="device!=='mobile'">
10 +
11 + </template>
12 +
13 + <el-dropdown class="avatar-container right-menu-item hover-effect" trigger="click">
14 + <div class="avatar-wrapper">
15 + <img :src="avatar" class="user-avatar">
16 + <i class="el-icon-caret-bottom" />
17 + </div>
18 + <el-dropdown-menu slot="dropdown">
19 + <router-link to="/user/profile">
20 + <el-dropdown-item>个人中心</el-dropdown-item>
21 + </router-link>
22 + <el-dropdown-item divided @click.native="logout">
23 + <span>退出登录</span>
24 + </el-dropdown-item>
25 + </el-dropdown-menu>
26 + </el-dropdown>
27 + </div>
28 + </div>
29 +</template>
30 +
31 +<script>
32 +import { mapGetters } from 'vuex'
33 +import Breadcrumb from '@/components/Breadcrumb'
34 +import TopNav from '@/components/TopNav'
35 +import Hamburger from '@/components/Hamburger'
36 +
37 +export default {
38 + components: {
39 + Breadcrumb,
40 + TopNav,
41 + Hamburger
42 + },
43 + computed: {
44 + ...mapGetters([
45 + 'sidebar',
46 + 'avatar',
47 + 'device'
48 + ]),
49 + setting: {
50 + get() {
51 + return this.$store.state.settings.showSettings
52 + },
53 + set(val) {
54 + this.$store.dispatch('settings/changeSetting', {
55 + key: 'showSettings',
56 + value: val
57 + })
58 + }
59 + },
60 + topNav: {
61 + get() {
62 + return this.$store.state.settings.topNav
63 + }
64 + }
65 + },
66 + methods: {
67 + toggleSideBar() {
68 + this.$store.dispatch('app/toggleSideBar')
69 + },
70 + async logout() {
71 + this.$confirm('确定注销并退出系统吗?', '提示', {
72 + confirmButtonText: '确定',
73 + cancelButtonText: '取消',
74 + type: 'warning'
75 + }).then(() => {
76 + this.$store.dispatch('LogOut').then(() => {
77 + location.href = '/index';
78 + })
79 + })
80 + }
81 + }
82 +}
83 +</script>
84 +
85 +<style lang="scss" scoped>
86 +.navbar {
87 + height: 50px;
88 + overflow: hidden;
89 + position: relative;
90 + background: #fff;
91 + box-shadow: 0 1px 4px rgba(0,21,41,.08);
92 +
93 + .hamburger-container {
94 + line-height: 46px;
95 + height: 100%;
96 + float: left;
97 + cursor: pointer;
98 + transition: background .3s;
99 + -webkit-tap-highlight-color:transparent;
100 +
101 + &:hover {
102 + background: rgba(0, 0, 0, .025)
103 + }
104 + }
105 +
106 + .breadcrumb-container {
107 + float: left;
108 + }
109 +
110 + .topmenu-container {
111 + position: absolute;
112 + left: 50px;
113 + }
114 +
115 + .errLog-container {
116 + display: inline-block;
117 + vertical-align: top;
118 + }
119 +
120 + .right-menu {
121 + float: right;
122 + height: 100%;
123 + line-height: 50px;
124 +
125 + &:focus {
126 + outline: none;
127 + }
128 +
129 + .right-menu-item {
130 + display: inline-block;
131 + padding: 0 8px;
132 + height: 100%;
133 + font-size: 18px;
134 + color: #5a5e66;
135 + vertical-align: text-bottom;
136 +
137 + &.hover-effect {
138 + cursor: pointer;
139 + transition: background .3s;
140 +
141 + &:hover {
142 + background: rgba(0, 0, 0, .025)
143 + }
144 + }
145 + }
146 +
147 + .avatar-container {
148 + margin-right: 30px;
149 +
150 + .avatar-wrapper {
151 + margin-top: 5px;
152 + position: relative;
153 +
154 + .user-avatar {
155 + cursor: pointer;
156 + width: 40px;
157 + height: 40px;
158 + border-radius: 10px;
159 + }
160 +
161 + .el-icon-caret-bottom {
162 + cursor: pointer;
163 + position: absolute;
164 + right: -20px;
165 + top: 25px;
166 + font-size: 12px;
167 + }
168 + }
169 + }
170 + }
171 +}
172 +</style>
1 +<template>
2 + <div class="drawer-container">
3 + <div>
4 + <div class="setting-drawer-content">
5 + <div class="setting-drawer-title">
6 + <h3 class="drawer-title">主题风格设置</h3>
7 + </div>
8 + <div class="setting-drawer-block-checbox">
9 + <div class="setting-drawer-block-checbox-item" @click="handleTheme('theme-dark')">
10 + <img src="@/assets/images/dark.svg" alt="dark">
11 + <div v-if="sideTheme === 'theme-dark'" class="setting-drawer-block-checbox-selectIcon" style="display: block;">
12 + <i aria-label="图标: check" class="anticon anticon-check">
13 + <svg viewBox="64 64 896 896" data-icon="check" width="1em" height="1em" :fill="theme" aria-hidden="true"
14 + focusable="false" class="">
15 + <path
16 + d="M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 0 0-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"/>
17 + </svg>
18 + </i>
19 + </div>
20 + </div>
21 + <div class="setting-drawer-block-checbox-item" @click="handleTheme('theme-light')">
22 + <img src="@/assets/images/light.svg" alt="light">
23 + <div v-if="sideTheme === 'theme-light'" class="setting-drawer-block-checbox-selectIcon" style="display: block;">
24 + <i aria-label="图标: check" class="anticon anticon-check">
25 + <svg viewBox="64 64 896 896" data-icon="check" width="1em" height="1em" :fill="theme" aria-hidden="true"
26 + focusable="false" class="">
27 + <path
28 + d="M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 0 0-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"/>
29 + </svg>
30 + </i>
31 + </div>
32 + </div>
33 + </div>
34 +
35 + <div class="drawer-item">
36 + <span>主题颜色</span>
37 + <theme-picker style="float: right;height: 26px;margin: -3px 8px 0 0;" @change="themeChange" />
38 + </div>
39 + </div>
40 +
41 + <el-divider/>
42 +
43 + <h3 class="drawer-title">系统布局配置</h3>
44 +
45 + <div class="drawer-item">
46 + <span>开启 TopNav</span>
47 + <el-switch v-model="topNav" class="drawer-switch" />
48 + </div>
49 +
50 + <div class="drawer-item">
51 + <span>开启 Tags-Views</span>
52 + <el-switch v-model="tagsView" class="drawer-switch" />
53 + </div>
54 +
55 + <div class="drawer-item">
56 + <span>固定 Header</span>
57 + <el-switch v-model="fixedHeader" class="drawer-switch" />
58 + </div>
59 +
60 + <div class="drawer-item">
61 + <span>显示 Logo</span>
62 + <el-switch v-model="sidebarLogo" class="drawer-switch" />
63 + </div>
64 +
65 + <el-divider/>
66 +
67 + <el-button size="small" type="primary" plain icon="el-icon-document-add" @click="saveSetting">保存配置</el-button>
68 + <el-button size="small" plain icon="el-icon-refresh" @click="resetSetting">重置配置</el-button>
69 + </div>
70 + </div>
71 +</template>
72 +
73 +<script>
74 +import ThemePicker from '@/components/ThemePicker'
75 +
76 +export default {
77 + components: { ThemePicker },
78 + data() {
79 + return {
80 + theme: this.$store.state.settings.theme,
81 + sideTheme: this.$store.state.settings.sideTheme
82 + };
83 + },
84 + computed: {
85 + fixedHeader: {
86 + get() {
87 + return this.$store.state.settings.fixedHeader
88 + },
89 + set(val) {
90 + this.$store.dispatch('settings/changeSetting', {
91 + key: 'fixedHeader',
92 + value: val
93 + })
94 + }
95 + },
96 + topNav: {
97 + get() {
98 + return this.$store.state.settings.topNav
99 + },
100 + set(val) {
101 + this.$store.dispatch('settings/changeSetting', {
102 + key: 'topNav',
103 + value: val
104 + })
105 + if (!val) {
106 + this.$store.commit("SET_SIDEBAR_ROUTERS", this.$store.state.permission.defaultRoutes);
107 + }
108 + }
109 + },
110 + tagsView: {
111 + get() {
112 + return this.$store.state.settings.tagsView
113 + },
114 + set(val) {
115 + this.$store.dispatch('settings/changeSetting', {
116 + key: 'tagsView',
117 + value: val
118 + })
119 + }
120 + },
121 + sidebarLogo: {
122 + get() {
123 + return this.$store.state.settings.sidebarLogo
124 + },
125 + set(val) {
126 + this.$store.dispatch('settings/changeSetting', {
127 + key: 'sidebarLogo',
128 + value: val
129 + })
130 + }
131 + },
132 + },
133 + methods: {
134 + themeChange(val) {
135 + this.$store.dispatch('settings/changeSetting', {
136 + key: 'theme',
137 + value: val
138 + })
139 + this.theme = val;
140 + },
141 + handleTheme(val) {
142 + this.$store.dispatch('settings/changeSetting', {
143 + key: 'sideTheme',
144 + value: val
145 + })
146 + this.sideTheme = val;
147 + },
148 + saveSetting() {
149 + const loading = this.$loading({
150 + lock: true,
151 + fullscreen: false,
152 + text: "正在保存到本地,请稍后...",
153 + spinner: "el-icon-loading",
154 + background: "rgba(0, 0, 0, 0.7)"
155 + });
156 + localStorage.setItem(
157 + "layout-setting",
158 + `{
159 + "topNav":${this.topNav},
160 + "tagsView":${this.tagsView},
161 + "fixedHeader":${this.fixedHeader},
162 + "sidebarLogo":${this.sidebarLogo},
163 + "sideTheme":"${this.sideTheme}",
164 + "theme":"${this.theme}"
165 + }`
166 + );
167 + setTimeout(loading.close(), 1000)
168 + },
169 + resetSetting() {
170 + this.$loading({
171 + lock: true,
172 + fullscreen: false,
173 + text: "正在清除设置缓存并刷新,请稍后...",
174 + spinner: "el-icon-loading",
175 + background: "rgba(0, 0, 0, 0.7)"
176 + });
177 + localStorage.removeItem("layout-setting")
178 + setTimeout("window.location.reload()", 1000)
179 + }
180 + }
181 +}
182 +</script>
183 +
184 +<style lang="scss" scoped>
185 + .setting-drawer-content {
186 + .setting-drawer-title {
187 + margin-bottom: 12px;
188 + color: rgba(0, 0, 0, .85);
189 + font-size: 14px;
190 + line-height: 22px;
191 + font-weight: bold;
192 + }
193 +
194 + .setting-drawer-block-checbox {
195 + display: flex;
196 + justify-content: flex-start;
197 + align-items: center;
198 + margin-top: 10px;
199 + margin-bottom: 20px;
200 +
201 + .setting-drawer-block-checbox-item {
202 + position: relative;
203 + margin-right: 16px;
204 + border-radius: 2px;
205 + cursor: pointer;
206 +
207 + img {
208 + width: 48px;
209 + height: 48px;
210 + }
211 +
212 + .setting-drawer-block-checbox-selectIcon {
213 + position: absolute;
214 + top: 0;
215 + right: 0;
216 + width: 100%;
217 + height: 100%;
218 + padding-top: 15px;
219 + padding-left: 24px;
220 + color: #1890ff;
221 + font-weight: 700;
222 + font-size: 14px;
223 + }
224 + }
225 + }
226 + }
227 +
228 + .drawer-container {
229 + padding: 24px;
230 + font-size: 14px;
231 + line-height: 1.5;
232 + word-wrap: break-word;
233 +
234 + .drawer-title {
235 + margin-bottom: 12px;
236 + color: rgba(0, 0, 0, .85);
237 + font-size: 14px;
238 + line-height: 22px;
239 + }
240 +
241 + .drawer-item {
242 + color: rgba(0, 0, 0, .65);
243 + font-size: 14px;
244 + padding: 12px 0;
245 + }
246 +
247 + .drawer-switch {
248 + float: right
249 + }
250 + }
251 +</style>
1 +export default {
2 + computed: {
3 + device() {
4 + return this.$store.state.app.device
5 + }
6 + },
7 + mounted() {
8 + // In order to fix the click on menu on the ios device will trigger the mouseleave bug
9 + this.fixBugIniOS()
10 + },
11 + methods: {
12 + fixBugIniOS() {
13 + const $subMenu = this.$refs.subMenu
14 + if ($subMenu) {
15 + const handleMouseleave = $subMenu.handleMouseleave
16 + $subMenu.handleMouseleave = (e) => {
17 + if (this.device === 'mobile') {
18 + return
19 + }
20 + handleMouseleave(e)
21 + }
22 + }
23 + }
24 + }
25 +}
1 +<script>
2 +export default {
3 + name: 'MenuItem',
4 + functional: true,
5 + props: {
6 + icon: {
7 + type: String,
8 + default: ''
9 + },
10 + title: {
11 + type: String,
12 + default: ''
13 + }
14 + },
15 + render(h, context) {
16 + const { icon, title } = context.props
17 + const vnodes = []
18 +
19 + if (icon) {
20 + vnodes.push(<svg-icon icon-class={icon}/>)
21 + }
22 +
23 + if (title) {
24 + vnodes.push(<span slot='title'>{(title)}</span>)
25 + }
26 + return vnodes
27 + }
28 +}
29 +</script>
1 +<template>
2 + <component :is="type" v-bind="linkProps(to)">
3 + <slot />
4 + </component>
5 +</template>
6 +
7 +<script>
8 +import { isExternal } from '@/utils/validate'
9 +
10 +export default {
11 + props: {
12 + to: {
13 + type: String,
14 + required: true
15 + }
16 + },
17 + computed: {
18 + isExternal() {
19 + return isExternal(this.to)
20 + },
21 + type() {
22 + if (this.isExternal) {
23 + return 'a'
24 + }
25 + return 'router-link'
26 + }
27 + },
28 + methods: {
29 + linkProps(to) {
30 + if (this.isExternal) {
31 + return {
32 + href: to,
33 + target: '_blank',
34 + rel: 'noopener'
35 + }
36 + }
37 + return {
38 + to: to
39 + }
40 + }
41 + }
42 +}
43 +</script>
1 +<template>
2 + <div class="sidebar-logo-container" :class="{'collapse':collapse}" :style="{ backgroundColor: sideTheme === 'theme-dark' ? variables.menuBg : variables.menuLightBg }">
3 + <transition name="sidebarLogoFade">
4 + <router-link v-if="collapse" key="collapse" class="sidebar-logo-link" to="/">
5 + <img v-if="logo" :src="logo" class="sidebar-logo">
6 + <h1 v-else class="sidebar-title" :style="{ color: sideTheme === 'theme-dark' ? variables.sidebarTitle : variables.sidebarLightTitle }">{{ title }} </h1>
7 + </router-link>
8 + <router-link v-else key="expand" class="sidebar-logo-link" to="/">
9 + <img v-if="logo" :src="logo" class="sidebar-logo">
10 + <h1 class="sidebar-title" :style="{ color: sideTheme === 'theme-dark' ? variables.sidebarTitle : variables.sidebarLightTitle }">{{ title }} </h1>
11 + </router-link>
12 + </transition>
13 + </div>
14 +</template>
15 +
16 +<script>
17 +import logoImg from '@/assets/logo/logo.png'
18 +import variables from '@/assets/styles/variables.scss'
19 +
20 +export default {
21 + name: 'SidebarLogo',
22 + props: {
23 + collapse: {
24 + type: Boolean,
25 + required: true
26 + }
27 + },
28 + computed: {
29 + variables() {
30 + return variables;
31 + },
32 + sideTheme() {
33 + return this.$store.state.settings.sideTheme
34 + }
35 + },
36 + data() {
37 + return {
38 + title: '若依管理系统',
39 + logo: logoImg
40 + }
41 + }
42 +}
43 +</script>
44 +
45 +<style lang="scss" scoped>
46 +.sidebarLogoFade-enter-active {
47 + transition: opacity 1.5s;
48 +}
49 +
50 +.sidebarLogoFade-enter,
51 +.sidebarLogoFade-leave-to {
52 + opacity: 0;
53 +}
54 +
55 +.sidebar-logo-container {
56 + position: relative;
57 + width: 100%;
58 + height: 50px;
59 + line-height: 50px;
60 + background: #2b2f3a;
61 + text-align: center;
62 + overflow: hidden;
63 +
64 + & .sidebar-logo-link {
65 + height: 100%;
66 + width: 100%;
67 +
68 + & .sidebar-logo {
69 + width: 32px;
70 + height: 32px;
71 + vertical-align: middle;
72 + margin-right: 12px;
73 + }
74 +
75 + & .sidebar-title {
76 + display: inline-block;
77 + margin: 0;
78 + color: #fff;
79 + font-weight: 600;
80 + line-height: 50px;
81 + font-size: 14px;
82 + font-family: Avenir, Helvetica Neue, Arial, Helvetica, sans-serif;
83 + vertical-align: middle;
84 + }
85 + }
86 +
87 + &.collapse {
88 + .sidebar-logo {
89 + margin-right: 0px;
90 + }
91 + }
92 +}
93 +</style>
1 +<template>
2 + <div v-if="!item.hidden">
3 + <template v-if="hasOneShowingChild(item.children,item) && (!onlyOneChild.children||onlyOneChild.noShowingChildren)&&!item.alwaysShow">
4 + <app-link v-if="onlyOneChild.meta" :to="resolvePath(onlyOneChild.path)">
5 + <el-menu-item :index="resolvePath(onlyOneChild.path)" :class="{'submenu-title-noDropdown':!isNest}">
6 + <item :icon="onlyOneChild.meta.icon||(item.meta&&item.meta.icon)" :title="onlyOneChild.meta.title" />
7 + </el-menu-item>
8 + </app-link>
9 + </template>
10 +
11 + <el-submenu v-else ref="subMenu" :index="resolvePath(item.path)" popper-append-to-body>
12 + <template slot="title">
13 + <item v-if="item.meta" :icon="item.meta && item.meta.icon" :title="item.meta.title" />
14 + </template>
15 + <sidebar-item
16 + v-for="child in item.children"
17 + :key="child.path"
18 + :is-nest="true"
19 + :item="child"
20 + :base-path="resolvePath(child.path)"
21 + class="nest-menu"
22 + />
23 + </el-submenu>
24 + </div>
25 +</template>
26 +
27 +<script>
28 +import path from 'path'
29 +import { isExternal } from '@/utils/validate'
30 +import Item from './Item'
31 +import AppLink from './Link'
32 +import FixiOSBug from './FixiOSBug'
33 +
34 +export default {
35 + name: 'SidebarItem',
36 + components: { Item, AppLink },
37 + mixins: [FixiOSBug],
38 + props: {
39 + // route object
40 + item: {
41 + type: Object,
42 + required: true
43 + },
44 + isNest: {
45 + type: Boolean,
46 + default: false
47 + },
48 + basePath: {
49 + type: String,
50 + default: ''
51 + }
52 + },
53 + data() {
54 + this.onlyOneChild = null
55 + return {}
56 + },
57 + methods: {
58 + hasOneShowingChild(children = [], parent) {
59 + if (!children) {
60 + children = [];
61 + }
62 + const showingChildren = children.filter(item => {
63 + if (item.hidden) {
64 + return false
65 + } else {
66 + // Temp set(will be used if only has one showing child)
67 + this.onlyOneChild = item
68 + return true
69 + }
70 + })
71 +
72 + // When there is only one child router, the child router is displayed by default
73 + if (showingChildren.length === 1) {
74 + return true
75 + }
76 +
77 + // Show parent if there are no child router to display
78 + if (showingChildren.length === 0) {
79 + this.onlyOneChild = { ... parent, path: '', noShowingChildren: true }
80 + return true
81 + }
82 +
83 + return false
84 + },
85 + resolvePath(routePath) {
86 + if (isExternal(routePath)) {
87 + return routePath
88 + }
89 + if (isExternal(this.basePath)) {
90 + return this.basePath
91 + }
92 + return path.resolve(this.basePath, routePath)
93 + }
94 + }
95 +}
96 +</script>
1 +<template>
2 + <div :class="{'has-logo':showLogo}" :style="{ backgroundColor: settings.sideTheme === 'theme-dark' ? variables.menuBg : variables.menuLightBg }">
3 + <logo v-if="showLogo" :collapse="isCollapse" />
4 + <el-scrollbar :class="settings.sideTheme" wrap-class="scrollbar-wrapper">
5 + <el-menu
6 + :default-active="activeMenu"
7 + :collapse="isCollapse"
8 + :background-color="settings.sideTheme === 'theme-dark' ? variables.menuBg : variables.menuLightBg"
9 + :text-color="settings.sideTheme === 'theme-dark' ? variables.menuText : 'rgba(0,0,0,.65)'"
10 + :unique-opened="true"
11 + :active-text-color="settings.theme"
12 + :collapse-transition="false"
13 + mode="vertical"
14 + >
15 + <sidebar-item
16 + v-for="(route, index) in sidebarRouters"
17 + :key="route.path + index"
18 + :item="route"
19 + :base-path="route.path"
20 + />
21 + </el-menu>
22 + </el-scrollbar>
23 + </div>
24 +</template>
25 +
26 +<script>
27 +import { mapGetters, mapState } from "vuex";
28 +import Logo from "./Logo";
29 +import SidebarItem from "./SidebarItem";
30 +import variables from "@/assets/styles/variables.scss";
31 +
32 +export default {
33 + components: { SidebarItem, Logo },
34 + computed: {
35 + ...mapState(["settings"]),
36 + ...mapGetters(["sidebarRouters", "sidebar"]),
37 + activeMenu() {
38 + const route = this.$route;
39 + const { meta, path } = route;
40 + // if set path, the sidebar will highlight the path you set
41 + if (meta.activeMenu) {
42 + return meta.activeMenu;
43 + }
44 + return path;
45 + },
46 + showLogo() {
47 + return this.$store.state.settings.sidebarLogo;
48 + },
49 + variables() {
50 + return variables;
51 + },
52 + isCollapse() {
53 + return !this.sidebar.opened;
54 + }
55 + }
56 +};
57 +</script>
1 +<template>
2 + <el-scrollbar ref="scrollContainer" :vertical="false" class="scroll-container" @wheel.native.prevent="handleScroll">
3 + <slot />
4 + </el-scrollbar>
5 +</template>
6 +
7 +<script>
8 +const tagAndTagSpacing = 4 // tagAndTagSpacing
9 +
10 +export default {
11 + name: 'ScrollPane',
12 + data() {
13 + return {
14 + left: 0
15 + }
16 + },
17 + computed: {
18 + scrollWrapper() {
19 + return this.$refs.scrollContainer.$refs.wrap
20 + }
21 + },
22 + mounted() {
23 + this.scrollWrapper.addEventListener('scroll', this.emitScroll, true)
24 + },
25 + beforeDestroy() {
26 + this.scrollWrapper.removeEventListener('scroll', this.emitScroll)
27 + },
28 + methods: {
29 + handleScroll(e) {
30 + const eventDelta = e.wheelDelta || -e.deltaY * 40
31 + const $scrollWrapper = this.scrollWrapper
32 + $scrollWrapper.scrollLeft = $scrollWrapper.scrollLeft + eventDelta / 4
33 + },
34 + emitScroll() {
35 + this.$emit('scroll')
36 + },
37 + moveToTarget(currentTag) {
38 + const $container = this.$refs.scrollContainer.$el
39 + const $containerWidth = $container.offsetWidth
40 + const $scrollWrapper = this.scrollWrapper
41 + const tagList = this.$parent.$refs.tag
42 +
43 + let firstTag = null
44 + let lastTag = null
45 +
46 + // find first tag and last tag
47 + if (tagList.length > 0) {
48 + firstTag = tagList[0]
49 + lastTag = tagList[tagList.length - 1]
50 + }
51 +
52 + if (firstTag === currentTag) {
53 + $scrollWrapper.scrollLeft = 0
54 + } else if (lastTag === currentTag) {
55 + $scrollWrapper.scrollLeft = $scrollWrapper.scrollWidth - $containerWidth
56 + } else {
57 + // find preTag and nextTag
58 + const currentIndex = tagList.findIndex(item => item === currentTag)
59 + const prevTag = tagList[currentIndex - 1]
60 + const nextTag = tagList[currentIndex + 1]
61 +
62 + // the tag's offsetLeft after of nextTag
63 + const afterNextTagOffsetLeft = nextTag.$el.offsetLeft + nextTag.$el.offsetWidth + tagAndTagSpacing
64 +
65 + // the tag's offsetLeft before of prevTag
66 + const beforePrevTagOffsetLeft = prevTag.$el.offsetLeft - tagAndTagSpacing
67 +
68 + if (afterNextTagOffsetLeft > $scrollWrapper.scrollLeft + $containerWidth) {
69 + $scrollWrapper.scrollLeft = afterNextTagOffsetLeft - $containerWidth
70 + } else if (beforePrevTagOffsetLeft < $scrollWrapper.scrollLeft) {
71 + $scrollWrapper.scrollLeft = beforePrevTagOffsetLeft
72 + }
73 + }
74 + }
75 + }
76 +}
77 +</script>
78 +
79 +<style lang="scss" scoped>
80 +.scroll-container {
81 + white-space: nowrap;
82 + position: relative;
83 + overflow: hidden;
84 + width: 100%;
85 + ::v-deep {
86 + .el-scrollbar__bar {
87 + bottom: 0px;
88 + }
89 + .el-scrollbar__wrap {
90 + height: 49px;
91 + }
92 + }
93 +}
94 +</style>
1 +<template>
2 + <div id="tags-view-container" class="tags-view-container">
3 + <scroll-pane ref="scrollPane" class="tags-view-wrapper" @scroll="handleScroll">
4 + <router-link
5 + v-for="tag in visitedViews"
6 + ref="tag"
7 + :key="tag.path"
8 + :class="isActive(tag)?'active':''"
9 + :to="{ path: tag.path, query: tag.query, fullPath: tag.fullPath }"
10 + tag="span"
11 + class="tags-view-item"
12 + :style="activeStyle(tag)"
13 + @click.middle.native="!isAffix(tag)?closeSelectedTag(tag):''"
14 + @contextmenu.prevent.native="openMenu(tag,$event)"
15 + >
16 + {{ tag.title }}
17 + <span v-if="!isAffix(tag)" class="el-icon-close" @click.prevent.stop="closeSelectedTag(tag)" />
18 + </router-link>
19 + </scroll-pane>
20 + <ul v-show="visible" :style="{left:left+'px',top:top+'px'}" class="contextmenu">
21 + <li @click="refreshSelectedTag(selectedTag)">刷新页面</li>
22 + <li v-if="!isAffix(selectedTag)" @click="closeSelectedTag(selectedTag)">关闭当前</li>
23 + <li @click="closeOthersTags">关闭其他</li>
24 + <li v-if="!isLastView()" @click="closeRightTags">关闭右侧</li>
25 + <li @click="closeAllTags(selectedTag)">关闭所有</li>
26 + </ul>
27 + </div>
28 +</template>
29 +
30 +<script>
31 +import ScrollPane from './ScrollPane'
32 +import path from 'path'
33 +
34 +export default {
35 + components: { ScrollPane },
36 + data() {
37 + return {
38 + visible: false,
39 + top: 0,
40 + left: 0,
41 + selectedTag: {},
42 + affixTags: []
43 + }
44 + },
45 + computed: {
46 + visitedViews() {
47 + return this.$store.state.tagsView.visitedViews
48 + },
49 + routes() {
50 + return this.$store.state.permission.routes
51 + },
52 + theme() {
53 + return this.$store.state.settings.theme;
54 + }
55 + },
56 + watch: {
57 + $route() {
58 + this.addTags()
59 + this.moveToCurrentTag()
60 + },
61 + visible(value) {
62 + if (value) {
63 + document.body.addEventListener('click', this.closeMenu)
64 + } else {
65 + document.body.removeEventListener('click', this.closeMenu)
66 + }
67 + }
68 + },
69 + mounted() {
70 + this.initTags()
71 + this.addTags()
72 + },
73 + methods: {
74 + isActive(route) {
75 + return route.path === this.$route.path
76 + },
77 + activeStyle(tag) {
78 + if (!this.isActive(tag)) return {};
79 + return {
80 + "background-color": this.theme,
81 + "border-color": this.theme
82 + };
83 + },
84 + isAffix(tag) {
85 + return tag.meta && tag.meta.affix
86 + },
87 + isLastView() {
88 + try {
89 + return this.selectedTag.fullPath === this.visitedViews[this.visitedViews.length - 1].fullPath
90 + } catch (err) {
91 + return false
92 + }
93 + },
94 + filterAffixTags(routes, basePath = '/') {
95 + let tags = []
96 + routes.forEach(route => {
97 + if (route.meta && route.meta.affix) {
98 + const tagPath = path.resolve(basePath, route.path)
99 + tags.push({
100 + fullPath: tagPath,
101 + path: tagPath,
102 + name: route.name,
103 + meta: { ...route.meta }
104 + })
105 + }
106 + if (route.children) {
107 + const tempTags = this.filterAffixTags(route.children, route.path)
108 + if (tempTags.length >= 1) {
109 + tags = [...tags, ...tempTags]
110 + }
111 + }
112 + })
113 + return tags
114 + },
115 + initTags() {
116 + const affixTags = this.affixTags = this.filterAffixTags(this.routes)
117 + for (const tag of affixTags) {
118 + // Must have tag name
119 + if (tag.name) {
120 + this.$store.dispatch('tagsView/addVisitedView', tag)
121 + }
122 + }
123 + },
124 + addTags() {
125 + const { name } = this.$route
126 + if (name) {
127 + this.$store.dispatch('tagsView/addView', this.$route)
128 + }
129 + return false
130 + },
131 + moveToCurrentTag() {
132 + const tags = this.$refs.tag
133 + this.$nextTick(() => {
134 + for (const tag of tags) {
135 + if (tag.to.path === this.$route.path) {
136 + this.$refs.scrollPane.moveToTarget(tag)
137 + // when query is different then update
138 + if (tag.to.fullPath !== this.$route.fullPath) {
139 + this.$store.dispatch('tagsView/updateVisitedView', this.$route)
140 + }
141 + break
142 + }
143 + }
144 + })
145 + },
146 + refreshSelectedTag(view) {
147 + this.$store.dispatch('tagsView/delCachedView', view).then(() => {
148 + const { fullPath } = view
149 + this.$nextTick(() => {
150 + this.$router.replace({
151 + path: '/redirect' + fullPath
152 + })
153 + })
154 + })
155 + },
156 + closeSelectedTag(view) {
157 + this.$store.dispatch('tagsView/delView', view).then(({ visitedViews }) => {
158 + if (this.isActive(view)) {
159 + this.toLastView(visitedViews, view)
160 + }
161 + })
162 + },
163 + closeRightTags() {
164 + this.$store.dispatch('tagsView/delRightTags', this.selectedTag).then(visitedViews => {
165 + if (!visitedViews.find(i => i.fullPath === this.$route.fullPath)) {
166 + this.toLastView(visitedViews)
167 + }
168 + })
169 + },
170 + closeOthersTags() {
171 + this.$router.push(this.selectedTag).catch(()=>{});
172 + this.$store.dispatch('tagsView/delOthersViews', this.selectedTag).then(() => {
173 + this.moveToCurrentTag()
174 + })
175 + },
176 + closeAllTags(view) {
177 + this.$store.dispatch('tagsView/delAllViews').then(({ visitedViews }) => {
178 + if (this.affixTags.some(tag => tag.path === this.$route.path)) {
179 + return
180 + }
181 + this.toLastView(visitedViews, view)
182 + })
183 + },
184 + toLastView(visitedViews, view) {
185 + const latestView = visitedViews.slice(-1)[0]
186 + if (latestView) {
187 + this.$router.push(latestView.fullPath)
188 + } else {
189 + // now the default is to redirect to the home page if there is no tags-view,
190 + // you can adjust it according to your needs.
191 + if (view.name === 'Dashboard') {
192 + // to reload home page
193 + this.$router.replace({ path: '/redirect' + view.fullPath })
194 + } else {
195 + this.$router.push('/')
196 + }
197 + }
198 + },
199 + openMenu(tag, e) {
200 + const menuMinWidth = 105
201 + const offsetLeft = this.$el.getBoundingClientRect().left // container margin left
202 + const offsetWidth = this.$el.offsetWidth // container width
203 + const maxLeft = offsetWidth - menuMinWidth // left boundary
204 + const left = e.clientX - offsetLeft + 15 // 15: margin right
205 +
206 + if (left > maxLeft) {
207 + this.left = maxLeft
208 + } else {
209 + this.left = left
210 + }
211 +
212 + this.top = e.clientY
213 + this.visible = true
214 + this.selectedTag = tag
215 + },
216 + closeMenu() {
217 + this.visible = false
218 + },
219 + handleScroll() {
220 + this.closeMenu()
221 + }
222 + }
223 +}
224 +</script>
225 +
226 +<style lang="scss" scoped>
227 +.tags-view-container {
228 + height: 34px;
229 + width: 100%;
230 + background: #fff;
231 + border-bottom: 1px solid #d8dce5;
232 + box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .12), 0 0 3px 0 rgba(0, 0, 0, .04);
233 + .tags-view-wrapper {
234 + .tags-view-item {
235 + display: inline-block;
236 + position: relative;
237 + cursor: pointer;
238 + height: 26px;
239 + line-height: 26px;
240 + border: 1px solid #d8dce5;
241 + color: #495060;
242 + background: #fff;
243 + padding: 0 8px;
244 + font-size: 12px;
245 + margin-left: 5px;
246 + margin-top: 4px;
247 + &:first-of-type {
248 + margin-left: 15px;
249 + }
250 + &:last-of-type {
251 + margin-right: 15px;
252 + }
253 + &.active {
254 + background-color: #42b983;
255 + color: #fff;
256 + border-color: #42b983;
257 + &::before {
258 + content: '';
259 + background: #fff;
260 + display: inline-block;
261 + width: 8px;
262 + height: 8px;
263 + border-radius: 50%;
264 + position: relative;
265 + margin-right: 2px;
266 + }
267 + }
268 + }
269 + }
270 + .contextmenu {
271 + margin: 0;
272 + background: #fff;
273 + z-index: 3000;
274 + position: absolute;
275 + list-style-type: none;
276 + padding: 5px 0;
277 + border-radius: 4px;
278 + font-size: 12px;
279 + font-weight: 400;
280 + color: #333;
281 + box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, .3);
282 + li {
283 + margin: 0;
284 + padding: 7px 16px;
285 + cursor: pointer;
286 + &:hover {
287 + background: #eee;
288 + }
289 + }
290 + }
291 +}
292 +</style>
293 +
294 +<style lang="scss">
295 +//reset element css of el-icon-close
296 +.tags-view-wrapper {
297 + .tags-view-item {
298 + .el-icon-close {
299 + width: 16px;
300 + height: 16px;
301 + vertical-align: 2px;
302 + border-radius: 50%;
303 + text-align: center;
304 + transition: all .3s cubic-bezier(.645, .045, .355, 1);
305 + transform-origin: 100% 50%;
306 + &:before {
307 + transform: scale(.6);
308 + display: inline-block;
309 + vertical-align: -3px;
310 + }
311 + &:hover {
312 + background-color: #b4bccc;
313 + color: #fff;
314 + }
315 + }
316 + }
317 +}
318 +</style>
1 +export { default as AppMain } from './AppMain'
2 +export { default as Navbar } from './Navbar'
3 +export { default as Settings } from './Settings'
4 +export { default as Sidebar } from './Sidebar/index.vue'
5 +export { default as TagsView } from './TagsView/index.vue'
1 +<template>
2 + <div :class="classObj" class="app-wrapper" :style="{'--current-color': theme}">
3 + <div v-if="device==='mobile'&&sidebar.opened" class="drawer-bg" @click="handleClickOutside"/>
4 + <sidebar class="sidebar-container" :style="{ backgroundColor: sideTheme === 'theme-dark' ? variables.menuBg : variables.menuLightBg }" />
5 + <div :class="{hasTagsView:needTagsView}" class="main-container">
6 + <div :class="{'fixed-header':fixedHeader}">
7 + <navbar />
8 + <tags-view v-if="needTagsView" />
9 + </div>
10 + <app-main />
11 + <right-panel v-if="showSettings">
12 + <settings />
13 + </right-panel>
14 + </div>
15 + </div>
16 +</template>
17 +
18 +<script>
19 +import RightPanel from '@/components/RightPanel'
20 +import { AppMain, Navbar, Settings, Sidebar, TagsView } from './components'
21 +import ResizeMixin from './mixin/ResizeHandler'
22 +import { mapState } from 'vuex'
23 +import variables from '@/assets/styles/variables.scss'
24 +
25 +export default {
26 + name: 'Layout',
27 + components: {
28 + AppMain,
29 + Navbar,
30 + RightPanel,
31 + Settings,
32 + Sidebar,
33 + TagsView
34 + },
35 + mixins: [ResizeMixin],
36 + computed: {
37 + ...mapState({
38 + theme: state => state.settings.theme,
39 + sideTheme: state => state.settings.sideTheme,
40 + sidebar: state => state.app.sidebar,
41 + device: state => state.app.device,
42 + showSettings: state => state.settings.showSettings,
43 + needTagsView: state => state.settings.tagsView,
44 + fixedHeader: state => state.settings.fixedHeader
45 + }),
46 + classObj() {
47 + return {
48 + hideSidebar: !this.sidebar.opened,
49 + openSidebar: this.sidebar.opened,
50 + withoutAnimation: this.sidebar.withoutAnimation,
51 + mobile: this.device === 'mobile'
52 + }
53 + },
54 + variables() {
55 + return variables;
56 + }
57 + },
58 + methods: {
59 + handleClickOutside() {
60 + this.$store.dispatch('app/closeSideBar', { withoutAnimation: false })
61 + }
62 + }
63 +}
64 +</script>
65 +
66 +<style lang="scss" scoped>
67 + @import "~@/assets/styles/mixin.scss";
68 + @import "~@/assets/styles/variables.scss";
69 +
70 + .app-wrapper {
71 + @include clearfix;
72 + position: relative;
73 + height: 100%;
74 + width: 100%;
75 +
76 + &.mobile.openSidebar {
77 + position: fixed;
78 + top: 0;
79 + }
80 + }
81 +
82 + .drawer-bg {
83 + background: #000;
84 + opacity: 0.3;
85 + width: 100%;
86 + top: 0;
87 + height: 100%;
88 + position: absolute;
89 + z-index: 999;
90 + }
91 +
92 + .fixed-header {
93 + position: fixed;
94 + top: 0;
95 + right: 0;
96 + z-index: 9;
97 + width: calc(100% - #{$sideBarWidth});
98 + transition: width 0.28s;
99 + }
100 +
101 + .hideSidebar .fixed-header {
102 + width: calc(100% - 54px)
103 + }
104 +
105 + .mobile .fixed-header {
106 + width: 100%;
107 + }
108 +</style>
1 +import store from '@/store'
2 +
3 +const { body } = document
4 +const WIDTH = 992 // refer to Bootstrap's responsive design
5 +
6 +export default {
7 + watch: {
8 + $route(route) {
9 + if (this.device === 'mobile' && this.sidebar.opened) {
10 + store.dispatch('app/closeSideBar', { withoutAnimation: false })
11 + }
12 + }
13 + },
14 + beforeMount() {
15 + window.addEventListener('resize', this.$_resizeHandler)
16 + },
17 + beforeDestroy() {
18 + window.removeEventListener('resize', this.$_resizeHandler)
19 + },
20 + mounted() {
21 + const isMobile = this.$_isMobile()
22 + if (isMobile) {
23 + store.dispatch('app/toggleDevice', 'mobile')
24 + store.dispatch('app/closeSideBar', { withoutAnimation: true })
25 + }
26 + },
27 + methods: {
28 + // use $_ for mixins properties
29 + // https://vuejs.org/v2/style-guide/index.html#Private-property-names-essential
30 + $_isMobile() {
31 + const rect = body.getBoundingClientRect()
32 + return rect.width - 1 < WIDTH
33 + },
34 + $_resizeHandler() {
35 + if (!document.hidden) {
36 + const isMobile = this.$_isMobile()
37 + store.dispatch('app/toggleDevice', isMobile ? 'mobile' : 'desktop')
38 +
39 + if (isMobile) {
40 + store.dispatch('app/closeSideBar', { withoutAnimation: true })
41 + }
42 + }
43 + }
44 + }
45 +}
1 +import Vue from 'vue'
2 +
3 +//import Cookies from 'js-cookie'
4 +
5 +import Element from 'element-ui'
6 +import './assets/styles/element-variables.scss'
7 +
8 +import '@/assets/styles/index.scss' // global css
9 +import '@/assets/styles/ruoyi.scss' // ruoyi css
10 +import App from './App'
11 +import store from './store'
12 +import router from './router'
13 +import permission from './directive/permission'
14 +
15 +import './assets/icons' // icon
16 +import './permission' // permission control
17 +//import { getDicts } from "@/api/system/dict/data";
18 +//import { getConfigKey } from "@/api/system/config";
19 +import { parseTime, resetForm, addDateRange, selectDictLabel, selectDictLabels, download, handleTree } from "@/utils/ruoyi";
20 +import Pagination from "@/components/Pagination";
21 +// 自定义表格工具扩展
22 +import RightToolbar from "@/components/RightToolbar"
23 +
24 +// 全局方法挂载
25 +//Vue.prototype.getDicts = getDicts
26 +//Vue.prototype.getConfigKey = getConfigKey
27 +Vue.prototype.parseTime = parseTime
28 +Vue.prototype.resetForm = resetForm
29 +Vue.prototype.addDateRange = addDateRange
30 +Vue.prototype.selectDictLabel = selectDictLabel
31 +Vue.prototype.selectDictLabels = selectDictLabels
32 +Vue.prototype.download = download
33 +Vue.prototype.handleTree = handleTree
34 +
35 +Vue.prototype.msgSuccess = function (msg) {
36 + this.$message({ showClose: true, message: msg, type: "success" });
37 +}
38 +
39 +Vue.prototype.msgError = function (msg) {
40 + this.$message({ showClose: true, message: msg, type: "error" });
41 +}
42 +
43 +Vue.prototype.msgInfo = function (msg) {
44 + this.$message.info(msg);
45 +}
46 +
47 +// 全局组件挂载
48 +Vue.component('Pagination', Pagination)
49 +Vue.component('RightToolbar', RightToolbar)
50 +
51 +Vue.use(permission)
52 +
53 +/**
54 + * If you don't want to use mock-server
55 + * you want to use MockJs for mock api
56 + * you can execute: mockXHR()
57 + *
58 + * Currently MockJs will be used in the production environment,
59 + * please remove it before going online! ! !
60 + */
61 +
62 +Vue.use(Element, {
63 + //size: Cookies.get('size') || 'medium' // set element-ui default size
64 + size: localStorage.getItem('size') || 'medium' // set element-ui default size
65 +
66 +})
67 +
68 +Vue.config.productionTip = false
69 +
70 +new Vue({
71 + el: '#app',
72 + router,
73 + store,
74 + render: h => h(App)
75 +})
1 +import router from './router'
2 +import store from './store'
3 +import { Message } from 'element-ui'
4 +//import NProgress from 'nprogress'
5 +//import 'nprogress/nprogress.css'
6 +import { getToken } from '@/utils/auth'
7 +
8 +//NProgress.configure({ showSpinner: false })
9 +
10 +const whiteList = ['/login', '/auth-redirect', '/bind', '/register']
11 +
12 +router.beforeEach((to, from, next) => {
13 + //NProgress.start()
14 + if (getToken()) {
15 + /* has token*/
16 + if (to.path === '/login') {
17 + next({ path: '/' })
18 + //NProgress.done()
19 + } else {
20 + if (store.getters.roles.length === 0) {
21 + // 判断当前用户是否已拉取完user_info信息
22 + store.dispatch('GetInfo').then(() => {
23 + store.dispatch('GenerateRoutes').then(accessRoutes => {
24 + // 根据roles权限生成可访问的路由表
25 + router.addRoutes(accessRoutes) // 动态添加可访问路由表
26 + next({ ...to, replace: true }) // hack方法 确保addRoutes已完成
27 + })
28 + }).catch(err => {
29 + store.dispatch('LogOut').then(() => {
30 + Message.error(err)
31 + next({ path: '/' })
32 + })
33 + })
34 + } else {
35 + next()
36 + }
37 + }
38 + } else {
39 + // 没有token
40 + if (whiteList.indexOf(to.path) !== -1) {
41 + // 在免登录白名单,直接进入
42 + next()
43 + } else {
44 + next(`/login?redirect=${to.fullPath}`) // 否则全部重定向到登录页
45 + //NProgress.done()
46 + }
47 + }
48 +})
49 +
50 +router.afterEach(() => {
51 + //NProgress.done()
52 +})
1 +import Vue from 'vue'
2 +import Router from 'vue-router'
3 +
4 +Vue.use(Router)
5 +
6 +/* Layout */
7 +import Layout from '@/layout'
8 +import ParentView from '@/components/ParentView';
9 +
10 +/**
11 + * Note: 路由配置项
12 + *
13 + * hidden: true // 当设置 true 的时候该路由不会再侧边栏出现 如401,login等页面,或者如一些编辑页面/edit/1
14 + * alwaysShow: true // 当你一个路由下面的 children 声明的路由大于1个时,自动会变成嵌套的模式--如组件页面
15 + * // 只有一个时,会将那个子路由当做根路由显示在侧边栏--如引导页面
16 + * // 若你想不管路由下面的 children 声明的个数都显示你的根路由
17 + * // 你可以设置 alwaysShow: true,这样它就会忽略之前定义的规则,一直显示根路由
18 + * redirect: noRedirect // 当设置 noRedirect 的时候该路由在面包屑导航中不可被点击
19 + * name:'router-name' // 设定路由的名字,一定要填写不然使用<keep-alive>时会出现各种问题
20 + * meta : {
21 + noCache: true // 如果设置为true,则不会被 <keep-alive> 缓存(默认 false)
22 + title: 'title' // 设置该路由在侧边栏和面包屑中展示的名字
23 + icon: 'svg-name' // 设置该路由的图标,对应路径src/assets/icons/svg
24 + breadcrumb: false // 如果设置为false,则不会在breadcrumb面包屑中显示
25 + }
26 + */
27 +
28 +// 公共路由
29 +export const constantRoutes = [
30 + {
31 + path: '/redirect',
32 + component: Layout,
33 + hidden: true,
34 + children: [
35 + {
36 + path: '/redirect/:path(.*)',
37 + component: (resolve) => require(['@/views/redirect'], resolve)
38 + }
39 + ]
40 + },
41 + {
42 + path: '/login',
43 + component: (resolve) => require(['@/views/login'], resolve),
44 + hidden: true
45 + },
46 + {
47 + path: '/404',
48 + component: (resolve) => require(['@/views/error/404'], resolve),
49 + hidden: true
50 + },
51 + {
52 + path: '/401',
53 + component: (resolve) => require(['@/views/error/401'], resolve),
54 + hidden: true
55 + },
56 + {
57 + path: '',
58 + component: Layout,
59 + redirect: 'index',
60 + children: [
61 + {
62 + path: 'index',
63 + component: (resolve) => require(['@/views/index'], resolve),
64 + name: '首页',
65 + meta: { title: '首页', icon: 'dashboard', noCache: true, affix: true }
66 + }
67 + ]
68 + },
69 + {
70 + path: '/user',
71 + component: Layout,
72 + hidden: true,
73 + redirect: 'noredirect',
74 + children: [
75 + {
76 + path: 'profile',
77 + component: (resolve) => require(['@/views/system/user/profile/index'], resolve),
78 + name: 'Profile',
79 + meta: { title: '个人中心', icon: 'user' }
80 + }
81 + ]
82 + }
83 +]
84 +
85 +export default new Router({
86 + mode: 'history', // 去掉url中的#
87 + scrollBehavior: () => ({ y: 0 }),
88 + routes: constantRoutes
89 +})
1 +module.exports = {
2 + title: '若依管理系统',
3 +
4 + /**
5 + * 侧边栏主题 深色主题theme-dark,浅色主题theme-light
6 + */
7 + sideTheme: 'theme-dark',
8 +
9 + /**
10 + * 是否系统布局配置
11 + */
12 + showSettings: false,
13 +
14 + /**
15 + * 是否显示顶部导航
16 + */
17 + topNav: false,
18 +
19 + /**
20 + * 是否显示 tagsView
21 + */
22 + tagsView: true,
23 +
24 + /**
25 + * 是否固定头部
26 + */
27 + fixedHeader: false,
28 +
29 + /**
30 + * 是否显示logo
31 + */
32 + sidebarLogo: true,
33 +
34 + /**
35 + * @type {string | array} 'production' | ['production', 'development']
36 + * @description Need show err logs component.
37 + * The default is only used in the production env
38 + * If you want to also use it in dev, you can pass ['production', 'development']
39 + */
40 + errorLog: 'production'
41 +}
1 +const getters = {
2 + sidebar: state => state.app.sidebar,
3 + size: state => state.app.size,
4 + device: state => state.app.device,
5 + visitedViews: state => state.tagsView.visitedViews,
6 + cachedViews: state => state.tagsView.cachedViews,
7 + token: state => state.user.token,
8 + avatar: state => state.user.avatar,
9 + name: state => state.user.name,
10 + introduction: state => state.user.introduction,
11 + roles: state => state.user.roles,
12 + permissions: state => state.user.permissions,
13 + permission_routes: state => state.permission.routes,
14 + topbarRouters:state => state.permission.topbarRouters,
15 + defaultRoutes:state => state.permission.defaultRoutes,
16 + sidebarRouters:state => state.permission.sidebarRouters,
17 +}
18 +export default getters
1 +import Vue from 'vue'
2 +import Vuex from 'vuex'
3 +import app from './modules/app'
4 +import user from './modules/user'
5 +import tagsView from './modules/tagsView'
6 +import permission from './modules/permission'
7 +import settings from './modules/settings'
8 +import getters from './getters'
9 +
10 +Vue.use(Vuex)
11 +
12 +const store = new Vuex.Store({
13 + modules: {
14 + app,
15 + user,
16 + tagsView,
17 + permission,
18 + settings
19 + },
20 + getters
21 +})
22 +
23 +export default store
1 +//import Cookies from 'js-cookie'
2 +
3 +const state = {
4 + sidebar: {
5 + opened: localStorage.getItem('sidebarStatus') ? !!+localStorage.getItem('sidebarStatus') : true,
6 + withoutAnimation: false
7 + },
8 + device: 'desktop',
9 + //size: Cookies.get('size') || 'medium'
10 + size: localStorage.getItem('size') || 'medium'
11 +}
12 +
13 +const mutations = {
14 + TOGGLE_SIDEBAR: state => {
15 + state.sidebar.opened = !state.sidebar.opened
16 + state.sidebar.withoutAnimation = false
17 + if (state.sidebar.opened) {
18 + //Cookies.set('sidebarStatus', 1)
19 + localStorage.setItem('sidebarStatus', 1)
20 + } else {
21 + Cookies.set('sidebarStatus', 0)
22 + localStorage.setItem('sidebarStatus', 0)
23 + }
24 + },
25 + CLOSE_SIDEBAR: (state, withoutAnimation) => {
26 + //Cookies.set('sidebarStatus', 0)
27 + localStorage.setItem('sidebarStatus', 0)
28 + state.sidebar.opened = false
29 + state.sidebar.withoutAnimation = withoutAnimation
30 + },
31 + TOGGLE_DEVICE: (state, device) => {
32 + state.device = device
33 + },
34 + SET_SIZE: (state, size) => {
35 + state.size = size
36 + //Cookies.set('size', size)
37 + localStorage.setItem('size', size)
38 + }
39 +}
40 +
41 +const actions = {
42 + toggleSideBar({ commit }) {
43 + commit('TOGGLE_SIDEBAR')
44 + },
45 + closeSideBar({ commit }, { withoutAnimation }) {
46 + commit('CLOSE_SIDEBAR', withoutAnimation)
47 + },
48 + toggleDevice({ commit }, device) {
49 + commit('TOGGLE_DEVICE', device)
50 + },
51 + setSize({ commit }, size) {
52 + commit('SET_SIZE', size)
53 + }
54 +}
55 +
56 +export default {
57 + namespaced: true,
58 + state,
59 + mutations,
60 + actions
61 +}
1 +import { constantRoutes } from '@/router'
2 +import { getRouters } from '@/api/menu'
3 +import Layout from '@/layout/index'
4 +import ParentView from '@/components/ParentView';
5 +
6 +const permission = {
7 + state: {
8 + routes: [],
9 + addRoutes: [],
10 + defaultRoutes: [],
11 + topbarRouters: [],
12 + sidebarRouters: []
13 + },
14 + mutations: {
15 + SET_ROUTES: (state, routes) => {
16 + state.addRoutes = routes
17 + state.routes = constantRoutes.concat(routes)
18 + },
19 + SET_DEFAULT_ROUTES: (state, routes) => {
20 + state.defaultRoutes = constantRoutes.concat(routes)
21 + },
22 + SET_TOPBAR_ROUTES: (state, routes) => {
23 + // 顶部导航菜单默认添加统计报表栏指向首页
24 + const index = [{
25 + path: 'index',
26 + meta: { title: '统计报表', icon: 'dashboard'}
27 + }]
28 + state.topbarRouters = routes.concat(index);
29 + },
30 + SET_SIDEBAR_ROUTERS: (state, routes) => {
31 + state.sidebarRouters = routes
32 + },
33 + },
34 + actions: {
35 + // 生成路由
36 + GenerateRoutes({ commit }) {
37 + return new Promise(resolve => {
38 + // 向后端请求路由数据
39 + getRouters().then(res => {
40 + const sdata = JSON.parse(JSON.stringify(res.data))
41 + const rdata = JSON.parse(JSON.stringify(res.data))
42 + const sidebarRoutes = filterAsyncRouter(sdata)
43 + const rewriteRoutes = filterAsyncRouter(rdata, false, true)
44 + rewriteRoutes.push({ path: '*', redirect: '/404', hidden: true })
45 + commit('SET_ROUTES', rewriteRoutes)
46 + commit('SET_SIDEBAR_ROUTERS', constantRoutes.concat(sidebarRoutes))
47 + commit('SET_DEFAULT_ROUTES', sidebarRoutes)
48 + commit('SET_TOPBAR_ROUTES', sidebarRoutes)
49 + resolve(rewriteRoutes)
50 + })
51 + })
52 + }
53 + }
54 +}
55 +
56 +// 遍历后台传来的路由字符串,转换为组件对象
57 +function filterAsyncRouter(asyncRouterMap, lastRouter = false, type = false) {
58 + return asyncRouterMap.filter(route => {
59 + if (type && route.children) {
60 + route.children = filterChildren(route.children)
61 + }
62 + if (route.component) {
63 + // Layout ParentView 组件特殊处理
64 + if (route.component === 'Layout') {
65 + route.component = Layout
66 + } else if (route.component === 'ParentView') {
67 + route.component = ParentView
68 + } else {
69 + route.component = loadView(route.component)
70 + }
71 + }
72 + if (route.children != null && route.children && route.children.length) {
73 + route.children = filterAsyncRouter(route.children, route, type)
74 + } else {
75 + delete route['children']
76 + delete route['redirect']
77 + }
78 + return true
79 + })
80 +}
81 +
82 +function filterChildren(childrenMap, lastRouter = false) {
83 + var children = []
84 + childrenMap.forEach((el, index) => {
85 + if (el.children && el.children.length) {
86 + if (el.component === 'ParentView') {
87 + el.children.forEach(c => {
88 + c.path = el.path + '/' + c.path
89 + if (c.children && c.children.length) {
90 + children = children.concat(filterChildren(c.children, c))
91 + return
92 + }
93 + children.push(c)
94 + })
95 + return
96 + }
97 + }
98 + if (lastRouter) {
99 + el.path = lastRouter.path + '/' + el.path
100 + }
101 + children = children.concat(el)
102 + })
103 + return children
104 +}
105 +
106 +export const loadView = (view) => { // 路由懒加载
107 + return (resolve) => require([`@/views/${view}`], resolve)
108 +}
109 +
110 +export default permission
1 +import variables from '@/assets/styles/element-variables.scss'
2 +import defaultSettings from '@/settings'
3 +
4 +const { sideTheme, showSettings, topNav, tagsView, fixedHeader, sidebarLogo } = defaultSettings
5 +
6 +const storageSetting = JSON.parse(localStorage.getItem('layout-setting')) || ''
7 +const state = {
8 + theme: storageSetting.theme || variables.theme,
9 + sideTheme: storageSetting.sideTheme || sideTheme,
10 + showSettings: showSettings,
11 + topNav: storageSetting.topNav === undefined ? topNav : storageSetting.topNav,
12 + tagsView: storageSetting.tagsView === undefined ? tagsView : storageSetting.tagsView,
13 + fixedHeader: storageSetting.fixedHeader === undefined ? fixedHeader : storageSetting.fixedHeader,
14 + sidebarLogo: storageSetting.sidebarLogo === undefined ? sidebarLogo : storageSetting.sidebarLogo
15 +}
16 +const mutations = {
17 + CHANGE_SETTING: (state, { key, value }) => {
18 + if (state.hasOwnProperty(key)) {
19 + state[key] = value
20 + }
21 + }
22 +}
23 +
24 +const actions = {
25 + changeSetting({ commit }, data) {
26 + commit('CHANGE_SETTING', data)
27 + }
28 +}
29 +
30 +export default {
31 + namespaced: true,
32 + state,
33 + mutations,
34 + actions
35 +}
36 +
1 +const state = {
2 + visitedViews: [],
3 + cachedViews: []
4 +}
5 +
6 +const mutations = {
7 + ADD_VISITED_VIEW: (state, view) => {
8 + if (state.visitedViews.some(v => v.path === view.path)) return
9 + state.visitedViews.push(
10 + Object.assign({}, view, {
11 + title: view.meta.title || 'no-name'
12 + })
13 + )
14 + },
15 + ADD_CACHED_VIEW: (state, view) => {
16 + if (state.cachedViews.includes(view.name)) return
17 + if (!view.meta.noCache) {
18 + state.cachedViews.push(view.name)
19 + }
20 + },
21 +
22 + DEL_VISITED_VIEW: (state, view) => {
23 + for (const [i, v] of state.visitedViews.entries()) {
24 + if (v.path === view.path) {
25 + state.visitedViews.splice(i, 1)
26 + break
27 + }
28 + }
29 + },
30 + DEL_CACHED_VIEW: (state, view) => {
31 + const index = state.cachedViews.indexOf(view.name)
32 + index > -1 && state.cachedViews.splice(index, 1)
33 + },
34 +
35 + DEL_OTHERS_VISITED_VIEWS: (state, view) => {
36 + state.visitedViews = state.visitedViews.filter(v => {
37 + return v.meta.affix || v.path === view.path
38 + })
39 + },
40 + DEL_OTHERS_CACHED_VIEWS: (state, view) => {
41 + const index = state.cachedViews.indexOf(view.name)
42 + if (index > -1) {
43 + state.cachedViews = state.cachedViews.slice(index, index + 1)
44 + } else {
45 + state.cachedViews = []
46 + }
47 + },
48 +
49 + DEL_ALL_VISITED_VIEWS: state => {
50 + // keep affix tags
51 + const affixTags = state.visitedViews.filter(tag => tag.meta.affix)
52 + state.visitedViews = affixTags
53 + },
54 + DEL_ALL_CACHED_VIEWS: state => {
55 + state.cachedViews = []
56 + },
57 +
58 + UPDATE_VISITED_VIEW: (state, view) => {
59 + for (let v of state.visitedViews) {
60 + if (v.path === view.path) {
61 + v = Object.assign(v, view)
62 + break
63 + }
64 + }
65 + },
66 +
67 + DEL_RIGHT_VIEWS: (state, view) => {
68 + const index = state.visitedViews.findIndex(v => v.path === view.path)
69 + if (index === -1) {
70 + return
71 + }
72 + state.visitedViews = state.visitedViews.filter((item, idx) => {
73 + if (idx <= index || (item.meta && item.meta.affix)) {
74 + return true
75 + }
76 + const i = state.cachedViews.indexOf(item.name)
77 + if (i > -1) {
78 + state.cachedViews.splice(i, 1)
79 + }
80 + return false
81 + })
82 + }
83 +}
84 +
85 +const actions = {
86 + addView({ dispatch }, view) {
87 + dispatch('addVisitedView', view)
88 + dispatch('addCachedView', view)
89 + },
90 + addVisitedView({ commit }, view) {
91 + commit('ADD_VISITED_VIEW', view)
92 + },
93 + addCachedView({ commit }, view) {
94 + commit('ADD_CACHED_VIEW', view)
95 + },
96 +
97 + delView({ dispatch, state }, view) {
98 + return new Promise(resolve => {
99 + dispatch('delVisitedView', view)
100 + dispatch('delCachedView', view)
101 + resolve({
102 + visitedViews: [...state.visitedViews],
103 + cachedViews: [...state.cachedViews]
104 + })
105 + })
106 + },
107 + delVisitedView({ commit, state }, view) {
108 + return new Promise(resolve => {
109 + commit('DEL_VISITED_VIEW', view)
110 + resolve([...state.visitedViews])
111 + })
112 + },
113 + delCachedView({ commit, state }, view) {
114 + return new Promise(resolve => {
115 + commit('DEL_CACHED_VIEW', view)
116 + resolve([...state.cachedViews])
117 + })
118 + },
119 +
120 + delOthersViews({ dispatch, state }, view) {
121 + return new Promise(resolve => {
122 + dispatch('delOthersVisitedViews', view)
123 + dispatch('delOthersCachedViews', view)
124 + resolve({
125 + visitedViews: [...state.visitedViews],
126 + cachedViews: [...state.cachedViews]
127 + })
128 + })
129 + },
130 + delOthersVisitedViews({ commit, state }, view) {
131 + return new Promise(resolve => {
132 + commit('DEL_OTHERS_VISITED_VIEWS', view)
133 + resolve([...state.visitedViews])
134 + })
135 + },
136 + delOthersCachedViews({ commit, state }, view) {
137 + return new Promise(resolve => {
138 + commit('DEL_OTHERS_CACHED_VIEWS', view)
139 + resolve([...state.cachedViews])
140 + })
141 + },
142 +
143 + delAllViews({ dispatch, state }, view) {
144 + return new Promise(resolve => {
145 + dispatch('delAllVisitedViews', view)
146 + dispatch('delAllCachedViews', view)
147 + resolve({
148 + visitedViews: [...state.visitedViews],
149 + cachedViews: [...state.cachedViews]
150 + })
151 + })
152 + },
153 + delAllVisitedViews({ commit, state }) {
154 + return new Promise(resolve => {
155 + commit('DEL_ALL_VISITED_VIEWS')
156 + resolve([...state.visitedViews])
157 + })
158 + },
159 + delAllCachedViews({ commit, state }) {
160 + return new Promise(resolve => {
161 + commit('DEL_ALL_CACHED_VIEWS')
162 + resolve([...state.cachedViews])
163 + })
164 + },
165 +
166 + updateVisitedView({ commit }, view) {
167 + commit('UPDATE_VISITED_VIEW', view)
168 + },
169 +
170 + delRightTags({ commit }, view) {
171 + return new Promise(resolve => {
172 + commit('DEL_RIGHT_VIEWS', view)
173 + resolve([...state.visitedViews])
174 + })
175 + }
176 +}
177 +
178 +export default {
179 + namespaced: true,
180 + state,
181 + mutations,
182 + actions
183 +}
1 +import { login, logout, getInfo } from '@/api/login'
2 +import { getToken, setToken, removeToken } from '@/utils/auth'
3 +
4 +const user = {
5 + state: {
6 + token: getToken(),
7 + name: '',
8 + avatar: '',
9 + roles: [],
10 + permissions: []
11 + },
12 +
13 + mutations: {
14 + SET_TOKEN: (state, token) => {
15 + state.token = token
16 + },
17 + SET_NAME: (state, name) => {
18 + state.name = name
19 + },
20 + SET_AVATAR: (state, avatar) => {
21 + state.avatar = avatar
22 + },
23 + SET_ROLES: (state, roles) => {
24 + state.roles = roles
25 + },
26 + SET_PERMISSIONS: (state, permissions) => {
27 + state.permissions = permissions
28 + }
29 + },
30 +
31 + actions: {
32 + // 登录
33 + Login({ commit }, userInfo) {
34 + const username = userInfo.username.trim()
35 + const password = userInfo.password
36 + const code = userInfo.code
37 + const uuid = userInfo.uuid
38 + return new Promise((resolve, reject) => {
39 + login(username, password, code, uuid).then(res => {
40 + setToken(res.data.token)
41 + commit('SET_TOKEN', res.data.token)
42 + resolve()
43 + }).catch(error => {
44 + reject(error)
45 + })
46 + })
47 + },
48 +
49 + // 获取用户信息
50 + GetInfo({ commit, state }) {
51 + return new Promise((resolve, reject) => {
52 + getInfo().then(res => {
53 + const user = res.data.user
54 + const avatar = user.avatar == "" ? require("@/assets/images/profile.jpg") : process.env.VUE_APP_BASE_API + user.avatar;
55 + if (res.data.roles && res.data.roles.length > 0) { // 验证返回的roles是否是一个非空数组
56 + commit('SET_ROLES', res.data.roles)
57 + commit('SET_PERMISSIONS', res.data.permissions)
58 + } else {
59 + commit('SET_ROLES', ['ROLE_DEFAULT'])
60 + }
61 + commit('SET_NAME', user.userName)
62 + commit('SET_AVATAR', avatar)
63 + resolve(res)
64 + }).catch(error => {
65 + reject(error)
66 + })
67 + })
68 + },
69 +
70 + // 退出系统
71 + LogOut({ commit, state }) {
72 + return new Promise((resolve, reject) => {
73 + logout(state.token).then(() => {
74 + commit('SET_TOKEN', '')
75 + commit('SET_ROLES', [])
76 + commit('SET_PERMISSIONS', [])
77 + removeToken()
78 + resolve()
79 + }).catch(error => {
80 + reject(error)
81 + })
82 + })
83 + },
84 +
85 + // 前端 登出
86 + FedLogOut({ commit }) {
87 + return new Promise(resolve => {
88 + commit('SET_TOKEN', '')
89 + removeToken()
90 + resolve()
91 + })
92 + }
93 + }
94 +}
95 +
96 +export default user
1 +//import Cookies from 'js-cookie'
2 +
3 +const TokenKey = 'Admin-Token'
4 +
5 +export function getToken() {
6 + //return Cookies.get(TokenKey)
7 + return localStorage.getItem(TokenKey)
8 +}
9 +
10 +export function setToken(token) {
11 + //return Cookies.set(TokenKey, token)
12 + return localStorage.setItem(TokenKey, token)
13 +}
14 +
15 +export function removeToken() {
16 + //return Cookies.remove(TokenKey)
17 + return localStorage.removeItem(TokenKey)
18 +}
1 +export default {
2 + '401': '认证失败,无法访问系统资源',
3 + '403': '当前操作没有权限',
4 + '404': '访问资源不存在',
5 + 'default': '系统未知错误,请反馈给管理员'
6 +}
1 +export const formConf = {
2 + formRef: 'elForm',
3 + formModel: 'formData',
4 + size: 'medium',
5 + labelPosition: 'right',
6 + labelWidth: 100,
7 + formRules: 'rules',
8 + gutter: 15,
9 + disabled: false,
10 + span: 24,
11 + formBtns: true
12 +}
13 +
14 +export const inputComponents = [
15 + {
16 + label: '单行文本',
17 + tag: 'el-input',
18 + tagIcon: 'input',
19 + placeholder: '请输入',
20 + defaultValue: undefined,
21 + span: 24,
22 + labelWidth: null,
23 + style: { width: '100%' },
24 + clearable: true,
25 + prepend: '',
26 + append: '',
27 + 'prefix-icon': '',
28 + 'suffix-icon': '',
29 + maxlength: null,
30 + 'show-word-limit': false,
31 + readonly: false,
32 + disabled: false,
33 + required: true,
34 + regList: [],
35 + changeTag: true,
36 + document: 'https://element.eleme.cn/#/zh-CN/component/input'
37 + },
38 + {
39 + label: '多行文本',
40 + tag: 'el-input',
41 + tagIcon: 'textarea',
42 + type: 'textarea',
43 + placeholder: '请输入',
44 + defaultValue: undefined,
45 + span: 24,
46 + labelWidth: null,
47 + autosize: {
48 + minRows: 4,
49 + maxRows: 4
50 + },
51 + style: { width: '100%' },
52 + maxlength: null,
53 + 'show-word-limit': false,
54 + readonly: false,
55 + disabled: false,
56 + required: true,
57 + regList: [],
58 + changeTag: true,
59 + document: 'https://element.eleme.cn/#/zh-CN/component/input'
60 + },
61 + {
62 + label: '密码',
63 + tag: 'el-input',
64 + tagIcon: 'password',
65 + placeholder: '请输入',
66 + defaultValue: undefined,
67 + span: 24,
68 + 'show-password': true,
69 + labelWidth: null,
70 + style: { width: '100%' },
71 + clearable: true,
72 + prepend: '',
73 + append: '',
74 + 'prefix-icon': '',
75 + 'suffix-icon': '',
76 + maxlength: null,
77 + 'show-word-limit': false,
78 + readonly: false,
79 + disabled: false,
80 + required: true,
81 + regList: [],
82 + changeTag: true,
83 + document: 'https://element.eleme.cn/#/zh-CN/component/input'
84 + },
85 + {
86 + label: '计数器',
87 + tag: 'el-input-number',
88 + tagIcon: 'number',
89 + placeholder: '',
90 + defaultValue: undefined,
91 + span: 24,
92 + labelWidth: null,
93 + min: undefined,
94 + max: undefined,
95 + step: undefined,
96 + 'step-strictly': false,
97 + precision: undefined,
98 + 'controls-position': '',
99 + disabled: false,
100 + required: true,
101 + regList: [],
102 + changeTag: true,
103 + document: 'https://element.eleme.cn/#/zh-CN/component/input-number'
104 + }
105 +]
106 +
107 +export const selectComponents = [
108 + {
109 + label: '下拉选择',
110 + tag: 'el-select',
111 + tagIcon: 'select',
112 + placeholder: '请选择',
113 + defaultValue: undefined,
114 + span: 24,
115 + labelWidth: null,
116 + style: { width: '100%' },
117 + clearable: true,
118 + disabled: false,
119 + required: true,
120 + filterable: false,
121 + multiple: false,
122 + options: [{
123 + label: '选项一',
124 + value: 1
125 + }, {
126 + label: '选项二',
127 + value: 2
128 + }],
129 + regList: [],
130 + changeTag: true,
131 + document: 'https://element.eleme.cn/#/zh-CN/component/select'
132 + },
133 + {
134 + label: '级联选择',
135 + tag: 'el-cascader',
136 + tagIcon: 'cascader',
137 + placeholder: '请选择',
138 + defaultValue: [],
139 + span: 24,
140 + labelWidth: null,
141 + style: { width: '100%' },
142 + props: {
143 + props: {
144 + multiple: false
145 + }
146 + },
147 + 'show-all-levels': true,
148 + disabled: false,
149 + clearable: true,
150 + filterable: false,
151 + required: true,
152 + options: [{
153 + id: 1,
154 + value: 1,
155 + label: '选项1',
156 + children: [{
157 + id: 2,
158 + value: 2,
159 + label: '选项1-1'
160 + }]
161 + }],
162 + dataType: 'dynamic',
163 + labelKey: 'label',
164 + valueKey: 'value',
165 + childrenKey: 'children',
166 + separator: '/',
167 + regList: [],
168 + changeTag: true,
169 + document: 'https://element.eleme.cn/#/zh-CN/component/cascader'
170 + },
171 + {
172 + label: '单选框组',
173 + tag: 'el-radio-group',
174 + tagIcon: 'radio',
175 + defaultValue: undefined,
176 + span: 24,
177 + labelWidth: null,
178 + style: {},
179 + optionType: 'default',
180 + border: false,
181 + size: 'medium',
182 + disabled: false,
183 + required: true,
184 + options: [{
185 + label: '选项一',
186 + value: 1
187 + }, {
188 + label: '选项二',
189 + value: 2
190 + }],
191 + regList: [],
192 + changeTag: true,
193 + document: 'https://element.eleme.cn/#/zh-CN/component/radio'
194 + },
195 + {
196 + label: '多选框组',
197 + tag: 'el-checkbox-group',
198 + tagIcon: 'checkbox',
199 + defaultValue: [],
200 + span: 24,
201 + labelWidth: null,
202 + style: {},
203 + optionType: 'default',
204 + border: false,
205 + size: 'medium',
206 + disabled: false,
207 + required: true,
208 + options: [{
209 + label: '选项一',
210 + value: 1
211 + }, {
212 + label: '选项二',
213 + value: 2
214 + }],
215 + regList: [],
216 + changeTag: true,
217 + document: 'https://element.eleme.cn/#/zh-CN/component/checkbox'
218 + },
219 + {
220 + label: '开关',
221 + tag: 'el-switch',
222 + tagIcon: 'switch',
223 + defaultValue: false,
224 + span: 24,
225 + labelWidth: null,
226 + style: {},
227 + disabled: false,
228 + required: true,
229 + 'active-text': '',
230 + 'inactive-text': '',
231 + 'active-color': null,
232 + 'inactive-color': null,
233 + 'active-value': true,
234 + 'inactive-value': false,
235 + regList: [],
236 + changeTag: true,
237 + document: 'https://element.eleme.cn/#/zh-CN/component/switch'
238 + },
239 + {
240 + label: '滑块',
241 + tag: 'el-slider',
242 + tagIcon: 'slider',
243 + defaultValue: null,
244 + span: 24,
245 + labelWidth: null,
246 + disabled: false,
247 + required: true,
248 + min: 0,
249 + max: 100,
250 + step: 1,
251 + 'show-stops': false,
252 + range: false,
253 + regList: [],
254 + changeTag: true,
255 + document: 'https://element.eleme.cn/#/zh-CN/component/slider'
256 + },
257 + {
258 + label: '时间选择',
259 + tag: 'el-time-picker',
260 + tagIcon: 'time',
261 + placeholder: '请选择',
262 + defaultValue: null,
263 + span: 24,
264 + labelWidth: null,
265 + style: { width: '100%' },
266 + disabled: false,
267 + clearable: true,
268 + required: true,
269 + 'picker-options': {
270 + selectableRange: '00:00:00-23:59:59'
271 + },
272 + format: 'HH:mm:ss',
273 + 'value-format': 'HH:mm:ss',
274 + regList: [],
275 + changeTag: true,
276 + document: 'https://element.eleme.cn/#/zh-CN/component/time-picker'
277 + },
278 + {
279 + label: '时间范围',
280 + tag: 'el-time-picker',
281 + tagIcon: 'time-range',
282 + defaultValue: null,
283 + span: 24,
284 + labelWidth: null,
285 + style: { width: '100%' },
286 + disabled: false,
287 + clearable: true,
288 + required: true,
289 + 'is-range': true,
290 + 'range-separator': '至',
291 + 'start-placeholder': '开始时间',
292 + 'end-placeholder': '结束时间',
293 + format: 'HH:mm:ss',
294 + 'value-format': 'HH:mm:ss',
295 + regList: [],
296 + changeTag: true,
297 + document: 'https://element.eleme.cn/#/zh-CN/component/time-picker'
298 + },
299 + {
300 + label: '日期选择',
301 + tag: 'el-date-picker',
302 + tagIcon: 'date',
303 + placeholder: '请选择',
304 + defaultValue: null,
305 + type: 'date',
306 + span: 24,
307 + labelWidth: null,
308 + style: { width: '100%' },
309 + disabled: false,
310 + clearable: true,
311 + required: true,
312 + format: 'yyyy-MM-dd',
313 + 'value-format': 'yyyy-MM-dd',
314 + readonly: false,
315 + regList: [],
316 + changeTag: true,
317 + document: 'https://element.eleme.cn/#/zh-CN/component/date-picker'
318 + },
319 + {
320 + label: '日期范围',
321 + tag: 'el-date-picker',
322 + tagIcon: 'date-range',
323 + defaultValue: null,
324 + span: 24,
325 + labelWidth: null,
326 + style: { width: '100%' },
327 + type: 'daterange',
328 + 'range-separator': '至',
329 + 'start-placeholder': '开始日期',
330 + 'end-placeholder': '结束日期',
331 + disabled: false,
332 + clearable: true,
333 + required: true,
334 + format: 'yyyy-MM-dd',
335 + 'value-format': 'yyyy-MM-dd',
336 + readonly: false,
337 + regList: [],
338 + changeTag: true,
339 + document: 'https://element.eleme.cn/#/zh-CN/component/date-picker'
340 + },
341 + {
342 + label: '评分',
343 + tag: 'el-rate',
344 + tagIcon: 'rate',
345 + defaultValue: 0,
346 + span: 24,
347 + labelWidth: null,
348 + style: {},
349 + max: 5,
350 + 'allow-half': false,
351 + 'show-text': false,
352 + 'show-score': false,
353 + disabled: false,
354 + required: true,
355 + regList: [],
356 + changeTag: true,
357 + document: 'https://element.eleme.cn/#/zh-CN/component/rate'
358 + },
359 + {
360 + label: '颜色选择',
361 + tag: 'el-color-picker',
362 + tagIcon: 'color',
363 + defaultValue: null,
364 + labelWidth: null,
365 + 'show-alpha': false,
366 + 'color-format': '',
367 + disabled: false,
368 + required: true,
369 + size: 'medium',
370 + regList: [],
371 + changeTag: true,
372 + document: 'https://element.eleme.cn/#/zh-CN/component/color-picker'
373 + },
374 + {
375 + label: '上传',
376 + tag: 'el-upload',
377 + tagIcon: 'upload',
378 + action: 'https://jsonplaceholder.typicode.com/posts/',
379 + defaultValue: null,
380 + labelWidth: null,
381 + disabled: false,
382 + required: true,
383 + accept: '',
384 + name: 'file',
385 + 'auto-upload': true,
386 + showTip: false,
387 + buttonText: '点击上传',
388 + fileSize: 2,
389 + sizeUnit: 'MB',
390 + 'list-type': 'text',
391 + multiple: false,
392 + regList: [],
393 + changeTag: true,
394 + document: 'https://element.eleme.cn/#/zh-CN/component/upload'
395 + }
396 +]
397 +
398 +export const layoutComponents = [
399 + {
400 + layout: 'rowFormItem',
401 + tagIcon: 'row',
402 + type: 'default',
403 + justify: 'start',
404 + align: 'top',
405 + label: '行容器',
406 + layoutTree: true,
407 + children: [],
408 + document: 'https://element.eleme.cn/#/zh-CN/component/layout'
409 + },
410 + {
411 + layout: 'colFormItem',
412 + label: '按钮',
413 + changeTag: true,
414 + labelWidth: null,
415 + tag: 'el-button',
416 + tagIcon: 'button',
417 + span: 24,
418 + default: '主要按钮',
419 + type: 'primary',
420 + icon: 'el-icon-search',
421 + size: 'medium',
422 + disabled: false,
423 + document: 'https://element.eleme.cn/#/zh-CN/component/button'
424 + }
425 +]
426 +
427 +// 组件rule的触发方式,无触发方式的组件不生成rule
428 +export const trigger = {
429 + 'el-input': 'blur',
430 + 'el-input-number': 'blur',
431 + 'el-select': 'change',
432 + 'el-radio-group': 'change',
433 + 'el-checkbox-group': 'change',
434 + 'el-cascader': 'change',
435 + 'el-time-picker': 'change',
436 + 'el-date-picker': 'change',
437 + 'el-rate': 'change'
438 +}
1 +const styles = {
2 + 'el-rate': '.el-rate{display: inline-block; vertical-align: text-top;}',
3 + 'el-upload': '.el-upload__tip{line-height: 1.2;}'
4 +}
5 +
6 +function addCss(cssList, el) {
7 + const css = styles[el.tag]
8 + css && cssList.indexOf(css) === -1 && cssList.push(css)
9 + if (el.children) {
10 + el.children.forEach(el2 => addCss(cssList, el2))
11 + }
12 +}
13 +
14 +export function makeUpCss(conf) {
15 + const cssList = []
16 + conf.fields.forEach(el => addCss(cssList, el))
17 + return cssList.join('\n')
18 +}
1 +export default [
2 + {
3 + layout: 'colFormItem',
4 + tagIcon: 'input',
5 + label: '手机号',
6 + vModel: 'mobile',
7 + formId: 6,
8 + tag: 'el-input',
9 + placeholder: '请输入手机号',
10 + defaultValue: '',
11 + span: 24,
12 + style: { width: '100%' },
13 + clearable: true,
14 + prepend: '',
15 + append: '',
16 + 'prefix-icon': 'el-icon-mobile',
17 + 'suffix-icon': '',
18 + maxlength: 11,
19 + 'show-word-limit': true,
20 + readonly: false,
21 + disabled: false,
22 + required: true,
23 + changeTag: true,
24 + regList: [{
25 + pattern: '/^1(3|4|5|7|8|9)\\d{9}$/',
26 + message: '手机号格式错误'
27 + }]
28 + }
29 +]
1 +/* eslint-disable max-len */
2 +import { trigger } from './config'
3 +
4 +let confGlobal
5 +let someSpanIsNot24
6 +
7 +export function dialogWrapper(str) {
8 + return `<el-dialog v-bind="$attrs" v-on="$listeners" @open="onOpen" @close="onClose" title="Dialog Titile">
9 + ${str}
10 + <div slot="footer">
11 + <el-button @click="close">取消</el-button>
12 + <el-button type="primary" @click="handelConfirm">确定</el-button>
13 + </div>
14 + </el-dialog>`
15 +}
16 +
17 +export function vueTemplate(str) {
18 + return `<template>
19 + <div>
20 + ${str}
21 + </div>
22 + </template>`
23 +}
24 +
25 +export function vueScript(str) {
26 + return `<script>
27 + ${str}
28 + </script>`
29 +}
30 +
31 +export function cssStyle(cssStr) {
32 + return `<style>
33 + ${cssStr}
34 + </style>`
35 +}
36 +
37 +function buildFormTemplate(conf, child, type) {
38 + let labelPosition = ''
39 + if (conf.labelPosition !== 'right') {
40 + labelPosition = `label-position="${conf.labelPosition}"`
41 + }
42 + const disabled = conf.disabled ? `:disabled="${conf.disabled}"` : ''
43 + let str = `<el-form ref="${conf.formRef}" :model="${conf.formModel}" :rules="${conf.formRules}" size="${conf.size}" ${disabled} label-width="${conf.labelWidth}px" ${labelPosition}>
44 + ${child}
45 + ${buildFromBtns(conf, type)}
46 + </el-form>`
47 + if (someSpanIsNot24) {
48 + str = `<el-row :gutter="${conf.gutter}">
49 + ${str}
50 + </el-row>`
51 + }
52 + return str
53 +}
54 +
55 +function buildFromBtns(conf, type) {
56 + let str = ''
57 + if (conf.formBtns && type === 'file') {
58 + str = `<el-form-item size="large">
59 + <el-button type="primary" @click="submitForm">提交</el-button>
60 + <el-button @click="resetForm">重置</el-button>
61 + </el-form-item>`
62 + if (someSpanIsNot24) {
63 + str = `<el-col :span="24">
64 + ${str}
65 + </el-col>`
66 + }
67 + }
68 + return str
69 +}
70 +
71 +// span不为24的用el-col包裹
72 +function colWrapper(element, str) {
73 + if (someSpanIsNot24 || element.span !== 24) {
74 + return `<el-col :span="${element.span}">
75 + ${str}
76 + </el-col>`
77 + }
78 + return str
79 +}
80 +
81 +const layouts = {
82 + colFormItem(element) {
83 + let labelWidth = ''
84 + if (element.labelWidth && element.labelWidth !== confGlobal.labelWidth) {
85 + labelWidth = `label-width="${element.labelWidth}px"`
86 + }
87 + const required = !trigger[element.tag] && element.required ? 'required' : ''
88 + const tagDom = tags[element.tag] ? tags[element.tag](element) : null
89 + let str = `<el-form-item ${labelWidth} label="${element.label}" prop="${element.vModel}" ${required}>
90 + ${tagDom}
91 + </el-form-item>`
92 + str = colWrapper(element, str)
93 + return str
94 + },
95 + rowFormItem(element) {
96 + const type = element.type === 'default' ? '' : `type="${element.type}"`
97 + const justify = element.type === 'default' ? '' : `justify="${element.justify}"`
98 + const align = element.type === 'default' ? '' : `align="${element.align}"`
99 + const gutter = element.gutter ? `gutter="${element.gutter}"` : ''
100 + const children = element.children.map(el => layouts[el.layout](el))
101 + let str = `<el-row ${type} ${justify} ${align} ${gutter}>
102 + ${children.join('\n')}
103 + </el-row>`
104 + str = colWrapper(element, str)
105 + return str
106 + }
107 +}
108 +
109 +const tags = {
110 + 'el-button': el => {
111 + const {
112 + tag, disabled
113 + } = attrBuilder(el)
114 + const type = el.type ? `type="${el.type}"` : ''
115 + const icon = el.icon ? `icon="${el.icon}"` : ''
116 + const size = el.size ? `size="${el.size}"` : ''
117 + let child = buildElButtonChild(el)
118 +
119 + if (child) child = `\n${child}\n` // 换行
120 + return `<${el.tag} ${type} ${icon} ${size} ${disabled}>${child}</${el.tag}>`
121 + },
122 + 'el-input': el => {
123 + const {
124 + disabled, vModel, clearable, placeholder, width
125 + } = attrBuilder(el)
126 + const maxlength = el.maxlength ? `:maxlength="${el.maxlength}"` : ''
127 + const showWordLimit = el['show-word-limit'] ? 'show-word-limit' : ''
128 + const readonly = el.readonly ? 'readonly' : ''
129 + const prefixIcon = el['prefix-icon'] ? `prefix-icon='${el['prefix-icon']}'` : ''
130 + const suffixIcon = el['suffix-icon'] ? `suffix-icon='${el['suffix-icon']}'` : ''
131 + const showPassword = el['show-password'] ? 'show-password' : ''
132 + const type = el.type ? `type="${el.type}"` : ''
133 + const autosize = el.autosize && el.autosize.minRows
134 + ? `:autosize="{minRows: ${el.autosize.minRows}, maxRows: ${el.autosize.maxRows}}"`
135 + : ''
136 + let child = buildElInputChild(el)
137 +
138 + if (child) child = `\n${child}\n` // 换行
139 + return `<${el.tag} ${vModel} ${type} ${placeholder} ${maxlength} ${showWordLimit} ${readonly} ${disabled} ${clearable} ${prefixIcon} ${suffixIcon} ${showPassword} ${autosize} ${width}>${child}</${el.tag}>`
140 + },
141 + 'el-input-number': el => {
142 + const { disabled, vModel, placeholder } = attrBuilder(el)
143 + const controlsPosition = el['controls-position'] ? `controls-position=${el['controls-position']}` : ''
144 + const min = el.min ? `:min='${el.min}'` : ''
145 + const max = el.max ? `:max='${el.max}'` : ''
146 + const step = el.step ? `:step='${el.step}'` : ''
147 + const stepStrictly = el['step-strictly'] ? 'step-strictly' : ''
148 + const precision = el.precision ? `:precision='${el.precision}'` : ''
149 +
150 + return `<${el.tag} ${vModel} ${placeholder} ${step} ${stepStrictly} ${precision} ${controlsPosition} ${min} ${max} ${disabled}></${el.tag}>`
151 + },
152 + 'el-select': el => {
153 + const {
154 + disabled, vModel, clearable, placeholder, width
155 + } = attrBuilder(el)
156 + const filterable = el.filterable ? 'filterable' : ''
157 + const multiple = el.multiple ? 'multiple' : ''
158 + let child = buildElSelectChild(el)
159 +
160 + if (child) child = `\n${child}\n` // 换行
161 + return `<${el.tag} ${vModel} ${placeholder} ${disabled} ${multiple} ${filterable} ${clearable} ${width}>${child}</${el.tag}>`
162 + },
163 + 'el-radio-group': el => {
164 + const { disabled, vModel } = attrBuilder(el)
165 + const size = `size="${el.size}"`
166 + let child = buildElRadioGroupChild(el)
167 +
168 + if (child) child = `\n${child}\n` // 换行
169 + return `<${el.tag} ${vModel} ${size} ${disabled}>${child}</${el.tag}>`
170 + },
171 + 'el-checkbox-group': el => {
172 + const { disabled, vModel } = attrBuilder(el)
173 + const size = `size="${el.size}"`
174 + const min = el.min ? `:min="${el.min}"` : ''
175 + const max = el.max ? `:max="${el.max}"` : ''
176 + let child = buildElCheckboxGroupChild(el)
177 +
178 + if (child) child = `\n${child}\n` // 换行
179 + return `<${el.tag} ${vModel} ${min} ${max} ${size} ${disabled}>${child}</${el.tag}>`
180 + },
181 + 'el-switch': el => {
182 + const { disabled, vModel } = attrBuilder(el)
183 + const activeText = el['active-text'] ? `active-text="${el['active-text']}"` : ''
184 + const inactiveText = el['inactive-text'] ? `inactive-text="${el['inactive-text']}"` : ''
185 + const activeColor = el['active-color'] ? `active-color="${el['active-color']}"` : ''
186 + const inactiveColor = el['inactive-color'] ? `inactive-color="${el['inactive-color']}"` : ''
187 + const activeValue = el['active-value'] !== true ? `:active-value='${JSON.stringify(el['active-value'])}'` : ''
188 + const inactiveValue = el['inactive-value'] !== false ? `:inactive-value='${JSON.stringify(el['inactive-value'])}'` : ''
189 +
190 + return `<${el.tag} ${vModel} ${activeText} ${inactiveText} ${activeColor} ${inactiveColor} ${activeValue} ${inactiveValue} ${disabled}></${el.tag}>`
191 + },
192 + 'el-cascader': el => {
193 + const {
194 + disabled, vModel, clearable, placeholder, width
195 + } = attrBuilder(el)
196 + const options = el.options ? `:options="${el.vModel}Options"` : ''
197 + const props = el.props ? `:props="${el.vModel}Props"` : ''
198 + const showAllLevels = el['show-all-levels'] ? '' : ':show-all-levels="false"'
199 + const filterable = el.filterable ? 'filterable' : ''
200 + const separator = el.separator === '/' ? '' : `separator="${el.separator}"`
201 +
202 + return `<${el.tag} ${vModel} ${options} ${props} ${width} ${showAllLevels} ${placeholder} ${separator} ${filterable} ${clearable} ${disabled}></${el.tag}>`
203 + },
204 + 'el-slider': el => {
205 + const { disabled, vModel } = attrBuilder(el)
206 + const min = el.min ? `:min='${el.min}'` : ''
207 + const max = el.max ? `:max='${el.max}'` : ''
208 + const step = el.step ? `:step='${el.step}'` : ''
209 + const range = el.range ? 'range' : ''
210 + const showStops = el['show-stops'] ? `:show-stops="${el['show-stops']}"` : ''
211 +
212 + return `<${el.tag} ${min} ${max} ${step} ${vModel} ${range} ${showStops} ${disabled}></${el.tag}>`
213 + },
214 + 'el-time-picker': el => {
215 + const {
216 + disabled, vModel, clearable, placeholder, width
217 + } = attrBuilder(el)
218 + const startPlaceholder = el['start-placeholder'] ? `start-placeholder="${el['start-placeholder']}"` : ''
219 + const endPlaceholder = el['end-placeholder'] ? `end-placeholder="${el['end-placeholder']}"` : ''
220 + const rangeSeparator = el['range-separator'] ? `range-separator="${el['range-separator']}"` : ''
221 + const isRange = el['is-range'] ? 'is-range' : ''
222 + const format = el.format ? `format="${el.format}"` : ''
223 + const valueFormat = el['value-format'] ? `value-format="${el['value-format']}"` : ''
224 + const pickerOptions = el['picker-options'] ? `:picker-options='${JSON.stringify(el['picker-options'])}'` : ''
225 +
226 + return `<${el.tag} ${vModel} ${isRange} ${format} ${valueFormat} ${pickerOptions} ${width} ${placeholder} ${startPlaceholder} ${endPlaceholder} ${rangeSeparator} ${clearable} ${disabled}></${el.tag}>`
227 + },
228 + 'el-date-picker': el => {
229 + const {
230 + disabled, vModel, clearable, placeholder, width
231 + } = attrBuilder(el)
232 + const startPlaceholder = el['start-placeholder'] ? `start-placeholder="${el['start-placeholder']}"` : ''
233 + const endPlaceholder = el['end-placeholder'] ? `end-placeholder="${el['end-placeholder']}"` : ''
234 + const rangeSeparator = el['range-separator'] ? `range-separator="${el['range-separator']}"` : ''
235 + const format = el.format ? `format="${el.format}"` : ''
236 + const valueFormat = el['value-format'] ? `value-format="${el['value-format']}"` : ''
237 + const type = el.type === 'date' ? '' : `type="${el.type}"`
238 + const readonly = el.readonly ? 'readonly' : ''
239 +
240 + return `<${el.tag} ${type} ${vModel} ${format} ${valueFormat} ${width} ${placeholder} ${startPlaceholder} ${endPlaceholder} ${rangeSeparator} ${clearable} ${readonly} ${disabled}></${el.tag}>`
241 + },
242 + 'el-rate': el => {
243 + const { disabled, vModel } = attrBuilder(el)
244 + const max = el.max ? `:max='${el.max}'` : ''
245 + const allowHalf = el['allow-half'] ? 'allow-half' : ''
246 + const showText = el['show-text'] ? 'show-text' : ''
247 + const showScore = el['show-score'] ? 'show-score' : ''
248 +
249 + return `<${el.tag} ${vModel} ${allowHalf} ${showText} ${showScore} ${disabled}></${el.tag}>`
250 + },
251 + 'el-color-picker': el => {
252 + const { disabled, vModel } = attrBuilder(el)
253 + const size = `size="${el.size}"`
254 + const showAlpha = el['show-alpha'] ? 'show-alpha' : ''
255 + const colorFormat = el['color-format'] ? `color-format="${el['color-format']}"` : ''
256 +
257 + return `<${el.tag} ${vModel} ${size} ${showAlpha} ${colorFormat} ${disabled}></${el.tag}>`
258 + },
259 + 'el-upload': el => {
260 + const disabled = el.disabled ? ':disabled=\'true\'' : ''
261 + const action = el.action ? `:action="${el.vModel}Action"` : ''
262 + const multiple = el.multiple ? 'multiple' : ''
263 + const listType = el['list-type'] !== 'text' ? `list-type="${el['list-type']}"` : ''
264 + const accept = el.accept ? `accept="${el.accept}"` : ''
265 + const name = el.name !== 'file' ? `name="${el.name}"` : ''
266 + const autoUpload = el['auto-upload'] === false ? ':auto-upload="false"' : ''
267 + const beforeUpload = `:before-upload="${el.vModel}BeforeUpload"`
268 + const fileList = `:file-list="${el.vModel}fileList"`
269 + const ref = `ref="${el.vModel}"`
270 + let child = buildElUploadChild(el)
271 +
272 + if (child) child = `\n${child}\n` // 换行
273 + return `<${el.tag} ${ref} ${fileList} ${action} ${autoUpload} ${multiple} ${beforeUpload} ${listType} ${accept} ${name} ${disabled}>${child}</${el.tag}>`
274 + }
275 +}
276 +
277 +function attrBuilder(el) {
278 + return {
279 + vModel: `v-model="${confGlobal.formModel}.${el.vModel}"`,
280 + clearable: el.clearable ? 'clearable' : '',
281 + placeholder: el.placeholder ? `placeholder="${el.placeholder}"` : '',
282 + width: el.style && el.style.width ? ':style="{width: \'100%\'}"' : '',
283 + disabled: el.disabled ? ':disabled=\'true\'' : ''
284 + }
285 +}
286 +
287 +// el-buttin 子级
288 +function buildElButtonChild(conf) {
289 + const children = []
290 + if (conf.default) {
291 + children.push(conf.default)
292 + }
293 + return children.join('\n')
294 +}
295 +
296 +// el-input innerHTML
297 +function buildElInputChild(conf) {
298 + const children = []
299 + if (conf.prepend) {
300 + children.push(`<template slot="prepend">${conf.prepend}</template>`)
301 + }
302 + if (conf.append) {
303 + children.push(`<template slot="append">${conf.append}</template>`)
304 + }
305 + return children.join('\n')
306 +}
307 +
308 +function buildElSelectChild(conf) {
309 + const children = []
310 + if (conf.options && conf.options.length) {
311 + children.push(`<el-option v-for="(item, index) in ${conf.vModel}Options" :key="index" :label="item.label" :value="item.value" :disabled="item.disabled"></el-option>`)
312 + }
313 + return children.join('\n')
314 +}
315 +
316 +function buildElRadioGroupChild(conf) {
317 + const children = []
318 + if (conf.options && conf.options.length) {
319 + const tag = conf.optionType === 'button' ? 'el-radio-button' : 'el-radio'
320 + const border = conf.border ? 'border' : ''
321 + children.push(`<${tag} v-for="(item, index) in ${conf.vModel}Options" :key="index" :label="item.value" :disabled="item.disabled" ${border}>{{item.label}}</${tag}>`)
322 + }
323 + return children.join('\n')
324 +}
325 +
326 +function buildElCheckboxGroupChild(conf) {
327 + const children = []
328 + if (conf.options && conf.options.length) {
329 + const tag = conf.optionType === 'button' ? 'el-checkbox-button' : 'el-checkbox'
330 + const border = conf.border ? 'border' : ''
331 + children.push(`<${tag} v-for="(item, index) in ${conf.vModel}Options" :key="index" :label="item.value" :disabled="item.disabled" ${border}>{{item.label}}</${tag}>`)
332 + }
333 + return children.join('\n')
334 +}
335 +
336 +function buildElUploadChild(conf) {
337 + const list = []
338 + if (conf['list-type'] === 'picture-card') list.push('<i class="el-icon-plus"></i>')
339 + else list.push(`<el-button size="small" type="primary" icon="el-icon-upload">${conf.buttonText}</el-button>`)
340 + if (conf.showTip) list.push(`<div slot="tip" class="el-upload__tip">只能上传不超过 ${conf.fileSize}${conf.sizeUnit}${conf.accept}文件</div>`)
341 + return list.join('\n')
342 +}
343 +
344 +export function makeUpHtml(conf, type) {
345 + const htmlList = []
346 + confGlobal = conf
347 + someSpanIsNot24 = conf.fields.some(item => item.span !== 24)
348 + conf.fields.forEach(el => {
349 + htmlList.push(layouts[el.layout](el))
350 + })
351 + const htmlStr = htmlList.join('\n')
352 +
353 + let temp = buildFormTemplate(conf, htmlStr, type)
354 + if (type === 'dialog') {
355 + temp = dialogWrapper(temp)
356 + }
357 + confGlobal = null
358 + return temp
359 +}
1 +["platform-eleme","eleme","delete-solid","delete","s-tools","setting","user-solid","user","phone","phone-outline","more","more-outline","star-on","star-off","s-goods","goods","warning","warning-outline","question","info","remove","circle-plus","success","error","zoom-in","zoom-out","remove-outline","circle-plus-outline","circle-check","circle-close","s-help","help","minus","plus","check","close","picture","picture-outline","picture-outline-round","upload","upload2","download","camera-solid","camera","video-camera-solid","video-camera","message-solid","bell","s-cooperation","s-order","s-platform","s-fold","s-unfold","s-operation","s-promotion","s-home","s-release","s-ticket","s-management","s-open","s-shop","s-marketing","s-flag","s-comment","s-finance","s-claim","s-custom","s-opportunity","s-data","s-check","s-grid","menu","share","d-caret","caret-left","caret-right","caret-bottom","caret-top","bottom-left","bottom-right","back","right","bottom","top","top-left","top-right","arrow-left","arrow-right","arrow-down","arrow-up","d-arrow-left","d-arrow-right","video-pause","video-play","refresh","refresh-right","refresh-left","finished","sort","sort-up","sort-down","rank","loading","view","c-scale-to-original","date","edit","edit-outline","folder","folder-opened","folder-add","folder-remove","folder-delete","folder-checked","tickets","document-remove","document-delete","document-copy","document-checked","document","document-add","printer","paperclip","takeaway-box","search","monitor","attract","mobile","scissors","umbrella","headset","brush","mouse","coordinate","magic-stick","reading","data-line","data-board","pie-chart","data-analysis","collection-tag","film","suitcase","suitcase-1","receiving","collection","files","notebook-1","notebook-2","toilet-paper","office-building","school","table-lamp","house","no-smoking","smoking","shopping-cart-full","shopping-cart-1","shopping-cart-2","shopping-bag-1","shopping-bag-2","sold-out","sell","present","box","bank-card","money","coin","wallet","discount","price-tag","news","guide","male","female","thumb","cpu","link","connection","open","turn-off","set-up","chat-round","chat-line-round","chat-square","chat-dot-round","chat-dot-square","chat-line-square","message","postcard","position","turn-off-microphone","microphone","close-notification","bangzhu","time","odometer","crop","aim","switch-button","full-screen","copy-document","mic","stopwatch","medal-1","medal","trophy","trophy-1","first-aid-kit","discover","place","location","location-outline","location-information","add-location","delete-location","map-location","alarm-clock","timer","watch-1","watch","lock","unlock","key","service","mobile-phone","bicycle","truck","ship","basketball","football","soccer","baseball","wind-power","light-rain","lightning","heavy-rain","sunrise","sunrise-1","sunset","sunny","cloudy","partly-cloudy","cloudy-and-sunny","moon","moon-night","dish","dish-1","food","chicken","fork-spoon","knife-fork","burger","tableware","sugar","dessert","ice-cream","hot-water","water-cup","coffee-cup","cold-drink","goblet","goblet-full","goblet-square","goblet-square-full","refrigerator","grape","watermelon","cherry","apple","pear","orange","coffee","ice-tea","ice-drink","milk-tea","potato-strips","lollipop","ice-cream-square","ice-cream-round"]
...\ No newline at end of file ...\ No newline at end of file
1 +import { isArray } from 'util'
2 +import { exportDefault, titleCase } from '@/utils/index'
3 +import { trigger } from './config'
4 +
5 +const units = {
6 + KB: '1024',
7 + MB: '1024 / 1024',
8 + GB: '1024 / 1024 / 1024'
9 +}
10 +let confGlobal
11 +const inheritAttrs = {
12 + file: '',
13 + dialog: 'inheritAttrs: false,'
14 +}
15 +
16 +
17 +export function makeUpJs(conf, type) {
18 + confGlobal = conf = JSON.parse(JSON.stringify(conf))
19 + const dataList = []
20 + const ruleList = []
21 + const optionsList = []
22 + const propsList = []
23 + const methodList = mixinMethod(type)
24 + const uploadVarList = []
25 +
26 + conf.fields.forEach(el => {
27 + buildAttributes(el, dataList, ruleList, optionsList, methodList, propsList, uploadVarList)
28 + })
29 +
30 + const script = buildexport(
31 + conf,
32 + type,
33 + dataList.join('\n'),
34 + ruleList.join('\n'),
35 + optionsList.join('\n'),
36 + uploadVarList.join('\n'),
37 + propsList.join('\n'),
38 + methodList.join('\n')
39 + )
40 + confGlobal = null
41 + return script
42 +}
43 +
44 +function buildAttributes(el, dataList, ruleList, optionsList, methodList, propsList, uploadVarList) {
45 + buildData(el, dataList)
46 + buildRules(el, ruleList)
47 +
48 + if (el.options && el.options.length) {
49 + buildOptions(el, optionsList)
50 + if (el.dataType === 'dynamic') {
51 + const model = `${el.vModel}Options`
52 + const options = titleCase(model)
53 + buildOptionMethod(`get${options}`, model, methodList)
54 + }
55 + }
56 +
57 + if (el.props && el.props.props) {
58 + buildProps(el, propsList)
59 + }
60 +
61 + if (el.action && el.tag === 'el-upload') {
62 + uploadVarList.push(
63 + `${el.vModel}Action: '${el.action}',
64 + ${el.vModel}fileList: [],`
65 + )
66 + methodList.push(buildBeforeUpload(el))
67 + if (!el['auto-upload']) {
68 + methodList.push(buildSubmitUpload(el))
69 + }
70 + }
71 +
72 + if (el.children) {
73 + el.children.forEach(el2 => {
74 + buildAttributes(el2, dataList, ruleList, optionsList, methodList, propsList, uploadVarList)
75 + })
76 + }
77 +}
78 +
79 +function mixinMethod(type) {
80 + const list = []; const
81 + minxins = {
82 + file: confGlobal.formBtns ? {
83 + submitForm: `submitForm() {
84 + this.$refs['${confGlobal.formRef}'].validate(valid => {
85 + if(!valid) return
86 + // TODO 提交表单
87 + })
88 + },`,
89 + resetForm: `resetForm() {
90 + this.$refs['${confGlobal.formRef}'].resetFields()
91 + },`
92 + } : null,
93 + dialog: {
94 + onOpen: 'onOpen() {},',
95 + onClose: `onClose() {
96 + this.$refs['${confGlobal.formRef}'].resetFields()
97 + },`,
98 + close: `close() {
99 + this.$emit('update:visible', false)
100 + },`,
101 + handelConfirm: `handelConfirm() {
102 + this.$refs['${confGlobal.formRef}'].validate(valid => {
103 + if(!valid) return
104 + this.close()
105 + })
106 + },`
107 + }
108 + }
109 +
110 + const methods = minxins[type]
111 + if (methods) {
112 + Object.keys(methods).forEach(key => {
113 + list.push(methods[key])
114 + })
115 + }
116 +
117 + return list
118 +}
119 +
120 +function buildData(conf, dataList) {
121 + if (conf.vModel === undefined) return
122 + let defaultValue
123 + if (typeof (conf.defaultValue) === 'string' && !conf.multiple) {
124 + defaultValue = `'${conf.defaultValue}'`
125 + } else {
126 + defaultValue = `${JSON.stringify(conf.defaultValue)}`
127 + }
128 + dataList.push(`${conf.vModel}: ${defaultValue},`)
129 +}
130 +
131 +function buildRules(conf, ruleList) {
132 + if (conf.vModel === undefined) return
133 + const rules = []
134 + if (trigger[conf.tag]) {
135 + if (conf.required) {
136 + const type = isArray(conf.defaultValue) ? 'type: \'array\',' : ''
137 + let message = isArray(conf.defaultValue) ? `请至少选择一个${conf.vModel}` : conf.placeholder
138 + if (message === undefined) message = `${conf.label}不能为空`
139 + rules.push(`{ required: true, ${type} message: '${message}', trigger: '${trigger[conf.tag]}' }`)
140 + }
141 + if (conf.regList && isArray(conf.regList)) {
142 + conf.regList.forEach(item => {
143 + if (item.pattern) {
144 + rules.push(`{ pattern: ${eval(item.pattern)}, message: '${item.message}', trigger: '${trigger[conf.tag]}' }`)
145 + }
146 + })
147 + }
148 + ruleList.push(`${conf.vModel}: [${rules.join(',')}],`)
149 + }
150 +}
151 +
152 +function buildOptions(conf, optionsList) {
153 + if (conf.vModel === undefined) return
154 + if (conf.dataType === 'dynamic') { conf.options = [] }
155 + const str = `${conf.vModel}Options: ${JSON.stringify(conf.options)},`
156 + optionsList.push(str)
157 +}
158 +
159 +function buildProps(conf, propsList) {
160 + if (conf.dataType === 'dynamic') {
161 + conf.valueKey !== 'value' && (conf.props.props.value = conf.valueKey)
162 + conf.labelKey !== 'label' && (conf.props.props.label = conf.labelKey)
163 + conf.childrenKey !== 'children' && (conf.props.props.children = conf.childrenKey)
164 + }
165 + const str = `${conf.vModel}Props: ${JSON.stringify(conf.props.props)},`
166 + propsList.push(str)
167 +}
168 +
169 +function buildBeforeUpload(conf) {
170 + const unitNum = units[conf.sizeUnit]; let rightSizeCode = ''; let acceptCode = ''; const
171 + returnList = []
172 + if (conf.fileSize) {
173 + rightSizeCode = `let isRightSize = file.size / ${unitNum} < ${conf.fileSize}
174 + if(!isRightSize){
175 + this.$message.error('文件大小超过 ${conf.fileSize}${conf.sizeUnit}')
176 + }`
177 + returnList.push('isRightSize')
178 + }
179 + if (conf.accept) {
180 + acceptCode = `let isAccept = new RegExp('${conf.accept}').test(file.type)
181 + if(!isAccept){
182 + this.$message.error('应该选择${conf.accept}类型的文件')
183 + }`
184 + returnList.push('isAccept')
185 + }
186 + const str = `${conf.vModel}BeforeUpload(file) {
187 + ${rightSizeCode}
188 + ${acceptCode}
189 + return ${returnList.join('&&')}
190 + },`
191 + return returnList.length ? str : ''
192 +}
193 +
194 +function buildSubmitUpload(conf) {
195 + const str = `submitUpload() {
196 + this.$refs['${conf.vModel}'].submit()
197 + },`
198 + return str
199 +}
200 +
201 +function buildOptionMethod(methodName, model, methodList) {
202 + const str = `${methodName}() {
203 + // TODO 发起请求获取数据
204 + this.${model}
205 + },`
206 + methodList.push(str)
207 +}
208 +
209 +function buildexport(conf, type, data, rules, selectOptions, uploadVar, props, methods) {
210 + const str = `${exportDefault}{
211 + ${inheritAttrs[type]}
212 + components: {},
213 + props: [],
214 + data () {
215 + return {
216 + ${conf.formModel}: {
217 + ${data}
218 + },
219 + ${conf.formRules}: {
220 + ${rules}
221 + },
222 + ${uploadVar}
223 + ${selectOptions}
224 + ${props}
225 + }
226 + },
227 + computed: {},
228 + watch: {},
229 + created () {},
230 + mounted () {},
231 + methods: {
232 + ${methods}
233 + }
234 +}`
235 + return str
236 +}
1 +import { makeMap } from '@/utils/index'
2 +
3 +// 参考https://github.com/vuejs/vue/blob/v2.6.10/src/platforms/web/server/util.js
4 +const isAttr = makeMap(
5 + 'accept,accept-charset,accesskey,action,align,alt,async,autocomplete,'
6 + + 'autofocus,autoplay,autosave,bgcolor,border,buffered,challenge,charset,'
7 + + 'checked,cite,class,code,codebase,color,cols,colspan,content,http-equiv,'
8 + + 'name,contenteditable,contextmenu,controls,coords,data,datetime,default,'
9 + + 'defer,dir,dirname,disabled,download,draggable,dropzone,enctype,method,for,'
10 + + 'form,formaction,headers,height,hidden,high,href,hreflang,http-equiv,'
11 + + 'icon,id,ismap,itemprop,keytype,kind,label,lang,language,list,loop,low,'
12 + + 'manifest,max,maxlength,media,method,GET,POST,min,multiple,email,file,'
13 + + 'muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,'
14 + + 'preload,radiogroup,readonly,rel,required,reversed,rows,rowspan,sandbox,'
15 + + 'scope,scoped,seamless,selected,shape,size,type,text,password,sizes,span,'
16 + + 'spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,'
17 + + 'target,title,type,usemap,value,width,wrap'
18 +)
19 +
20 +function vModel(self, dataObject, defaultValue) {
21 + dataObject.props.value = defaultValue
22 +
23 + dataObject.on.input = val => {
24 + self.$emit('input', val)
25 + }
26 +}
27 +
28 +const componentChild = {
29 + 'el-button': {
30 + default(h, conf, key) {
31 + return conf[key]
32 + },
33 + },
34 + 'el-input': {
35 + prepend(h, conf, key) {
36 + return <template slot="prepend">{conf[key]}</template>
37 + },
38 + append(h, conf, key) {
39 + return <template slot="append">{conf[key]}</template>
40 + }
41 + },
42 + 'el-select': {
43 + options(h, conf, key) {
44 + const list = []
45 + conf.options.forEach(item => {
46 + list.push(<el-option label={item.label} value={item.value} disabled={item.disabled}></el-option>)
47 + })
48 + return list
49 + }
50 + },
51 + 'el-radio-group': {
52 + options(h, conf, key) {
53 + const list = []
54 + conf.options.forEach(item => {
55 + if (conf.optionType === 'button') list.push(<el-radio-button label={item.value}>{item.label}</el-radio-button>)
56 + else list.push(<el-radio label={item.value} border={conf.border}>{item.label}</el-radio>)
57 + })
58 + return list
59 + }
60 + },
61 + 'el-checkbox-group': {
62 + options(h, conf, key) {
63 + const list = []
64 + conf.options.forEach(item => {
65 + if (conf.optionType === 'button') {
66 + list.push(<el-checkbox-button label={item.value}>{item.label}</el-checkbox-button>)
67 + } else {
68 + list.push(<el-checkbox label={item.value} border={conf.border}>{item.label}</el-checkbox>)
69 + }
70 + })
71 + return list
72 + }
73 + },
74 + 'el-upload': {
75 + 'list-type': (h, conf, key) => {
76 + const list = []
77 + if (conf['list-type'] === 'picture-card') {
78 + list.push(<i class="el-icon-plus"></i>)
79 + } else {
80 + list.push(<el-button size="small" type="primary" icon="el-icon-upload">{conf.buttonText}</el-button>)
81 + }
82 + if (conf.showTip) {
83 + list.push(<div slot="tip" class="el-upload__tip">只能上传不超过 {conf.fileSize}{conf.sizeUnit} {conf.accept}文件</div>)
84 + }
85 + return list
86 + }
87 + }
88 +}
89 +
90 +export default {
91 + render(h) {
92 + const dataObject = {
93 + attrs: {},
94 + props: {},
95 + on: {},
96 + style: {}
97 + }
98 + const confClone = JSON.parse(JSON.stringify(this.conf))
99 + const children = []
100 +
101 + const childObjs = componentChild[confClone.tag]
102 + if (childObjs) {
103 + Object.keys(childObjs).forEach(key => {
104 + const childFunc = childObjs[key]
105 + if (confClone[key]) {
106 + children.push(childFunc(h, confClone, key))
107 + }
108 + })
109 + }
110 +
111 + Object.keys(confClone).forEach(key => {
112 + const val = confClone[key]
113 + if (key === 'vModel') {
114 + vModel(this, dataObject, confClone.defaultValue)
115 + } else if (dataObject[key]) {
116 + dataObject[key] = val
117 + } else if (!isAttr(key)) {
118 + dataObject.props[key] = val
119 + } else {
120 + dataObject.attrs[key] = val
121 + }
122 + })
123 + return h(this.conf.tag, dataObject, children)
124 + },
125 + props: ['conf']
126 +}
1 +import { parseTime } from './ruoyi'
2 +
3 +/**
4 + * 表格时间格式化
5 + */
6 +export function formatDate(cellValue) {
7 + if (cellValue == null || cellValue == "") return "";
8 + var date = new Date(cellValue)
9 + var year = date.getFullYear()
10 + var month = date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1
11 + var day = date.getDate() < 10 ? '0' + date.getDate() : date.getDate()
12 + var hours = date.getHours() < 10 ? '0' + date.getHours() : date.getHours()
13 + var minutes = date.getMinutes() < 10 ? '0' + date.getMinutes() : date.getMinutes()
14 + var seconds = date.getSeconds() < 10 ? '0' + date.getSeconds() : date.getSeconds()
15 + return year + '-' + month + '-' + day + ' ' + hours + ':' + minutes + ':' + seconds
16 +}
17 +
18 +/**
19 + * @param {number} time
20 + * @param {string} option
21 + * @returns {string}
22 + */
23 +export function formatTime(time, option) {
24 + if (('' + time).length === 10) {
25 + time = parseInt(time) * 1000
26 + } else {
27 + time = +time
28 + }
29 + const d = new Date(time)
30 + const now = Date.now()
31 +
32 + const diff = (now - d) / 1000
33 +
34 + if (diff < 30) {
35 + return '刚刚'
36 + } else if (diff < 3600) {
37 + // less 1 hour
38 + return Math.ceil(diff / 60) + '分钟前'
39 + } else if (diff < 3600 * 24) {
40 + return Math.ceil(diff / 3600) + '小时前'
41 + } else if (diff < 3600 * 24 * 2) {
42 + return '1天前'
43 + }
44 + if (option) {
45 + return parseTime(time, option)
46 + } else {
47 + return (
48 + d.getMonth() +
49 + 1 +
50 + '月' +
51 + d.getDate() +
52 + '日' +
53 + d.getHours() +
54 + '时' +
55 + d.getMinutes() +
56 + '分'
57 + )
58 + }
59 +}
60 +
61 +/**
62 + * @param {string} url
63 + * @returns {Object}
64 + */
65 +export function getQueryObject(url) {
66 + url = url == null ? window.location.href : url
67 + const search = url.substring(url.lastIndexOf('?') + 1)
68 + const obj = {}
69 + const reg = /([^?&=]+)=([^?&=]*)/g
70 + search.replace(reg, (rs, $1, $2) => {
71 + const name = decodeURIComponent($1)
72 + let val = decodeURIComponent($2)
73 + val = String(val)
74 + obj[name] = val
75 + return rs
76 + })
77 + return obj
78 +}
79 +
80 +/**
81 + * @param {string} input value
82 + * @returns {number} output value
83 + */
84 +export function byteLength(str) {
85 + // returns the byte length of an utf8 string
86 + let s = str.length
87 + for (var i = str.length - 1; i >= 0; i--) {
88 + const code = str.charCodeAt(i)
89 + if (code > 0x7f && code <= 0x7ff) s++
90 + else if (code > 0x7ff && code <= 0xffff) s += 2
91 + if (code >= 0xDC00 && code <= 0xDFFF) i--
92 + }
93 + return s
94 +}
95 +
96 +/**
97 + * @param {Array} actual
98 + * @returns {Array}
99 + */
100 +export function cleanArray(actual) {
101 + const newArray = []
102 + for (let i = 0; i < actual.length; i++) {
103 + if (actual[i]) {
104 + newArray.push(actual[i])
105 + }
106 + }
107 + return newArray
108 +}
109 +
110 +/**
111 + * @param {Object} json
112 + * @returns {Array}
113 + */
114 +export function param(json) {
115 + if (!json) return ''
116 + return cleanArray(
117 + Object.keys(json).map(key => {
118 + if (json[key] === undefined) return ''
119 + return encodeURIComponent(key) + '=' + encodeURIComponent(json[key])
120 + })
121 + ).join('&')
122 +}
123 +
124 +/**
125 + * @param {string} url
126 + * @returns {Object}
127 + */
128 +export function param2Obj(url) {
129 + const search = decodeURIComponent(url.split('?')[1]).replace(/\+/g, ' ')
130 + if (!search) {
131 + return {}
132 + }
133 + const obj = {}
134 + const searchArr = search.split('&')
135 + searchArr.forEach(v => {
136 + const index = v.indexOf('=')
137 + if (index !== -1) {
138 + const name = v.substring(0, index)
139 + const val = v.substring(index + 1, v.length)
140 + obj[name] = val
141 + }
142 + })
143 + return obj
144 +}
145 +
146 +/**
147 + * @param {string} val
148 + * @returns {string}
149 + */
150 +export function html2Text(val) {
151 + const div = document.createElement('div')
152 + div.innerHTML = val
153 + return div.textContent || div.innerText
154 +}
155 +
156 +/**
157 + * Merges two objects, giving the last one precedence
158 + * @param {Object} target
159 + * @param {(Object|Array)} source
160 + * @returns {Object}
161 + */
162 +export function objectMerge(target, source) {
163 + if (typeof target !== 'object') {
164 + target = {}
165 + }
166 + if (Array.isArray(source)) {
167 + return source.slice()
168 + }
169 + Object.keys(source).forEach(property => {
170 + const sourceProperty = source[property]
171 + if (typeof sourceProperty === 'object') {
172 + target[property] = objectMerge(target[property], sourceProperty)
173 + } else {
174 + target[property] = sourceProperty
175 + }
176 + })
177 + return target
178 +}
179 +
180 +/**
181 + * @param {HTMLElement} element
182 + * @param {string} className
183 + */
184 +export function toggleClass(element, className) {
185 + if (!element || !className) {
186 + return
187 + }
188 + let classString = element.className
189 + const nameIndex = classString.indexOf(className)
190 + if (nameIndex === -1) {
191 + classString += '' + className
192 + } else {
193 + classString =
194 + classString.substr(0, nameIndex) +
195 + classString.substr(nameIndex + className.length)
196 + }
197 + element.className = classString
198 +}
199 +
200 +/**
201 + * @param {string} type
202 + * @returns {Date}
203 + */
204 +export function getTime(type) {
205 + if (type === 'start') {
206 + return new Date().getTime() - 3600 * 1000 * 24 * 90
207 + } else {
208 + return new Date(new Date().toDateString())
209 + }
210 +}
211 +
212 +/**
213 + * @param {Function} func
214 + * @param {number} wait
215 + * @param {boolean} immediate
216 + * @return {*}
217 + */
218 +export function debounce(func, wait, immediate) {
219 + let timeout, args, context, timestamp, result
220 +
221 + const later = function() {
222 + // 据上一次触发时间间隔
223 + const last = +new Date() - timestamp
224 +
225 + // 上次被包装函数被调用时间间隔 last 小于设定时间间隔 wait
226 + if (last < wait && last > 0) {
227 + timeout = setTimeout(later, wait - last)
228 + } else {
229 + timeout = null
230 + // 如果设定为immediate===true,因为开始边界已经调用过了此处无需调用
231 + if (!immediate) {
232 + result = func.apply(context, args)
233 + if (!timeout) context = args = null
234 + }
235 + }
236 + }
237 +
238 + return function(...args) {
239 + context = this
240 + timestamp = +new Date()
241 + const callNow = immediate && !timeout
242 + // 如果延时不存在,重新设定延时
243 + if (!timeout) timeout = setTimeout(later, wait)
244 + if (callNow) {
245 + result = func.apply(context, args)
246 + context = args = null
247 + }
248 +
249 + return result
250 + }
251 +}
252 +
253 +/**
254 + * This is just a simple version of deep copy
255 + * Has a lot of edge cases bug
256 + * If you want to use a perfect deep copy, use lodash's _.cloneDeep
257 + * @param {Object} source
258 + * @returns {Object}
259 + */
260 +export function deepClone(source) {
261 + if (!source && typeof source !== 'object') {
262 + throw new Error('error arguments', 'deepClone')
263 + }
264 + const targetObj = source.constructor === Array ? [] : {}
265 + Object.keys(source).forEach(keys => {
266 + if (source[keys] && typeof source[keys] === 'object') {
267 + targetObj[keys] = deepClone(source[keys])
268 + } else {
269 + targetObj[keys] = source[keys]
270 + }
271 + })
272 + return targetObj
273 +}
274 +
275 +/**
276 + * @param {Array} arr
277 + * @returns {Array}
278 + */
279 +export function uniqueArr(arr) {
280 + return Array.from(new Set(arr))
281 +}
282 +
283 +/**
284 + * @returns {string}
285 + */
286 +export function createUniqueString() {
287 + const timestamp = +new Date() + ''
288 + const randomNum = parseInt((1 + Math.random()) * 65536) + ''
289 + return (+(randomNum + timestamp)).toString(32)
290 +}
291 +
292 +/**
293 + * Check if an element has a class
294 + * @param {HTMLElement} elm
295 + * @param {string} cls
296 + * @returns {boolean}
297 + */
298 +export function hasClass(ele, cls) {
299 + return !!ele.className.match(new RegExp('(\\s|^)' + cls + '(\\s|$)'))
300 +}
301 +
302 +/**
303 + * Add class to element
304 + * @param {HTMLElement} elm
305 + * @param {string} cls
306 + */
307 +export function addClass(ele, cls) {
308 + if (!hasClass(ele, cls)) ele.className += ' ' + cls
309 +}
310 +
311 +/**
312 + * Remove class from element
313 + * @param {HTMLElement} elm
314 + * @param {string} cls
315 + */
316 +export function removeClass(ele, cls) {
317 + if (hasClass(ele, cls)) {
318 + const reg = new RegExp('(\\s|^)' + cls + '(\\s|$)')
319 + ele.className = ele.className.replace(reg, ' ')
320 + }
321 +}
322 +
323 +export function makeMap(str, expectsLowerCase) {
324 + const map = Object.create(null)
325 + const list = str.split(',')
326 + for (let i = 0; i < list.length; i++) {
327 + map[list[i]] = true
328 + }
329 + return expectsLowerCase
330 + ? val => map[val.toLowerCase()]
331 + : val => map[val]
332 +}
333 +
334 +export const exportDefault = 'export default '
335 +
336 +export const beautifierConf = {
337 + html: {
338 + indent_size: '2',
339 + indent_char: ' ',
340 + max_preserve_newlines: '-1',
341 + preserve_newlines: false,
342 + keep_array_indentation: false,
343 + break_chained_methods: false,
344 + indent_scripts: 'separate',
345 + brace_style: 'end-expand',
346 + space_before_conditional: true,
347 + unescape_strings: false,
348 + jslint_happy: false,
349 + end_with_newline: true,
350 + wrap_line_length: '110',
351 + indent_inner_html: true,
352 + comma_first: false,
353 + e4x: true,
354 + indent_empty_lines: true
355 + },
356 + js: {
357 + indent_size: '2',
358 + indent_char: ' ',
359 + max_preserve_newlines: '-1',
360 + preserve_newlines: false,
361 + keep_array_indentation: false,
362 + break_chained_methods: false,
363 + indent_scripts: 'normal',
364 + brace_style: 'end-expand',
365 + space_before_conditional: true,
366 + unescape_strings: false,
367 + jslint_happy: true,
368 + end_with_newline: true,
369 + wrap_line_length: '110',
370 + indent_inner_html: true,
371 + comma_first: false,
372 + e4x: true,
373 + indent_empty_lines: true
374 + }
375 +}
376 +
377 +// 首字母大小
378 +export function titleCase(str) {
379 + return str.replace(/( |^)[a-z]/g, L => L.toUpperCase())
380 +}
381 +
382 +// 下划转驼峰
383 +export function camelCase(str) {
384 + return str.replace(/-[a-z]/g, str1 => str1.substr(-1).toUpperCase())
385 +}
386 +
387 +export function isNumberStr(str) {
388 + return /^[+-]?(0|([1-9]\d*))(\.\d+)?$/g.test(str)
389 +}
390 +
1 +// import JSEncrypt from 'jsencrypt/bin/jsencrypt.min'
2 +//
3 +// // 密钥对生成 http://web.chacuo.net/netrsakeypair
4 +//
5 +// const publicKey = 'MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAKoR8mX0rGKLqzcWmOzbfj64K8ZIgOdH\n' +
6 +// 'nzkXSOVOZbFu/TJhZ7rFAN+eaGkl3C4buccQd/EjEsj9ir7ijT7h96MCAwEAAQ=='
7 +//
8 +// const privateKey = 'MIIBVAIBADANBgkqhkiG9w0BAQEFAASCAT4wggE6AgEAAkEAqhHyZfSsYourNxaY\n' +
9 +// '7Nt+PrgrxkiA50efORdI5U5lsW79MmFnusUA355oaSXcLhu5xxB38SMSyP2KvuKN\n' +
10 +// 'PuH3owIDAQABAkAfoiLyL+Z4lf4Myxk6xUDgLaWGximj20CUf+5BKKnlrK+Ed8gA\n' +
11 +// 'kM0HqoTt2UZwA5E2MzS4EI2gjfQhz5X28uqxAiEA3wNFxfrCZlSZHb0gn2zDpWow\n' +
12 +// 'cSxQAgiCstxGUoOqlW8CIQDDOerGKH5OmCJ4Z21v+F25WaHYPxCFMvwxpcw99Ecv\n' +
13 +// 'DQIgIdhDTIqD2jfYjPTY8Jj3EDGPbH2HHuffvflECt3Ek60CIQCFRlCkHpi7hthh\n' +
14 +// 'YhovyloRYsM+IS9h/0BzlEAuO0ktMQIgSPT3aFAgJYwKpqRYKlLDVcflZFCKY7u3\n' +
15 +// 'UP8iWi1Qw0Y='
16 +//
17 +// // 加密
18 +// export function encrypt(txt) {
19 +// const encryptor = new JSEncrypt()
20 +// encryptor.setPublicKey(publicKey) // 设置公钥
21 +// return encryptor.encrypt(txt) // 对数据进行加密
22 +// }
23 +//
24 +// // 解密
25 +// export function decrypt(txt) {
26 +// const encryptor = new JSEncrypt()
27 +// encryptor.setPrivateKey(privateKey) // 设置私钥
28 +// return encryptor.decrypt(txt) // 对数据进行解密
29 +// }
30 +//
1 +import store from '@/store'
2 +
3 +/**
4 + * 字符权限校验
5 + * @param {Array} value 校验值
6 + * @returns {Boolean}
7 + */
8 +export function checkPermi(value) {
9 + if (value && value instanceof Array && value.length > 0) {
10 + const permissions = store.getters && store.getters.permissions
11 + const permissionDatas = value
12 + const all_permission = "*:*:*";
13 +
14 + const hasPermission = permissions.some(permission => {
15 + return all_permission === permission || permissionDatas.includes(permission)
16 + })
17 +
18 + if (!hasPermission) {
19 + return false
20 + }
21 + return true
22 + } else {
23 + console.error(`need roles! Like checkPermi="['system:user:add','system:user:edit']"`)
24 + return false
25 + }
26 +}
27 +
28 +/**
29 + * 角色权限校验
30 + * @param {Array} value 校验值
31 + * @returns {Boolean}
32 + */
33 +export function checkRole(value) {
34 + if (value && value instanceof Array && value.length > 0) {
35 + const roles = store.getters && store.getters.roles
36 + const permissionRoles = value
37 + const super_admin = "admin";
38 +
39 + const hasRole = roles.some(role => {
40 + return super_admin === role || permissionRoles.includes(role)
41 + })
42 +
43 + if (!hasRole) {
44 + return false
45 + }
46 + return true
47 + } else {
48 + console.error(`need roles! Like checkRole="['admin','editor']"`)
49 + return false
50 + }
51 +}
...\ No newline at end of file ...\ No newline at end of file
1 +import axios from 'axios'
2 +import { Notification, MessageBox, Message } from 'element-ui'
3 +import store from '@/store'
4 +import { getToken } from '@/utils/auth'
5 +import errorCode from '@/utils/errorCode'
6 +
7 +axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8'
8 +// 创建axios实例
9 +const service = axios.create({
10 + // axios中请求配置有baseURL选项,表示请求URL公共部分
11 + baseURL: process.env.VUE_APP_BASE_API,
12 + // 超时
13 + timeout: 10000
14 +})
15 +// request拦截器
16 +service.interceptors.request.use(config => {
17 + // 是否需要设置 token
18 + const isToken = (config.headers || {}).isToken === false
19 + if (getToken() && !isToken) {
20 + config.headers['Authorization'] = 'Bearer ' + getToken() // 让每个请求携带自定义token 请根据实际情况自行修改
21 + }
22 + // get请求映射params参数
23 + if (config.method === 'get' && config.params) {
24 + let url = config.url + '?';
25 + for (const propName of Object.keys(config.params)) {
26 + const value = config.params[propName];
27 + var part = encodeURIComponent(propName) + "=";
28 + if (value !== null && typeof(value) !== "undefined") {
29 + if (typeof value === 'object') {
30 + for (const key of Object.keys(value)) {
31 + let params = propName + '[' + key + ']';
32 + var subPart = encodeURIComponent(params) + "=";
33 + url += subPart + encodeURIComponent(value[key]) + "&";
34 + }
35 + } else {
36 + url += part + encodeURIComponent(value) + "&";
37 + }
38 + }
39 + }
40 + url = url.slice(0, -1);
41 + config.params = {};
42 + config.url = url;
43 + }
44 + return config
45 +}, error => {
46 + console.log(error)
47 + Promise.reject(error)
48 +})
49 +
50 +// 响应拦截器
51 +service.interceptors.response.use(res => {
52 + // 未设置状态码则默认成功状态
53 + const code = res.data.code || 200;
54 + // 获取错误信息
55 + const msg = errorCode[code] || res.data.msg || errorCode['default']
56 + if (code === 401) {
57 + MessageBox.confirm('登录状态已过期,您可以继续留在该页面,或者重新登录', '系统提示', {
58 + confirmButtonText: '重新登录',
59 + cancelButtonText: '取消',
60 + type: 'warning'
61 + }
62 + ).then(() => {
63 + store.dispatch('LogOut').then(() => {
64 + location.href = '/index';
65 + })
66 + })
67 + } else if (code === 500) {
68 + Message({
69 + message: msg,
70 + type: 'error'
71 + })
72 + return Promise.reject(new Error(msg))
73 + } else if (code !== 200) {
74 + Notification.error({
75 + title: msg
76 + })
77 + return Promise.reject('error')
78 + } else {
79 + return res.data
80 + }
81 + },
82 + error => {
83 + console.log('err' + error)
84 + let { message } = error;
85 + if (message == "Network Error") {
86 + message = "后端接口连接异常";
87 + }
88 + else if (message.includes("timeout")) {
89 + message = "系统接口请求超时";
90 + }
91 + else if (message.includes("Request failed with status code")) {
92 + message = "系统接口" + message.substr(message.length - 3) + "异常";
93 + }
94 + Message({
95 + message: message,
96 + type: 'error',
97 + duration: 5 * 1000
98 + })
99 + return Promise.reject(error)
100 + }
101 +)
102 +
103 +export default service
1 +/**
2 + * 通用js方法封装处理
3 + * Copyright (c) 2019 ruoyi
4 + */
5 +
6 +const baseURL = process.env.VUE_APP_BASE_API
7 +
8 +// 日期格式化
9 +export function parseTime(time, pattern) {
10 + if (arguments.length === 0 || !time) {
11 + return null
12 + }
13 + const format = pattern || '{y}-{m}-{d} {h}:{i}:{s}'
14 + let date
15 + if (typeof time === 'object') {
16 + date = time
17 + } else {
18 + if ((typeof time === 'string') && (/^[0-9]+$/.test(time))) {
19 + time = parseInt(time)
20 + } else if (typeof time === 'string') {
21 + time = time.replace(new RegExp(/-/gm), '/');
22 + }
23 + if ((typeof time === 'number') && (time.toString().length === 10)) {
24 + time = time * 1000
25 + }
26 + date = new Date(time)
27 + }
28 + const formatObj = {
29 + y: date.getFullYear(),
30 + m: date.getMonth() + 1,
31 + d: date.getDate(),
32 + h: date.getHours(),
33 + i: date.getMinutes(),
34 + s: date.getSeconds(),
35 + a: date.getDay()
36 + }
37 + const time_str = format.replace(/{(y|m|d|h|i|s|a)+}/g, (result, key) => {
38 + let value = formatObj[key]
39 + // Note: getDay() returns 0 on Sunday
40 + if (key === 'a') { return ['日', '一', '二', '三', '四', '五', '六'][value] }
41 + if (result.length > 0 && value < 10) {
42 + value = '0' + value
43 + }
44 + return value || 0
45 + })
46 + return time_str
47 +}
48 +
49 +// 表单重置
50 +export function resetForm(refName) {
51 + if (this.$refs[refName]) {
52 + this.$refs[refName].resetFields();
53 + }
54 +}
55 +
56 +// 添加日期范围
57 +export function addDateRange(params, dateRange, propName) {
58 + var search = params;
59 + search.params = {};
60 + if (null != dateRange && '' != dateRange) {
61 + if (typeof (propName) === "undefined") {
62 + search.params["beginTime"] = dateRange[0];
63 + search.params["endTime"] = dateRange[1];
64 + } else {
65 + search.params["begin" + propName] = dateRange[0];
66 + search.params["end" + propName] = dateRange[1];
67 + }
68 + }
69 + return search;
70 +}
71 +
72 +// 回显数据字典
73 +export function selectDictLabel(datas, value) {
74 + var actions = [];
75 + Object.keys(datas).some((key) => {
76 + if (datas[key].dictValue == ('' + value)) {
77 + actions.push(datas[key].dictLabel);
78 + return true;
79 + }
80 + })
81 + return actions.join('');
82 +}
83 +
84 +// 回显数据字典(字符串数组)
85 +export function selectDictLabels(datas, value, separator) {
86 + var actions = [];
87 + var currentSeparator = undefined === separator ? "," : separator;
88 + var temp = value.split(currentSeparator);
89 + Object.keys(value.split(currentSeparator)).some((val) => {
90 + Object.keys(datas).some((key) => {
91 + if (datas[key].dictValue == ('' + temp[val])) {
92 + actions.push(datas[key].dictLabel + currentSeparator);
93 + }
94 + })
95 + })
96 + return actions.join('').substring(0, actions.join('').length - 1);
97 +}
98 +
99 +// 通用下载方法
100 +export function download(fileName) {
101 + window.location.href = baseURL + "/common/download?fileName=" + encodeURI(fileName) + "&delete=" + true;
102 +}
103 +
104 +// 字符串格式化(%s )
105 +export function sprintf(str) {
106 + var args = arguments, flag = true, i = 1;
107 + str = str.replace(/%s/g, function () {
108 + var arg = args[i++];
109 + if (typeof arg === 'undefined') {
110 + flag = false;
111 + return '';
112 + }
113 + return arg;
114 + });
115 + return flag ? str : '';
116 +}
117 +
118 +// 转换字符串,undefined,null等转化为""
119 +export function praseStrEmpty(str) {
120 + if (!str || str == "undefined" || str == "null") {
121 + return "";
122 + }
123 + return str;
124 +}
125 +
126 +/**
127 + * 构造树型结构数据
128 + * @param {*} data 数据源
129 + * @param {*} id id字段 默认 'id'
130 + * @param {*} parentId 父节点字段 默认 'parentId'
131 + * @param {*} children 孩子节点字段 默认 'children'
132 + */
133 +export function handleTree(data, id, parentId, children) {
134 + let config = {
135 + id: id || 'id',
136 + parentId: parentId || 'parentId',
137 + childrenList: children || 'children'
138 + };
139 +
140 + var childrenListMap = {};
141 + var nodeIds = {};
142 + var tree = [];
143 +
144 + for (let d of data) {
145 + let parentId = d[config.parentId];
146 + if (childrenListMap[parentId] == null) {
147 + childrenListMap[parentId] = [];
148 + }
149 + nodeIds[d[config.id]] = d;
150 + childrenListMap[parentId].push(d);
151 + }
152 +
153 + for (let d of data) {
154 + let parentId = d[config.parentId];
155 + if (nodeIds[parentId] == null) {
156 + tree.push(d);
157 + }
158 + }
159 +
160 + for (let t of tree) {
161 + adaptToChildrenList(t);
162 + }
163 +
164 + function adaptToChildrenList(o) {
165 + if (childrenListMap[o[config.id]] !== null) {
166 + o[config.childrenList] = childrenListMap[o[config.id]];
167 + }
168 + if (o[config.childrenList]) {
169 + for (let c of o[config.childrenList]) {
170 + adaptToChildrenList(c);
171 + }
172 + }
173 + }
174 + return tree;
175 +}
1 +Math.easeInOutQuad = function(t, b, c, d) {
2 + t /= d / 2
3 + if (t < 1) {
4 + return c / 2 * t * t + b
5 + }
6 + t--
7 + return -c / 2 * (t * (t - 2) - 1) + b
8 +}
9 +
10 +// requestAnimationFrame for Smart Animating http://goo.gl/sx5sts
11 +var requestAnimFrame = (function() {
12 + return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || function(callback) { window.setTimeout(callback, 1000 / 60) }
13 +})()
14 +
15 +/**
16 + * Because it's so fucking difficult to detect the scrolling element, just move them all
17 + * @param {number} amount
18 + */
19 +function move(amount) {
20 + document.documentElement.scrollTop = amount
21 + document.body.parentNode.scrollTop = amount
22 + document.body.scrollTop = amount
23 +}
24 +
25 +function position() {
26 + return document.documentElement.scrollTop || document.body.parentNode.scrollTop || document.body.scrollTop
27 +}
28 +
29 +/**
30 + * @param {number} to
31 + * @param {number} duration
32 + * @param {Function} callback
33 + */
34 +export function scrollTo(to, duration, callback) {
35 + const start = position()
36 + const change = to - start
37 + const increment = 20
38 + let currentTime = 0
39 + duration = (typeof (duration) === 'undefined') ? 500 : duration
40 + var animateScroll = function() {
41 + // increment the time
42 + currentTime += increment
43 + // find the value with the quadratic in-out easing function
44 + var val = Math.easeInOutQuad(currentTime, start, change, duration)
45 + // move the document.body
46 + move(val)
47 + // do the animation unless its over
48 + if (currentTime < duration) {
49 + requestAnimFrame(animateScroll)
50 + } else {
51 + if (callback && typeof (callback) === 'function') {
52 + // the animation is done so lets callback
53 + callback()
54 + }
55 + }
56 + }
57 + animateScroll()
58 +}
1 +/**
2 + * @param {string} path
3 + * @returns {Boolean}
4 + */
5 +export function isExternal(path) {
6 + return /^(https?:|mailto:|tel:)/.test(path)
7 +}
8 +
9 +/**
10 + * @param {string} str
11 + * @returns {Boolean}
12 + */
13 +export function validUsername(str) {
14 + const valid_map = ['admin', 'editor']
15 + return valid_map.indexOf(str.trim()) >= 0
16 +}
17 +
18 +/**
19 + * @param {string} url
20 + * @returns {Boolean}
21 + */
22 +export function validURL(url) {
23 + const reg = /^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/
24 + return reg.test(url)
25 +}
26 +
27 +/**
28 + * @param {string} str
29 + * @returns {Boolean}
30 + */
31 +export function validLowerCase(str) {
32 + const reg = /^[a-z]+$/
33 + return reg.test(str)
34 +}
35 +
36 +/**
37 + * @param {string} str
38 + * @returns {Boolean}
39 + */
40 +export function validUpperCase(str) {
41 + const reg = /^[A-Z]+$/
42 + return reg.test(str)
43 +}
44 +
45 +/**
46 + * @param {string} str
47 + * @returns {Boolean}
48 + */
49 +export function validAlphabets(str) {
50 + const reg = /^[A-Za-z]+$/
51 + return reg.test(str)
52 +}
53 +
54 +/**
55 + * @param {string} email
56 + * @returns {Boolean}
57 + */
58 +export function validEmail(email) {
59 + const reg = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/
60 + return reg.test(email)
61 +}
62 +
63 +/**
64 + * @param {string} str
65 + * @returns {Boolean}
66 + */
67 +export function isString(str) {
68 + if (typeof str === 'string' || str instanceof String) {
69 + return true
70 + }
71 + return false
72 +}
73 +
74 +/**
75 + * @param {Array} arg
76 + * @returns {Boolean}
77 + */
78 +export function isArray(arg) {
79 + if (typeof Array.isArray === 'undefined') {
80 + return Object.prototype.toString.call(arg) === '[object Array]'
81 + }
82 + return Array.isArray(arg)
83 +}
1 +import axios from 'axios'
2 +import { getToken } from '@/utils/auth'
3 +
4 +const mimeMap = {
5 + xlsx: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
6 + zip: 'application/zip'
7 +}
8 +
9 +const baseUrl = process.env.VUE_APP_BASE_API
10 +export function downLoadZip(str, filename) {
11 + var url = baseUrl + str
12 + axios({
13 + method: 'get',
14 + url: url,
15 + responseType: 'blob',
16 + headers: { 'Authorization': 'Bearer ' + getToken() }
17 + }).then(res => {
18 + resolveBlob(res, mimeMap.zip)
19 + })
20 +}
21 +/**
22 + * 解析blob响应内容并下载
23 + * @param {*} res blob响应内容
24 + * @param {String} mimeType MIME类型
25 + */
26 +export function resolveBlob(res, mimeType) {
27 + const aLink = document.createElement('a')
28 + var blob = new Blob([res.data], { type: mimeType })
29 + // //从response的headers中获取filename, 后端response.setHeader("Content-disposition", "attachment; filename=xxxx.docx") 设置的文件名;
30 + var patt = new RegExp('filename=([^;]+\\.[^\\.;]+);*')
31 + var contentDisposition = decodeURI(res.headers['content-disposition'])
32 + var result = patt.exec(contentDisposition)
33 + var fileName = result[1]
34 + fileName = fileName.replace(/\"/g, '')
35 + aLink.href = URL.createObjectURL(blob)
36 + aLink.setAttribute('download', fileName) // 设置下载文件名称
37 + document.body.appendChild(aLink)
38 + aLink.click()
39 + document.body.removeChild(aLink);
40 +}
1 +const elementIcons = ['platform-eleme', 'eleme', 'delete-solid', 'delete', 's-tools', 'setting', 'user-solid', 'user', 'phone', 'phone-outline', 'more', 'more-outline', 'star-on', 'star-off', 's-goods', 'goods', 'warning', 'warning-outline', 'question', 'info', 'remove', 'circle-plus', 'success', 'error', 'zoom-in', 'zoom-out', 'remove-outline', 'circle-plus-outline', 'circle-check', 'circle-close', 's-help', 'help', 'minus', 'plus', 'check', 'close', 'picture', 'picture-outline', 'picture-outline-round', 'upload', 'upload2', 'download', 'camera-solid', 'camera', 'video-camera-solid', 'video-camera', 'message-solid', 'bell', 's-cooperation', 's-order', 's-platform', 's-fold', 's-unfold', 's-operation', 's-promotion', 's-home', 's-release', 's-ticket', 's-management', 's-open', 's-shop', 's-marketing', 's-flag', 's-comment', 's-finance', 's-claim', 's-custom', 's-opportunity', 's-data', 's-check', 's-grid', 'menu', 'share', 'd-caret', 'caret-left', 'caret-right', 'caret-bottom', 'caret-top', 'bottom-left', 'bottom-right', 'back', 'right', 'bottom', 'top', 'top-left', 'top-right', 'arrow-left', 'arrow-right', 'arrow-down', 'arrow-up', 'd-arrow-left', 'd-arrow-right', 'video-pause', 'video-play', 'refresh', 'refresh-right', 'refresh-left', 'finished', 'sort', 'sort-up', 'sort-down', 'rank', 'loading', 'view', 'c-scale-to-original', 'date', 'edit', 'edit-outline', 'folder', 'folder-opened', 'folder-add', 'folder-remove', 'folder-delete', 'folder-checked', 'tickets', 'document-remove', 'document-delete', 'document-copy', 'document-checked', 'document', 'document-add', 'printer', 'paperclip', 'takeaway-box', 'search', 'monitor', 'attract', 'mobile', 'scissors', 'umbrella', 'headset', 'brush', 'mouse', 'coordinate', 'magic-stick', 'reading', 'data-line', 'data-board', 'pie-chart', 'data-analysis', 'collection-tag', 'film', 'suitcase', 'suitcase-1', 'receiving', 'collection', 'files', 'notebook-1', 'notebook-2', 'toilet-paper', 'office-building', 'school', 'table-lamp', 'house', 'no-smoking', 'smoking', 'shopping-cart-full', 'shopping-cart-1', 'shopping-cart-2', 'shopping-bag-1', 'shopping-bag-2', 'sold-out', 'sell', 'present', 'box', 'bank-card', 'money', 'coin', 'wallet', 'discount', 'price-tag', 'news', 'guide', 'male', 'female', 'thumb', 'cpu', 'link', 'connection', 'open', 'turn-off', 'set-up', 'chat-round', 'chat-line-round', 'chat-square', 'chat-dot-round', 'chat-dot-square', 'chat-line-square', 'message', 'postcard', 'position', 'turn-off-microphone', 'microphone', 'close-notification', 'bangzhu', 'time', 'odometer', 'crop', 'aim', 'switch-button', 'full-screen', 'copy-document', 'mic', 'stopwatch', 'medal-1', 'medal', 'trophy', 'trophy-1', 'first-aid-kit', 'discover', 'place', 'location', 'location-outline', 'location-information', 'add-location', 'delete-location', 'map-location', 'alarm-clock', 'timer', 'watch-1', 'watch', 'lock', 'unlock', 'key', 'service', 'mobile-phone', 'bicycle', 'truck', 'ship', 'basketball', 'football', 'soccer', 'baseball', 'wind-power', 'light-rain', 'lightning', 'heavy-rain', 'sunrise', 'sunrise-1', 'sunset', 'sunny', 'cloudy', 'partly-cloudy', 'cloudy-and-sunny', 'moon', 'moon-night', 'dish', 'dish-1', 'food', 'chicken', 'fork-spoon', 'knife-fork', 'burger', 'tableware', 'sugar', 'dessert', 'ice-cream', 'hot-water', 'water-cup', 'coffee-cup', 'cold-drink', 'goblet', 'goblet-full', 'goblet-square', 'goblet-square-full', 'refrigerator', 'grape', 'watermelon', 'cherry', 'apple', 'pear', 'orange', 'coffee', 'ice-tea', 'ice-drink', 'milk-tea', 'potato-strips', 'lollipop', 'ice-cream-square', 'ice-cream-round']
2 +
3 +export default elementIcons
1 +<template>
2 + <div class="icons-container">
3 + <aside>
4 + <a href="#" target="_blank">Add and use
5 + </a>
6 + </aside>
7 + <el-tabs type="border-card">
8 + <el-tab-pane label="Icons">
9 + <div v-for="item of svgIcons" :key="item">
10 + <el-tooltip placement="top">
11 + <div slot="content">
12 + {{ generateIconCode(item) }}
13 + </div>
14 + <div class="icon-item">
15 + <svg-icon :icon-class="item" class-name="disabled" />
16 + <span>{{ item }}</span>
17 + </div>
18 + </el-tooltip>
19 + </div>
20 + </el-tab-pane>
21 + <el-tab-pane label="Element-UI Icons">
22 + <div v-for="item of elementIcons" :key="item">
23 + <el-tooltip placement="top">
24 + <div slot="content">
25 + {{ generateElementIconCode(item) }}
26 + </div>
27 + <div class="icon-item">
28 + <i :class="'el-icon-' + item" />
29 + <span>{{ item }}</span>
30 + </div>
31 + </el-tooltip>
32 + </div>
33 + </el-tab-pane>
34 + </el-tabs>
35 + </div>
36 +</template>
37 +
38 +<script>
39 +import svgIcons from './svg-icons'
40 +import elementIcons from './element-icons'
41 +
42 +export default {
43 + name: 'Icons',
44 + data() {
45 + return {
46 + svgIcons,
47 + elementIcons
48 + }
49 + },
50 + methods: {
51 + generateIconCode(symbol) {
52 + return `<svg-icon icon-class="${symbol}" />`
53 + },
54 + generateElementIconCode(symbol) {
55 + return `<i class="el-icon-${symbol}" />`
56 + }
57 + }
58 +}
59 +</script>
60 +
61 +<style lang="scss" scoped>
62 +.icons-container {
63 + margin: 10px 20px 0;
64 + overflow: hidden;
65 +
66 + .icon-item {
67 + margin: 20px;
68 + height: 85px;
69 + text-align: center;
70 + width: 100px;
71 + float: left;
72 + font-size: 30px;
73 + color: #24292e;
74 + cursor: pointer;
75 + }
76 +
77 + span {
78 + display: block;
79 + font-size: 16px;
80 + margin-top: 10px;
81 + }
82 +
83 + .disabled {
84 + pointer-events: none;
85 + }
86 +}
87 +</style>
1 +const req = require.context('../../../assets/icons/svg', false, /\.svg$/)
2 +const requireAll = requireContext => requireContext.keys()
3 +
4 +const re = /\.\/(.*)\.svg/
5 +
6 +const svgIcons = requireAll(req).map(i => {
7 + return i.match(re)[1]
8 +})
9 +
10 +export default svgIcons
1 +<template>
2 + <div class="errPage-container">
3 + <el-button icon="arrow-left" class="pan-back-btn" @click="back">
4 + 返回
5 + </el-button>
6 + <el-row>
7 + <el-col :span="12">
8 + <h1 class="text-jumbo text-ginormous">
9 + 401错误!
10 + </h1>
11 + <h2>您没有访问权限!</h2>
12 + <h6>对不起,您没有访问权限,请不要进行非法操作!您可以返回主页面</h6>
13 + <ul class="list-unstyled">
14 + <li class="link-type">
15 + <router-link to="/">
16 + 回首页
17 + </router-link>
18 + </li>
19 + </ul>
20 + </el-col>
21 + <el-col :span="12">
22 + <img :src="errGif" width="313" height="428" alt="Girl has dropped her ice cream.">
23 + </el-col>
24 + </el-row>
25 + </div>
26 +</template>
27 +
28 +<script>
29 +import errGif from '@/assets/401_images/401.gif'
30 +
31 +export default {
32 + name: 'Page401',
33 + data() {
34 + return {
35 + errGif: errGif + '?' + +new Date()
36 + }
37 + },
38 + methods: {
39 + back() {
40 + if (this.$route.query.noGoBack) {
41 + this.$router.push({ path: '/' })
42 + } else {
43 + this.$router.go(-1)
44 + }
45 + }
46 + }
47 +}
48 +</script>
49 +
50 +<style lang="scss" scoped>
51 + .errPage-container {
52 + width: 800px;
53 + max-width: 100%;
54 + margin: 100px auto;
55 + .pan-back-btn {
56 + background: #008489;
57 + color: #fff;
58 + border: none!important;
59 + }
60 + .pan-gif {
61 + margin: 0 auto;
62 + display: block;
63 + }
64 + .pan-img {
65 + display: block;
66 + margin: 0 auto;
67 + width: 100%;
68 + }
69 + .text-jumbo {
70 + font-size: 60px;
71 + font-weight: 700;
72 + color: #484848;
73 + }
74 + .list-unstyled {
75 + font-size: 14px;
76 + li {
77 + padding-bottom: 5px;
78 + }
79 + a {
80 + color: #008489;
81 + text-decoration: none;
82 + &:hover {
83 + text-decoration: underline;
84 + }
85 + }
86 + }
87 + }
88 +</style>
1 +<template>
2 + <div class="wscn-http404-container">
3 + <div class="wscn-http404">
4 + <div class="pic-404">
5 + <img class="pic-404__parent" src="@/assets/404_images/404.png" alt="404">
6 + <img class="pic-404__child left" src="@/assets/404_images/404_cloud.png" alt="404">
7 + <img class="pic-404__child mid" src="@/assets/404_images/404_cloud.png" alt="404">
8 + <img class="pic-404__child right" src="@/assets/404_images/404_cloud.png" alt="404">
9 + </div>
10 + <div class="bullshit">
11 + <div class="bullshit__oops">
12 + 404错误!
13 + </div>
14 + <div class="bullshit__headline">
15 + {{ message }}
16 + </div>
17 + <div class="bullshit__info">
18 + 对不起,您正在寻找的页面不存在。尝试检查URL的错误,然后按浏览器上的刷新按钮或尝试在我们的应用程序中找到其他内容。
19 + </div>
20 + <router-link to="/" class="bullshit__return-home">
21 + 返回首页
22 + </router-link>
23 + </div>
24 + </div>
25 + </div>
26 +</template>
27 +
28 +<script>
29 +
30 +export default {
31 + name: 'Page404',
32 + computed: {
33 + message() {
34 + return '找不到网页!'
35 + }
36 + }
37 +}
38 +</script>
39 +
40 +<style lang="scss" scoped>
41 +.wscn-http404-container{
42 + transform: translate(-50%,-50%);
43 + position: absolute;
44 + top: 40%;
45 + left: 50%;
46 +}
47 +.wscn-http404 {
48 + position: relative;
49 + width: 1200px;
50 + padding: 0 50px;
51 + overflow: hidden;
52 + .pic-404 {
53 + position: relative;
54 + float: left;
55 + width: 600px;
56 + overflow: hidden;
57 + &__parent {
58 + width: 100%;
59 + }
60 + &__child {
61 + position: absolute;
62 + &.left {
63 + width: 80px;
64 + top: 17px;
65 + left: 220px;
66 + opacity: 0;
67 + animation-name: cloudLeft;
68 + animation-duration: 2s;
69 + animation-timing-function: linear;
70 + animation-fill-mode: forwards;
71 + animation-delay: 1s;
72 + }
73 + &.mid {
74 + width: 46px;
75 + top: 10px;
76 + left: 420px;
77 + opacity: 0;
78 + animation-name: cloudMid;
79 + animation-duration: 2s;
80 + animation-timing-function: linear;
81 + animation-fill-mode: forwards;
82 + animation-delay: 1.2s;
83 + }
84 + &.right {
85 + width: 62px;
86 + top: 100px;
87 + left: 500px;
88 + opacity: 0;
89 + animation-name: cloudRight;
90 + animation-duration: 2s;
91 + animation-timing-function: linear;
92 + animation-fill-mode: forwards;
93 + animation-delay: 1s;
94 + }
95 + @keyframes cloudLeft {
96 + 0% {
97 + top: 17px;
98 + left: 220px;
99 + opacity: 0;
100 + }
101 + 20% {
102 + top: 33px;
103 + left: 188px;
104 + opacity: 1;
105 + }
106 + 80% {
107 + top: 81px;
108 + left: 92px;
109 + opacity: 1;
110 + }
111 + 100% {
112 + top: 97px;
113 + left: 60px;
114 + opacity: 0;
115 + }
116 + }
117 + @keyframes cloudMid {
118 + 0% {
119 + top: 10px;
120 + left: 420px;
121 + opacity: 0;
122 + }
123 + 20% {
124 + top: 40px;
125 + left: 360px;
126 + opacity: 1;
127 + }
128 + 70% {
129 + top: 130px;
130 + left: 180px;
131 + opacity: 1;
132 + }
133 + 100% {
134 + top: 160px;
135 + left: 120px;
136 + opacity: 0;
137 + }
138 + }
139 + @keyframes cloudRight {
140 + 0% {
141 + top: 100px;
142 + left: 500px;
143 + opacity: 0;
144 + }
145 + 20% {
146 + top: 120px;
147 + left: 460px;
148 + opacity: 1;
149 + }
150 + 80% {
151 + top: 180px;
152 + left: 340px;
153 + opacity: 1;
154 + }
155 + 100% {
156 + top: 200px;
157 + left: 300px;
158 + opacity: 0;
159 + }
160 + }
161 + }
162 + }
163 + .bullshit {
164 + position: relative;
165 + float: left;
166 + width: 300px;
167 + padding: 30px 0;
168 + overflow: hidden;
169 + &__oops {
170 + font-size: 32px;
171 + font-weight: bold;
172 + line-height: 40px;
173 + color: #1482f0;
174 + opacity: 0;
175 + margin-bottom: 20px;
176 + animation-name: slideUp;
177 + animation-duration: 0.5s;
178 + animation-fill-mode: forwards;
179 + }
180 + &__headline {
181 + font-size: 20px;
182 + line-height: 24px;
183 + color: #222;
184 + font-weight: bold;
185 + opacity: 0;
186 + margin-bottom: 10px;
187 + animation-name: slideUp;
188 + animation-duration: 0.5s;
189 + animation-delay: 0.1s;
190 + animation-fill-mode: forwards;
191 + }
192 + &__info {
193 + font-size: 13px;
194 + line-height: 21px;
195 + color: grey;
196 + opacity: 0;
197 + margin-bottom: 30px;
198 + animation-name: slideUp;
199 + animation-duration: 0.5s;
200 + animation-delay: 0.2s;
201 + animation-fill-mode: forwards;
202 + }
203 + &__return-home {
204 + display: block;
205 + float: left;
206 + width: 110px;
207 + height: 36px;
208 + background: #1482f0;
209 + border-radius: 100px;
210 + text-align: center;
211 + color: #ffffff;
212 + opacity: 0;
213 + font-size: 14px;
214 + line-height: 36px;
215 + cursor: pointer;
216 + animation-name: slideUp;
217 + animation-duration: 0.5s;
218 + animation-delay: 0.3s;
219 + animation-fill-mode: forwards;
220 + }
221 + @keyframes slideUp {
222 + 0% {
223 + transform: translateY(60px);
224 + opacity: 0;
225 + }
226 + 100% {
227 + transform: translateY(0);
228 + opacity: 1;
229 + }
230 + }
231 + }
232 +}
233 +</style>
1 +<template>
2 + <div>
3 + <el-button type="primary" size="mini" @click="submit">保存</el-button>
4 + <el-button
5 + size="mini"
6 + type="text"
7 + icon="el-icon-delete"
8 + v-hasPermi="['system:user:list']"
9 + >删除1</el-button>
10 +
11 + <el-button
12 + size="mini"
13 + type="text"
14 + icon="el-icon-delete"
15 + v-hasPermi="['system:user:remove']"
16 + >删除2</el-button>
17 + </div>
18 +</template>
19 +<script>
20 +import { delUser } from "@/api/system/user";
21 +
22 +export default {
23 + props: {
24 + user: {
25 + type: Object
26 + }
27 + },
28 + data() {
29 + return {
30 + // 表单校验
31 + };
32 + },
33 + methods: {
34 + submit() {
35 + this.msgSuccess("修改成功");
36 + delUser('112').then(response => {
37 + this.msgSuccess("修改成功");
38 + });
39 + }
40 + }
41 +};
42 +</script>
43 +
1 +<template>
2 + <div class="login">
3 + <el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form">
4 + <h3 class="title">若依后台管理系统</h3>
5 + <el-form-item prop="username">
6 + <el-input v-model="loginForm.username" type="text" auto-complete="off" placeholder="账号">
7 + <svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />
8 + </el-input>
9 + </el-form-item>
10 + <el-form-item prop="password">
11 + <el-input
12 + v-model="loginForm.password"
13 + type="password"
14 + auto-complete="off"
15 + placeholder="密码"
16 + @keyup.enter.native="handleLogin"
17 + >
18 + <svg-icon slot="prefix" icon-class="password" class="el-input__icon input-icon" />
19 + </el-input>
20 + </el-form-item>
21 + <el-form-item prop="code">
22 + <el-input
23 + v-model="loginForm.code"
24 + auto-complete="off"
25 + placeholder="验证码"
26 + style="width: 63%"
27 + @keyup.enter.native="handleLogin"
28 + >
29 + <svg-icon slot="prefix" icon-class="validCode" class="el-input__icon input-icon" />
30 + </el-input>
31 + <div class="login-code">
32 + <img :src="codeUrl" @click="getCode" class="login-code-img"/>
33 + </div>
34 + </el-form-item>
35 + <el-checkbox v-model="loginForm.rememberMe" style="margin:0px 0px 25px 0px;">记住密码</el-checkbox>
36 + <el-form-item style="width:100%;">
37 + <el-button
38 + :loading="loading"
39 + size="medium"
40 + type="primary"
41 + style="width:100%;"
42 + @click.native.prevent="handleLogin"
43 + >
44 + <span v-if="!loading">登 录</span>
45 + <span v-else>登 录 中...</span>
46 + </el-button>
47 + </el-form-item>
48 + </el-form>
49 + <!-- 底部 -->
50 + <div class="el-login-footer">
51 + <span>Copyright © 2018-2021 ruoyi.vip All Rights Reserved.</span>
52 + </div>
53 + </div>
54 +</template>
55 +
56 +<script>
57 +import { getCodeImg } from "@/api/login";
58 +//import Cookies from "js-cookie";
59 +import { encrypt, decrypt } from '@/utils/jsencrypt'
60 +
61 +export default {
62 + name: "Login",
63 + data() {
64 + return {
65 + codeUrl: "",
66 + cookiePassword: "",
67 + loginForm: {
68 + username: "admin",
69 + password: "admin123",
70 + rememberMe: false,
71 + code: "",
72 + uuid: ""
73 + },
74 + loginRules: {
75 + username: [
76 + { required: true, trigger: "blur", message: "用户名不能为空" }
77 + ],
78 + password: [
79 + { required: true, trigger: "blur", message: "密码不能为空" }
80 + ],
81 + code: [{ required: true, trigger: "change", message: "验证码不能为空" }]
82 + },
83 + loading: false,
84 + redirect: undefined
85 + };
86 + },
87 + watch: {
88 + $route: {
89 + handler: function(route) {
90 + this.redirect = route.query && route.query.redirect;
91 + },
92 + immediate: true
93 + }
94 + },
95 + created() {
96 + //this.getCode();
97 + this.getCookie();
98 + },
99 + methods: {
100 + getCode() {
101 + getCodeImg().then(res => {
102 + this.codeUrl = "data:image/gif;base64," + res.img;
103 + this.loginForm.uuid = res.uuid;
104 + });
105 + },
106 + getCookie() {
107 + const username = localStorage.getItem("username");
108 + const password = localStorage.getItem("password");
109 + const rememberMe = localStorage.getItem('rememberMe')
110 + this.loginForm = {
111 + username: username === undefined ? this.loginForm.username : username,
112 + password: password === undefined ? this.loginForm.password : decrypt(password),
113 + rememberMe: rememberMe === undefined ? false : Boolean(rememberMe)
114 + };
115 + },
116 + handleLogin() {
117 + this.$refs.loginForm.validate(valid => {
118 + if (valid) {
119 + this.loading = true;
120 + if (this.loginForm.rememberMe) {
121 + localStorage.setItem("username", this.loginForm.username, { expires: 30 });
122 + localStorage.setItem("password", encrypt(this.loginForm.password), { expires: 30 });
123 + localStorage.setItem('rememberMe', this.loginForm.rememberMe, { expires: 30 });
124 + } else {
125 + localStorage.removeItem("username");
126 + localStorage.removeItem("password");
127 + localStorage.removeItem('rememberMe');
128 + }
129 + this.$store.dispatch("Login", this.loginForm).then(() => {
130 + this.$router.push({ path: this.redirect || "/" }).catch(()=>{});
131 + }).catch(() => {
132 + this.loading = false;
133 + //this.getCode();
134 + });
135 + }
136 + });
137 + }
138 + }
139 +};
140 +</script>
141 +
142 +<style rel="stylesheet/scss" lang="scss">
143 +.login {
144 + display: flex;
145 + justify-content: center;
146 + align-items: center;
147 + height: 100%;
148 + background-image: url("../assets/images/login-background.jpg");
149 + background-size: cover;
150 +}
151 +.title {
152 + margin: 0px auto 30px auto;
153 + text-align: center;
154 + color: #707070;
155 +}
156 +
157 +.login-form {
158 + border-radius: 6px;
159 + background: #ffffff;
160 + width: 400px;
161 + padding: 25px 25px 5px 25px;
162 + .el-input {
163 + height: 38px;
164 + input {
165 + height: 38px;
166 + }
167 + }
168 + .input-icon {
169 + height: 39px;
170 + width: 14px;
171 + margin-left: 2px;
172 + }
173 +}
174 +.login-tip {
175 + font-size: 13px;
176 + text-align: center;
177 + color: #bfbfbf;
178 +}
179 +.login-code {
180 + width: 33%;
181 + height: 38px;
182 + float: right;
183 + img {
184 + cursor: pointer;
185 + vertical-align: middle;
186 + }
187 +}
188 +.el-login-footer {
189 + height: 40px;
190 + line-height: 40px;
191 + position: fixed;
192 + bottom: 0;
193 + width: 100%;
194 + text-align: center;
195 + color: #fff;
196 + font-family: Arial;
197 + font-size: 12px;
198 + letter-spacing: 1px;
199 +}
200 +.login-code-img {
201 + height: 38px;
202 +}
203 +</style>
1 +<script>
2 +export default {
3 + created() {
4 + const { params, query } = this.$route
5 + const { path } = params
6 + this.$router.replace({ path: '/' + path, query })
7 + },
8 + render: function(h) {
9 + return h() // avoid warning message
10 + }
11 +}
12 +</script>
1 +<template>
2 + <div>index role</div>
3 +</template>
4 +
5 +
1 +<template>
2 + <div>index user</div>
3 +</template>
4 +
5 +
1 +<template>
2 + <div>index</div>
3 +</template>
4 +
5 +
1 +'use strict'
2 +const path = require('path')
3 +const defaultSettings = require('./src/settings.js')
4 +
5 +function resolve(dir) {
6 + return path.join(__dirname, dir)
7 +}
8 +
9 +const name = defaultSettings.title || '若依管理系统' // 标题
10 +
11 +const port = process.env.port || process.env.npm_config_port || 80 // 端口
12 +
13 +// vue.config.js 配置说明
14 +//官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions
15 +// 这里只列一部分,具体配置参考文档
16 +module.exports = {
17 + // 部署生产环境和开发环境下的URL。
18 + // 默认情况下,Vue CLI 会假设你的应用是被部署在一个域名的根路径上
19 + // 例如 https://www.ruoyi.vip/。如果应用被部署在一个子路径上,你就需要用这个选项指定这个子路径。例如,如果你的应用被部署在 https://www.ruoyi.vip/admin/,则设置 baseUrl 为 /admin/。
20 + publicPath: process.env.NODE_ENV === "production" ? "/" : "/",
21 + // 在npm run build 或 yarn build 时 ,生成文件的目录名称(要和baseUrl的生产环境路径一致)(默认dist)
22 + outputDir: 'dist',
23 + // 用于放置生成的静态资源 (js、css、img、fonts) 的;(项目打包之后,静态资源会放在这个文件夹下)
24 + assetsDir: 'static',
25 + // 是否开启eslint保存检测,有效值:ture | false | 'error'
26 + lintOnSave: process.env.NODE_ENV === 'development',
27 + // 如果你不需要生产环境的 source map,可以将其设置为 false 以加速生产环境构建。
28 + productionSourceMap: false,
29 + // webpack-dev-server 相关配置
30 + devServer: {
31 + host: '0.0.0.0',
32 + port: port,
33 + open: true,
34 + proxy: {
35 + // detail: https://cli.vuejs.org/config/#devserver-proxy
36 + [process.env.VUE_APP_BASE_API]: {
37 + target: `http://localhost:8080`,
38 + changeOrigin: true,
39 + pathRewrite: {
40 + ['^' + process.env.VUE_APP_BASE_API]: ''
41 + }
42 + }
43 + },
44 + disableHostCheck: true
45 + },
46 + configureWebpack: {
47 + name: name,
48 + resolve: {
49 + alias: {
50 + '@': resolve('src')
51 + }
52 + }
53 + },
54 + chainWebpack(config) {
55 + config.plugins.delete('preload') // TODO: need test
56 + config.plugins.delete('prefetch') // TODO: need test
57 +
58 + // set svg-sprite-loader
59 + config.module
60 + .rule('svg')
61 + .exclude.add(resolve('src/assets/icons'))
62 + .end()
63 + config.module
64 + .rule('icons')
65 + .test(/\.svg$/)
66 + .include.add(resolve('src/assets/icons'))
67 + .end()
68 + .use('svg-sprite-loader')
69 + .loader('svg-sprite-loader')
70 + .options({
71 + symbolId: 'icon-[name]'
72 + })
73 + .end()
74 +
75 + config
76 + .when(process.env.NODE_ENV !== 'development',
77 + config => {
78 + config
79 + .plugin('ScriptExtHtmlWebpackPlugin')
80 + .after('html')
81 + .use('script-ext-html-webpack-plugin', [{
82 + // `runtime` must same as runtimeChunk name. default is `runtime`
83 + inline: /runtime\..*\.js$/
84 + }])
85 + .end()
86 + config
87 + .optimization.splitChunks({
88 + chunks: 'all',
89 + cacheGroups: {
90 + libs: {
91 + name: 'chunk-libs',
92 + test: /[\\/]node_modules[\\/]/,
93 + priority: 10,
94 + chunks: 'initial' // only package third parties that are initially dependent
95 + },
96 + elementUI: {
97 + name: 'chunk-elementUI', // split elementUI into a single package
98 + priority: 20, // the weight needs to be larger than libs and app or it will be packaged into libs or app
99 + test: /[\\/]node_modules[\\/]_?element-ui(.*)/ // in order to adapt to cnpm
100 + },
101 + commons: {
102 + name: 'chunk-commons',
103 + test: resolve('src/components'), // can customize your rules
104 + minChunks: 3, // minimum common number
105 + priority: 5,
106 + reuseExistingChunk: true
107 + }
108 + }
109 + })
110 + config.optimization.runtimeChunk('single'),
111 + {
112 + from: path.resolve(__dirname, './public/robots.txt'), //防爬虫文件
113 + to: './', //到根目录下
114 + }
115 + }
116 + )
117 + }
118 +}