@ -0,0 +1,20 @@ |
|||||||
|
The MIT License (MIT) |
||||||
|
|
||||||
|
Copyright (c) 2018 RuoYi |
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of |
||||||
|
this software and associated documentation files (the "Software"), to deal in |
||||||
|
the Software without restriction, including without limitation the rights to |
||||||
|
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of |
||||||
|
the Software, and to permit persons to whom the Software is furnished to do so, |
||||||
|
subject to the following conditions: |
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all |
||||||
|
copies or substantial portions of the Software. |
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS |
||||||
|
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR |
||||||
|
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER |
||||||
|
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
||||||
|
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
@ -0,0 +1,22 @@ |
|||||||
|
# 告诉EditorConfig插件,这是根文件,不用继续往上查找 |
||||||
|
root = true |
||||||
|
|
||||||
|
# 匹配全部文件 |
||||||
|
[*] |
||||||
|
# 设置字符集 |
||||||
|
charset = utf-8 |
||||||
|
# 缩进风格,可选space、tab |
||||||
|
indent_style = space |
||||||
|
# 缩进的空格数 |
||||||
|
indent_size = 2 |
||||||
|
# 结尾换行符,可选lf、cr、crlf |
||||||
|
end_of_line = lf |
||||||
|
# 在文件结尾插入新行 |
||||||
|
insert_final_newline = true |
||||||
|
# 删除一行中的前后空格 |
||||||
|
trim_trailing_whitespace = true |
||||||
|
|
||||||
|
# 匹配md结尾的文件 |
||||||
|
[*.md] |
||||||
|
insert_final_newline = false |
||||||
|
trim_trailing_whitespace = false |
@ -0,0 +1,8 @@ |
|||||||
|
# 开发环境配置 |
||||||
|
ENV = 'development' |
||||||
|
|
||||||
|
# 河北省文化和旅游云平台/开发环境 |
||||||
|
VUE_APP_BASE_API = '/dev-api' |
||||||
|
|
||||||
|
# 路由懒加载 |
||||||
|
VUE_CLI_BABEL_TRANSPILE_MODULES = true |
@ -0,0 +1,5 @@ |
|||||||
|
# 生产环境配置 |
||||||
|
ENV = 'production' |
||||||
|
|
||||||
|
# 河北省文化和旅游云平台/生产环境 |
||||||
|
VUE_APP_BASE_API = '/prod-api/' |
@ -0,0 +1,7 @@ |
|||||||
|
NODE_ENV = production |
||||||
|
|
||||||
|
# 测试环境配置 |
||||||
|
ENV = 'staging' |
||||||
|
|
||||||
|
# 河北省文化和旅游云平台/测试环境 |
||||||
|
VUE_APP_BASE_API = '/stage-api' |
@ -0,0 +1,10 @@ |
|||||||
|
# 忽略build目录下类型为js的文件的语法检查 |
||||||
|
build/*.js |
||||||
|
# 忽略src/assets目录下文件的语法检查 |
||||||
|
src/assets |
||||||
|
# 忽略public目录下文件的语法检查 |
||||||
|
public |
||||||
|
# 忽略当前目录下为js的文件的语法检查 |
||||||
|
*.js |
||||||
|
# 忽略当前目录下为vue的文件的语法检查 |
||||||
|
*.vue |
@ -0,0 +1,199 @@ |
|||||||
|
// ESlint 检查配置
|
||||||
|
module.exports = { |
||||||
|
root: true, |
||||||
|
parserOptions: { |
||||||
|
parser: 'babel-eslint', |
||||||
|
sourceType: 'module' |
||||||
|
}, |
||||||
|
env: { |
||||||
|
browser: true, |
||||||
|
node: true, |
||||||
|
es6: true, |
||||||
|
}, |
||||||
|
extends: ['plugin:vue/recommended', 'eslint:recommended'], |
||||||
|
|
||||||
|
// add your custom rules here
|
||||||
|
//it is base on https://github.com/vuejs/eslint-config-vue
|
||||||
|
rules: { |
||||||
|
"vue/max-attributes-per-line": [2, { |
||||||
|
"singleline": 10, |
||||||
|
"multiline": { |
||||||
|
"max": 1, |
||||||
|
"allowFirstLine": false |
||||||
|
} |
||||||
|
}], |
||||||
|
"vue/singleline-html-element-content-newline": "off", |
||||||
|
"vue/multiline-html-element-content-newline":"off", |
||||||
|
"vue/name-property-casing": ["error", "PascalCase"], |
||||||
|
"vue/no-v-html": "off", |
||||||
|
'accessor-pairs': 2, |
||||||
|
'arrow-spacing': [2, { |
||||||
|
'before': true, |
||||||
|
'after': true |
||||||
|
}], |
||||||
|
'block-spacing': [2, 'always'], |
||||||
|
'brace-style': [2, '1tbs', { |
||||||
|
'allowSingleLine': true |
||||||
|
}], |
||||||
|
'camelcase': [0, { |
||||||
|
'properties': 'always' |
||||||
|
}], |
||||||
|
'comma-dangle': [2, 'never'], |
||||||
|
'comma-spacing': [2, { |
||||||
|
'before': false, |
||||||
|
'after': true |
||||||
|
}], |
||||||
|
'comma-style': [2, 'last'], |
||||||
|
'constructor-super': 2, |
||||||
|
'curly': [2, 'multi-line'], |
||||||
|
'dot-location': [2, 'property'], |
||||||
|
'eol-last': 2, |
||||||
|
'eqeqeq': ["error", "always", {"null": "ignore"}], |
||||||
|
'generator-star-spacing': [2, { |
||||||
|
'before': true, |
||||||
|
'after': true |
||||||
|
}], |
||||||
|
'handle-callback-err': [2, '^(err|error)$'], |
||||||
|
'indent': [2, 2, { |
||||||
|
'SwitchCase': 1 |
||||||
|
}], |
||||||
|
'jsx-quotes': [2, 'prefer-single'], |
||||||
|
'key-spacing': [2, { |
||||||
|
'beforeColon': false, |
||||||
|
'afterColon': true |
||||||
|
}], |
||||||
|
'keyword-spacing': [2, { |
||||||
|
'before': true, |
||||||
|
'after': true |
||||||
|
}], |
||||||
|
'new-cap': [2, { |
||||||
|
'newIsCap': true, |
||||||
|
'capIsNew': false |
||||||
|
}], |
||||||
|
'new-parens': 2, |
||||||
|
'no-array-constructor': 2, |
||||||
|
'no-caller': 2, |
||||||
|
'no-console': 'off', |
||||||
|
'no-class-assign': 2, |
||||||
|
'no-cond-assign': 2, |
||||||
|
'no-const-assign': 2, |
||||||
|
'no-control-regex': 0, |
||||||
|
'no-delete-var': 2, |
||||||
|
'no-dupe-args': 2, |
||||||
|
'no-dupe-class-members': 2, |
||||||
|
'no-dupe-keys': 2, |
||||||
|
'no-duplicate-case': 2, |
||||||
|
'no-empty-character-class': 2, |
||||||
|
'no-empty-pattern': 2, |
||||||
|
'no-eval': 2, |
||||||
|
'no-ex-assign': 2, |
||||||
|
'no-extend-native': 2, |
||||||
|
'no-extra-bind': 2, |
||||||
|
'no-extra-boolean-cast': 2, |
||||||
|
'no-extra-parens': [2, 'functions'], |
||||||
|
'no-fallthrough': 2, |
||||||
|
'no-floating-decimal': 2, |
||||||
|
'no-func-assign': 2, |
||||||
|
'no-implied-eval': 2, |
||||||
|
'no-inner-declarations': [2, 'functions'], |
||||||
|
'no-invalid-regexp': 2, |
||||||
|
'no-irregular-whitespace': 2, |
||||||
|
'no-iterator': 2, |
||||||
|
'no-label-var': 2, |
||||||
|
'no-labels': [2, { |
||||||
|
'allowLoop': false, |
||||||
|
'allowSwitch': false |
||||||
|
}], |
||||||
|
'no-lone-blocks': 2, |
||||||
|
'no-mixed-spaces-and-tabs': 2, |
||||||
|
'no-multi-spaces': 2, |
||||||
|
'no-multi-str': 2, |
||||||
|
'no-multiple-empty-lines': [2, { |
||||||
|
'max': 1 |
||||||
|
}], |
||||||
|
'no-native-reassign': 2, |
||||||
|
'no-negated-in-lhs': 2, |
||||||
|
'no-new-object': 2, |
||||||
|
'no-new-require': 2, |
||||||
|
'no-new-symbol': 2, |
||||||
|
'no-new-wrappers': 2, |
||||||
|
'no-obj-calls': 2, |
||||||
|
'no-octal': 2, |
||||||
|
'no-octal-escape': 2, |
||||||
|
'no-path-concat': 2, |
||||||
|
'no-proto': 2, |
||||||
|
'no-redeclare': 2, |
||||||
|
'no-regex-spaces': 2, |
||||||
|
'no-return-assign': [2, 'except-parens'], |
||||||
|
'no-self-assign': 2, |
||||||
|
'no-self-compare': 2, |
||||||
|
'no-sequences': 2, |
||||||
|
'no-shadow-restricted-names': 2, |
||||||
|
'no-spaced-func': 2, |
||||||
|
'no-sparse-arrays': 2, |
||||||
|
'no-this-before-super': 2, |
||||||
|
'no-throw-literal': 2, |
||||||
|
'no-trailing-spaces': 2, |
||||||
|
'no-undef': 2, |
||||||
|
'no-undef-init': 2, |
||||||
|
'no-unexpected-multiline': 2, |
||||||
|
'no-unmodified-loop-condition': 2, |
||||||
|
'no-unneeded-ternary': [2, { |
||||||
|
'defaultAssignment': false |
||||||
|
}], |
||||||
|
'no-unreachable': 2, |
||||||
|
'no-unsafe-finally': 2, |
||||||
|
'no-unused-vars': [2, { |
||||||
|
'vars': 'all', |
||||||
|
'args': 'none' |
||||||
|
}], |
||||||
|
'no-useless-call': 2, |
||||||
|
'no-useless-computed-key': 2, |
||||||
|
'no-useless-constructor': 2, |
||||||
|
'no-useless-escape': 0, |
||||||
|
'no-whitespace-before-property': 2, |
||||||
|
'no-with': 2, |
||||||
|
'one-var': [2, { |
||||||
|
'initialized': 'never' |
||||||
|
}], |
||||||
|
'operator-linebreak': [2, 'after', { |
||||||
|
'overrides': { |
||||||
|
'?': 'before', |
||||||
|
':': 'before' |
||||||
|
} |
||||||
|
}], |
||||||
|
'padded-blocks': [2, 'never'], |
||||||
|
'quotes': [2, 'single', { |
||||||
|
'avoidEscape': true, |
||||||
|
'allowTemplateLiterals': true |
||||||
|
}], |
||||||
|
'semi': [2, 'never'], |
||||||
|
'semi-spacing': [2, { |
||||||
|
'before': false, |
||||||
|
'after': true |
||||||
|
}], |
||||||
|
'space-before-blocks': [2, 'always'], |
||||||
|
'space-before-function-paren': [2, 'never'], |
||||||
|
'space-in-parens': [2, 'never'], |
||||||
|
'space-infix-ops': 2, |
||||||
|
'space-unary-ops': [2, { |
||||||
|
'words': true, |
||||||
|
'nonwords': false |
||||||
|
}], |
||||||
|
'spaced-comment': [2, 'always', { |
||||||
|
'markers': ['global', 'globals', 'eslint', 'eslint-disable', '*package', '!', ','] |
||||||
|
}], |
||||||
|
'template-curly-spacing': [2, 'never'], |
||||||
|
'use-isnan': 2, |
||||||
|
'valid-typeof': 2, |
||||||
|
'wrap-iife': [2, 'any'], |
||||||
|
'yield-star-spacing': [2, 'both'], |
||||||
|
'yoda': [2, 'never'], |
||||||
|
'prefer-const': 2, |
||||||
|
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0, |
||||||
|
'object-curly-spacing': [2, 'always', { |
||||||
|
objectsInObjects: false |
||||||
|
}], |
||||||
|
'array-bracket-spacing': [2, 'never'] |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,23 @@ |
|||||||
|
.DS_Store |
||||||
|
node_modules/ |
||||||
|
dist/ |
||||||
|
npm-debug.log* |
||||||
|
yarn-debug.log* |
||||||
|
yarn-error.log* |
||||||
|
**/*.log |
||||||
|
|
||||||
|
tests/**/coverage/ |
||||||
|
tests/e2e/reports |
||||||
|
selenium-debug.log |
||||||
|
|
||||||
|
# Editor directories and files |
||||||
|
.idea |
||||||
|
.vscode |
||||||
|
*.suo |
||||||
|
*.ntvs* |
||||||
|
*.njsproj |
||||||
|
*.sln |
||||||
|
*.local |
||||||
|
|
||||||
|
package-lock.json |
||||||
|
yarn.lock |
@ -0,0 +1,30 @@ |
|||||||
|
## 开发 |
||||||
|
|
||||||
|
```bash |
||||||
|
# 克隆项目 |
||||||
|
git clone https://gitee.com/y_project/RuoYi-Vue |
||||||
|
|
||||||
|
# 进入项目目录 |
||||||
|
cd ruoyi-ui |
||||||
|
|
||||||
|
# 安装依赖 |
||||||
|
npm install |
||||||
|
|
||||||
|
# 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题 |
||||||
|
npm install --registry=https://registry.npm.taobao.org |
||||||
|
|
||||||
|
# 启动服务 |
||||||
|
npm run dev |
||||||
|
``` |
||||||
|
|
||||||
|
浏览器访问 http://localhost:80 |
||||||
|
|
||||||
|
## 发布 |
||||||
|
|
||||||
|
```bash |
||||||
|
# 构建测试环境 |
||||||
|
npm run build:stage |
||||||
|
|
||||||
|
# 构建生产环境 |
||||||
|
npm run build:prod |
||||||
|
``` |
@ -0,0 +1,15 @@ |
|||||||
|
// 并没有什么用,仅供参考
|
||||||
|
//alias.config.js
|
||||||
|
function resolve(dir) { |
||||||
|
return path.join(__dirname, dir); |
||||||
|
} |
||||||
|
|
||||||
|
module.exports = { |
||||||
|
resolve: { |
||||||
|
alias: { |
||||||
|
'@': resolve('src'), |
||||||
|
//'_operator': resolve('src/views/operator'),
|
||||||
|
//'_c': resolve('src/components')
|
||||||
|
} |
||||||
|
} |
||||||
|
}; |
@ -0,0 +1,5 @@ |
|||||||
|
module.exports = { |
||||||
|
presets: [ |
||||||
|
'@vue/app' |
||||||
|
] |
||||||
|
} |
@ -0,0 +1,12 @@ |
|||||||
|
@echo off |
||||||
|
echo. |
||||||
|
echo [信息] 打包Web工程,生成dist文件。 |
||||||
|
echo. |
||||||
|
|
||||||
|
%~d0 |
||||||
|
cd %~dp0 |
||||||
|
|
||||||
|
cd .. |
||||||
|
npm run build:prod |
||||||
|
|
||||||
|
pause |
@ -0,0 +1,12 @@ |
|||||||
|
@echo off |
||||||
|
echo. |
||||||
|
echo [信息] 安装Web工程,生成node_modules文件。 |
||||||
|
echo. |
||||||
|
|
||||||
|
%~d0 |
||||||
|
cd %~dp0 |
||||||
|
|
||||||
|
cd .. |
||||||
|
npm install --registry=https://registry.npm.taobao.org |
||||||
|
|
||||||
|
pause |
@ -0,0 +1,12 @@ |
|||||||
|
@echo off |
||||||
|
echo. |
||||||
|
echo [信息] 使用 Vue 运行 Web 工程。 |
||||||
|
echo. |
||||||
|
|
||||||
|
%~d0 |
||||||
|
cd %~dp0 |
||||||
|
|
||||||
|
cd .. |
||||||
|
npm run dev |
||||||
|
|
||||||
|
pause |
@ -0,0 +1,35 @@ |
|||||||
|
const { run } = require('runjs') |
||||||
|
const chalk = require('chalk') |
||||||
|
const config = require('../vue.config.js') |
||||||
|
const rawArgv = process.argv.slice(2) |
||||||
|
const args = rawArgv.join(' ') |
||||||
|
|
||||||
|
if (process.env.npm_config_preview || rawArgv.includes('--preview')) { |
||||||
|
const report = rawArgv.includes('--report') |
||||||
|
|
||||||
|
run(`vue-cli-service build ${args}`) |
||||||
|
|
||||||
|
const port = 9526 |
||||||
|
const publicPath = config.publicPath |
||||||
|
|
||||||
|
var connect = require('connect') |
||||||
|
var serveStatic = require('serve-static') |
||||||
|
const app = connect() |
||||||
|
|
||||||
|
app.use( |
||||||
|
publicPath, |
||||||
|
serveStatic('./dist', { |
||||||
|
index: ['index.html', '/'] |
||||||
|
}) |
||||||
|
) |
||||||
|
|
||||||
|
app.listen(port, function () { |
||||||
|
// console.log(chalk.green(`> Preview at http://localhost:${port}${publicPath}`))
|
||||||
|
if (report) { |
||||||
|
// console.log(chalk.green(`> Report at http://localhost:${port}${publicPath}report.html`))
|
||||||
|
} |
||||||
|
|
||||||
|
}) |
||||||
|
} else { |
||||||
|
run(`vue-cli-service build ${args}`) |
||||||
|
} |
@ -0,0 +1,113 @@ |
|||||||
|
{ |
||||||
|
"name": "ruoyi", |
||||||
|
"version": "2.3.0", |
||||||
|
"description": "张家口数字文旅中心", |
||||||
|
"author": "若依", |
||||||
|
"license": "MIT", |
||||||
|
"scripts": { |
||||||
|
"dev": "vue-cli-service serve --open", |
||||||
|
"build:prod": "vue-cli-service build", |
||||||
|
"build:stage": "vue-cli-service build --mode staging", |
||||||
|
"preview": "node build/index.js --preview", |
||||||
|
"lint": "eslint --ext .js,.vue src", |
||||||
|
"test:unit": "jest --clearCache && vue-cli-service test:unit", |
||||||
|
"test:ci": "npm run lint && npm run test:unit", |
||||||
|
"svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml", |
||||||
|
"new": "plop" |
||||||
|
}, |
||||||
|
"husky": { |
||||||
|
"hooks": { |
||||||
|
"pre-commit": "lint-staged" |
||||||
|
} |
||||||
|
}, |
||||||
|
"lint-staged": { |
||||||
|
"src/**/*.{js,vue}": [ |
||||||
|
"eslint --fix", |
||||||
|
"git add" |
||||||
|
] |
||||||
|
}, |
||||||
|
"keywords": [ |
||||||
|
"vue", |
||||||
|
"admin", |
||||||
|
"dashboard", |
||||||
|
"element-ui", |
||||||
|
"boilerplate", |
||||||
|
"admin-template", |
||||||
|
"management-system" |
||||||
|
], |
||||||
|
"repository": { |
||||||
|
"type": "git", |
||||||
|
"url": "https://gitee.com/y_project/RuoYi-Vue.git" |
||||||
|
}, |
||||||
|
"dependencies": { |
||||||
|
"@riophae/vue-treeselect": "0.4.0", |
||||||
|
"axios": "0.18.1", |
||||||
|
"clipboard": "2.0.4", |
||||||
|
"echarts": "4.2.1", |
||||||
|
"element-ui": "2.13.0", |
||||||
|
"file-saver": "2.0.1", |
||||||
|
"fuse.js": "3.4.4", |
||||||
|
"jquery": "^3.1.1", |
||||||
|
"js-beautify": "^1.10.2", |
||||||
|
"js-cookie": "2.2.0", |
||||||
|
"jsencrypt": "3.0.0-rc.1", |
||||||
|
"normalize.css": "7.0.0", |
||||||
|
"nprogress": "0.2.0", |
||||||
|
"path-to-regexp": "2.4.0", |
||||||
|
"screenfull": "4.2.0", |
||||||
|
"sortablejs": "1.8.4", |
||||||
|
"vue": "2.6.10", |
||||||
|
"vue-amap": "^0.5.10", |
||||||
|
"vue-count-to": "1.0.13", |
||||||
|
"vue-cropper": "0.4.9", |
||||||
|
"vue-echarts": "^5.0.0-beta.0", |
||||||
|
"vue-quill-editor": "3.0.6", |
||||||
|
"vue-router": "3.0.2", |
||||||
|
"vue-splitpane": "1.0.4", |
||||||
|
"vuedraggable": "2.20.0", |
||||||
|
"vuex": "3.1.0", |
||||||
|
"wangeditor": "^4.7.5" |
||||||
|
}, |
||||||
|
"devDependencies": { |
||||||
|
"@babel/core": "7.0.0", |
||||||
|
"@babel/parser": "^7.7.4", |
||||||
|
"@babel/register": "7.0.0", |
||||||
|
"@vue/cli-plugin-babel": "3.5.3", |
||||||
|
"@vue/cli-plugin-eslint": "^3.9.1", |
||||||
|
"@vue/cli-plugin-unit-jest": "3.5.3", |
||||||
|
"@vue/cli-service": "3.5.3", |
||||||
|
"@vue/test-utils": "1.0.0-beta.29", |
||||||
|
"autoprefixer": "^9.5.1", |
||||||
|
"babel-core": "7.0.0-bridge.0", |
||||||
|
"babel-eslint": "10.0.1", |
||||||
|
"babel-jest": "23.6.0", |
||||||
|
"chalk": "2.4.2", |
||||||
|
"chokidar": "2.1.5", |
||||||
|
"connect": "3.6.6", |
||||||
|
"eslint": "5.15.3", |
||||||
|
"eslint-plugin-vue": "5.2.2", |
||||||
|
"html-webpack-plugin": "3.2.0", |
||||||
|
"http-proxy-middleware": "^0.19.1", |
||||||
|
"husky": "1.3.1", |
||||||
|
"lint-staged": "8.1.5", |
||||||
|
"mockjs": "1.0.1-beta3", |
||||||
|
"node-sass": "^4.14.1", |
||||||
|
"plop": "2.3.0", |
||||||
|
"runjs": "^4.3.2", |
||||||
|
"sass-loader": "^7.1.0", |
||||||
|
"script-ext-html-webpack-plugin": "2.1.3", |
||||||
|
"script-loader": "0.7.2", |
||||||
|
"serve-static": "^1.13.2", |
||||||
|
"svg-sprite-loader": "4.1.3", |
||||||
|
"svgo": "1.2.0", |
||||||
|
"vue-template-compiler": "2.6.10" |
||||||
|
}, |
||||||
|
"engines": { |
||||||
|
"node": ">=8.9", |
||||||
|
"npm": ">= 3.0.0" |
||||||
|
}, |
||||||
|
"browserslist": [ |
||||||
|
"> 1%", |
||||||
|
"last 2 versions" |
||||||
|
] |
||||||
|
} |
After Width: | Height: | Size: 5.7 KiB |
After Width: | Height: | Size: 6.5 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 32 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 27 KiB |
After Width: | Height: | Size: 39 KiB |
After Width: | Height: | Size: 34 KiB |
After Width: | Height: | Size: 51 KiB |
After Width: | Height: | Size: 42 KiB |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 2.6 KiB |
@ -0,0 +1,214 @@ |
|||||||
|
<!DOCTYPE html> |
||||||
|
<html> |
||||||
|
<head> |
||||||
|
<meta charset="utf-8"> |
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
||||||
|
<meta name="renderer" content="webkit"> |
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> |
||||||
|
<link rel="icon" href="<%= BASE_URL %>favicon.ico"> |
||||||
|
<title><%= webpackConfig.name %></title> |
||||||
|
<style> |
||||||
|
html, |
||||||
|
body, |
||||||
|
#app { |
||||||
|
height: 100%; |
||||||
|
margin: 0px; |
||||||
|
padding: 0px; |
||||||
|
} |
||||||
|
.chromeframe { |
||||||
|
margin: 0.2em 0; |
||||||
|
background: #ccc; |
||||||
|
color: #000; |
||||||
|
padding: 0.2em 0; |
||||||
|
} |
||||||
|
|
||||||
|
#loader-wrapper { |
||||||
|
position: fixed; |
||||||
|
top: 0; |
||||||
|
left: 0; |
||||||
|
width: 100%; |
||||||
|
height: 100%; |
||||||
|
z-index: 999999; |
||||||
|
} |
||||||
|
|
||||||
|
#loader { |
||||||
|
display: block; |
||||||
|
position: relative; |
||||||
|
left: 50%; |
||||||
|
top: 50%; |
||||||
|
width: 150px; |
||||||
|
height: 150px; |
||||||
|
margin: -75px 0 0 -75px; |
||||||
|
border-radius: 50%; |
||||||
|
border: 3px solid transparent; |
||||||
|
border-top-color: #FFF; |
||||||
|
-webkit-animation: spin 2s linear infinite; |
||||||
|
-ms-animation: spin 2s linear infinite; |
||||||
|
-moz-animation: spin 2s linear infinite; |
||||||
|
-o-animation: spin 2s linear infinite; |
||||||
|
animation: spin 2s linear infinite; |
||||||
|
z-index: 1001; |
||||||
|
} |
||||||
|
|
||||||
|
#loader:before { |
||||||
|
content: ""; |
||||||
|
position: absolute; |
||||||
|
top: 5px; |
||||||
|
left: 5px; |
||||||
|
right: 5px; |
||||||
|
bottom: 5px; |
||||||
|
border-radius: 50%; |
||||||
|
border: 3px solid transparent; |
||||||
|
border-top-color: #FFF; |
||||||
|
-webkit-animation: spin 3s linear infinite; |
||||||
|
-moz-animation: spin 3s linear infinite; |
||||||
|
-o-animation: spin 3s linear infinite; |
||||||
|
-ms-animation: spin 3s linear infinite; |
||||||
|
animation: spin 3s linear infinite; |
||||||
|
} |
||||||
|
|
||||||
|
#loader:after { |
||||||
|
content: ""; |
||||||
|
position: absolute; |
||||||
|
top: 15px; |
||||||
|
left: 15px; |
||||||
|
right: 15px; |
||||||
|
bottom: 15px; |
||||||
|
border-radius: 50%; |
||||||
|
border: 3px solid transparent; |
||||||
|
border-top-color: #FFF; |
||||||
|
-moz-animation: spin 1.5s linear infinite; |
||||||
|
-o-animation: spin 1.5s linear infinite; |
||||||
|
-ms-animation: spin 1.5s linear infinite; |
||||||
|
-webkit-animation: spin 1.5s linear infinite; |
||||||
|
animation: spin 1.5s linear infinite; |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
@-webkit-keyframes spin { |
||||||
|
0% { |
||||||
|
-webkit-transform: rotate(0deg); |
||||||
|
-ms-transform: rotate(0deg); |
||||||
|
transform: rotate(0deg); |
||||||
|
} |
||||||
|
100% { |
||||||
|
-webkit-transform: rotate(360deg); |
||||||
|
-ms-transform: rotate(360deg); |
||||||
|
transform: rotate(360deg); |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
@keyframes spin { |
||||||
|
0% { |
||||||
|
-webkit-transform: rotate(0deg); |
||||||
|
-ms-transform: rotate(0deg); |
||||||
|
transform: rotate(0deg); |
||||||
|
} |
||||||
|
100% { |
||||||
|
-webkit-transform: rotate(360deg); |
||||||
|
-ms-transform: rotate(360deg); |
||||||
|
transform: rotate(360deg); |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
#loader-wrapper .loader-section { |
||||||
|
position: fixed; |
||||||
|
top: 0; |
||||||
|
width: 51%; |
||||||
|
height: 100%; |
||||||
|
background: #7171C6; |
||||||
|
z-index: 1000; |
||||||
|
-webkit-transform: translateX(0); |
||||||
|
-ms-transform: translateX(0); |
||||||
|
transform: translateX(0); |
||||||
|
} |
||||||
|
|
||||||
|
#loader-wrapper .loader-section.section-left { |
||||||
|
left: 0; |
||||||
|
} |
||||||
|
|
||||||
|
#loader-wrapper .loader-section.section-right { |
||||||
|
right: 0; |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
.loaded #loader-wrapper .loader-section.section-left { |
||||||
|
-webkit-transform: translateX(-100%); |
||||||
|
-ms-transform: translateX(-100%); |
||||||
|
transform: translateX(-100%); |
||||||
|
-webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000); |
||||||
|
transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000); |
||||||
|
} |
||||||
|
|
||||||
|
.loaded #loader-wrapper .loader-section.section-right { |
||||||
|
-webkit-transform: translateX(100%); |
||||||
|
-ms-transform: translateX(100%); |
||||||
|
transform: translateX(100%); |
||||||
|
-webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000); |
||||||
|
transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000); |
||||||
|
} |
||||||
|
|
||||||
|
.loaded #loader { |
||||||
|
opacity: 0; |
||||||
|
-webkit-transition: all 0.3s ease-out; |
||||||
|
transition: all 0.3s ease-out; |
||||||
|
} |
||||||
|
|
||||||
|
.loaded #loader-wrapper { |
||||||
|
visibility: hidden; |
||||||
|
-webkit-transform: translateY(-100%); |
||||||
|
-ms-transform: translateY(-100%); |
||||||
|
transform: translateY(-100%); |
||||||
|
-webkit-transition: all 0.3s 1s ease-out; |
||||||
|
transition: all 0.3s 1s ease-out; |
||||||
|
} |
||||||
|
|
||||||
|
.no-js #loader-wrapper { |
||||||
|
display: none; |
||||||
|
} |
||||||
|
|
||||||
|
.no-js h1 { |
||||||
|
color: #222222; |
||||||
|
} |
||||||
|
|
||||||
|
#loader-wrapper .load_title { |
||||||
|
font-family: 'Open Sans'; |
||||||
|
color: #FFF; |
||||||
|
font-size: 19px; |
||||||
|
width: 100%; |
||||||
|
text-align: center; |
||||||
|
z-index: 9999999999999; |
||||||
|
position: absolute; |
||||||
|
top: 60%; |
||||||
|
opacity: 1; |
||||||
|
line-height: 30px; |
||||||
|
} |
||||||
|
|
||||||
|
#loader-wrapper .load_title span { |
||||||
|
font-weight: normal; |
||||||
|
font-style: italic; |
||||||
|
font-size: 13px; |
||||||
|
color: #FFF; |
||||||
|
opacity: 0.5; |
||||||
|
} |
||||||
|
.amap-logo{ |
||||||
|
display: none; |
||||||
|
opacity:0 !important; |
||||||
|
} |
||||||
|
.amap-copyright { |
||||||
|
opacity:0; |
||||||
|
} |
||||||
|
</style> |
||||||
|
</head> |
||||||
|
<body> |
||||||
|
<div id="app"> |
||||||
|
<div id="loader-wrapper"> |
||||||
|
<div id="loader"></div> |
||||||
|
<div class="loader-section section-left"></div> |
||||||
|
<div class="loader-section section-right"></div> |
||||||
|
<div class="load_title">正在加载系统资源,请耐心等待</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</body> |
||||||
|
</html> |
@ -0,0 +1,289 @@ |
|||||||
|
{ |
||||||
|
"features": [ |
||||||
|
{ |
||||||
|
"geometry": { |
||||||
|
"coordinates": [ |
||||||
|
[ |
||||||
|
[ |
||||||
|
[ |
||||||
|
115.225548125, |
||||||
|
38.1314882636719 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.252345, |
||||||
|
38.1254799628907 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.272388945313, |
||||||
|
38.1299733710938 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.322301054688, |
||||||
|
38.1177126289063 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.332345, |
||||||
|
38.1199636054688 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.351676054688, |
||||||
|
38.115630109375 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.357345, |
||||||
|
38.123843 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.3637121875, |
||||||
|
38.1202114082031 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.381431914063, |
||||||
|
38.0866139960938 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.402345, |
||||||
|
38.0944972968751 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.439693632813, |
||||||
|
38.0804201484376 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.447345, |
||||||
|
38.093843 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.478428984375, |
||||||
|
38.0858657050781 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.46142703125, |
||||||
|
38.0597585273438 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.45326296875, |
||||||
|
38.0379274726563 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.44107546875, |
||||||
|
38.0295131660156 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.44361453125, |
||||||
|
38.0181728339844 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.430103789063, |
||||||
|
38.008843 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.44361453125, |
||||||
|
37.9995131660157 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.440103789063, |
||||||
|
37.9838430000001 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.451397734375, |
||||||
|
37.9334499335937 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.412345, |
||||||
|
37.9422060371094 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.40326296875, |
||||||
|
37.9179274726562 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.35326296875, |
||||||
|
37.8992189765625 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.36142703125, |
||||||
|
37.8779274726562 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.39142703125, |
||||||
|
37.8667018867188 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.38326296875, |
||||||
|
37.8579274726563 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.360303984375, |
||||||
|
37.8493361640625 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.348980742188, |
||||||
|
37.7988430000001 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.355235625, |
||||||
|
37.7709572578125 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.336261015625, |
||||||
|
37.7418202949219 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.367345, |
||||||
|
37.733843 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.367345, |
||||||
|
37.7238430000001 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.387345, |
||||||
|
37.7238430000001 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.37521609375, |
||||||
|
37.7008144355469 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.33853640625, |
||||||
|
37.7172927070313 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.3091028125, |
||||||
|
37.691059796875 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.31865359375, |
||||||
|
37.6698000312501 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.300797148438, |
||||||
|
37.6603932929688 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.284991484375, |
||||||
|
37.6303932929688 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.250797148438, |
||||||
|
37.6372927070313 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.247345, |
||||||
|
37.6438430000001 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.254444609375, |
||||||
|
37.6870705390626 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.236549101563, |
||||||
|
37.7167372871094 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.211690703125, |
||||||
|
37.7359242988282 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.150445585938, |
||||||
|
37.7609914375001 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.15478640625, |
||||||
|
37.7903786445313 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.137345, |
||||||
|
37.8038430000001 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.142882109375, |
||||||
|
37.8185781074219 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.1418371875, |
||||||
|
37.8288430000001 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.142896757813, |
||||||
|
37.839233625 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.119288359375, |
||||||
|
37.858843 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.142808867188, |
||||||
|
37.8783803535156 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.156783476563, |
||||||
|
37.9260036445312 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.141881132813, |
||||||
|
37.9383803535157 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.132808867188, |
||||||
|
37.9503249335938 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.158189726563, |
||||||
|
37.9477370429688 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.171881132813, |
||||||
|
37.9793056464844 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.182808867188, |
||||||
|
37.9883803535157 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.191881132813, |
||||||
|
37.9993056464845 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.2114465625, |
||||||
|
38.0155580878906 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.180816679688, |
||||||
|
38.0288430000001 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.21935671875, |
||||||
|
38.0455580878907 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.187642851563, |
||||||
|
38.0719020820313 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.202808867188, |
||||||
|
38.0983803535157 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.207345, |
||||||
|
38.123843 |
||||||
|
], |
||||||
|
[ |
||||||
|
115.225548125, |
||||||
|
38.1314882636719 |
||||||
|
] |
||||||
|
] |
||||||
|
] |
||||||
|
], |
||||||
|
"type": "MultiPolygon" |
||||||
|
}, |
||||||
|
"properties": { |
||||||
|
"name": "辛集市" |
||||||
|
}, |
||||||
|
"type": "Feature" |
||||||
|
} |
||||||
|
], |
||||||
|
"type": "FeatureCollection" |
||||||
|
} |
||||||
|
|