@ -0,0 +1,16 @@ |
|||||||
|
# 开发环境配置 |
||||||
|
ENV = 'development' |
||||||
|
|
||||||
|
# KeySaas测试云平台/开发环境 |
||||||
|
VUE_APP_BASE_API = '/test-api' |
||||||
|
|
||||||
|
|
||||||
|
VUE_APP_BASE_TARGET = 'http://192.168.0.229:9999' |
||||||
|
# VUE_APP_BASE_TARGET = 'http://192.168.0.135:9999' |
||||||
|
# VUE_APP_BASE_TARGET = 'http://172.16.36.180:9999' |
||||||
|
# VUE_APP_BASE_TARGET = 'http://172.16.36.176:9998' |
||||||
|
|
||||||
|
# VUE_APP_BASE_TARGET = 'http://www.keyitest.cn/test-api' |
||||||
|
|
||||||
|
# 路由懒加载 |
||||||
|
VUE_CLI_BABEL_TRANSPILE_MODULES = true |
@ -0,0 +1,12 @@ |
|||||||
|
# 生产环境配置 |
||||||
|
ENV = 'production' |
||||||
|
|
||||||
|
# KeySaas测试云平台/生产环境 |
||||||
|
# VUE_APP_BASE_API = 'https://www.keyitest.cn/prod-api' |
||||||
|
# VUE_APP_BASE_API = '/test-api' |
||||||
|
VUE_APP_BASE_API = '/prod-api' |
||||||
|
|
||||||
|
|
||||||
|
VUE_APP_BASE_TARGET = 'https://www.keyitest.cn/prod-api' |
||||||
|
# VUE_APP_BASE_TARGET = 'http://www.keyitest.cn/test-api' |
||||||
|
# VUE_APP_BASE_TARGET = 'http://192.168.0.229:9999' |
@ -0,0 +1,7 @@ |
|||||||
|
NODE_ENV = production |
||||||
|
|
||||||
|
# 测试环境配置 |
||||||
|
ENV = 'staging' |
||||||
|
|
||||||
|
# KeySaas测试云平台/测试环境 |
||||||
|
VUE_APP_BASE_API = '/stage-api' |
@ -0,0 +1,29 @@ |
|||||||
|
.DS_Store |
||||||
|
node_modules |
||||||
|
/dist |
||||||
|
|
||||||
|
/tests/e2e/videos/ |
||||||
|
/tests/e2e/screenshots/ |
||||||
|
|
||||||
|
# local env files |
||||||
|
.env.local |
||||||
|
.env.*.local |
||||||
|
|
||||||
|
# Log files |
||||||
|
npm-debug.log* |
||||||
|
yarn-debug.log* |
||||||
|
yarn-error.log* |
||||||
|
|
||||||
|
# Editor directories and files |
||||||
|
.idea |
||||||
|
.vscode |
||||||
|
.tags |
||||||
|
*.suo |
||||||
|
*.ntvs* |
||||||
|
*.njsproj |
||||||
|
*.sln |
||||||
|
*.sw* |
||||||
|
|
||||||
|
# Lock File |
||||||
|
package-lock.json |
||||||
|
yarn.lock |
@ -0,0 +1,16 @@ |
|||||||
|
# 关键测试云平台 |
||||||
|
|
||||||
|
## Project setup |
||||||
|
``` |
||||||
|
npm install |
||||||
|
``` |
||||||
|
|
||||||
|
### Compiles and hot-reloads for development |
||||||
|
``` |
||||||
|
npm run server |
||||||
|
``` |
||||||
|
|
||||||
|
### Compiles and minifies for production |
||||||
|
``` |
||||||
|
npm run build |
||||||
|
``` |
@ -0,0 +1,5 @@ |
|||||||
|
module.exports = { |
||||||
|
presets: [ |
||||||
|
'@vue/app' |
||||||
|
] |
||||||
|
} |
@ -0,0 +1,17 @@ |
|||||||
|
'use strict' |
||||||
|
const path = require('path') |
||||||
|
|
||||||
|
function resolve (dir) { |
||||||
|
return path.join(__dirname, '.', dir) |
||||||
|
} |
||||||
|
|
||||||
|
module.exports = { |
||||||
|
context: path.resolve(__dirname, './'), |
||||||
|
resolve: { |
||||||
|
extensions: ['.js', '.vue', '.json'], |
||||||
|
alias: { |
||||||
|
'@': resolve('src'), |
||||||
|
'_c': resolve('src/components') |
||||||
|
} |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,51 @@ |
|||||||
|
{ |
||||||
|
"name": "crux", |
||||||
|
"version": "0.1.0", |
||||||
|
"private": true, |
||||||
|
"author": "'quzhixuan' <q809740908@163.com>", |
||||||
|
"scripts": { |
||||||
|
"server": "vue-cli-service serve", |
||||||
|
"build": "vue-cli-service build" |
||||||
|
}, |
||||||
|
"dependencies": { |
||||||
|
"@xkeshi/vue-qrcode": "^1.0.0", |
||||||
|
"axios": "^0.18.0", |
||||||
|
"babel-polyfill": "^6.26.0", |
||||||
|
"crypto-js": "^4.2.0", |
||||||
|
"element-ui": "^2.15.6", |
||||||
|
"jquery": "^3.6.0", |
||||||
|
"mint-ui": "^2.2.9", |
||||||
|
"nprogress": "^0.2.0", |
||||||
|
"qrcodejs2": "^0.0.2", |
||||||
|
"quill": "^1.3.7", |
||||||
|
"quill-image-drop-module": "^1.0.3", |
||||||
|
"quill-image-extend-module": "^1.1.2", |
||||||
|
"quill-image-resize-module": "^3.0.0", |
||||||
|
"sever": "^0.0.2", |
||||||
|
"v-distpicker": "^1.2.12", |
||||||
|
"vconsole": "^3.7.0", |
||||||
|
"vue": "2.5.16", |
||||||
|
"vue-clipboard2": "^0.3.3", |
||||||
|
"vue-cropper": "^0.5.7", |
||||||
|
"vue-quill-editor": "^3.0.6", |
||||||
|
"vue-resource": "^1.3.4", |
||||||
|
"vue-router": "^3.5.3", |
||||||
|
"vuex": "^3.0.1", |
||||||
|
"xss": "^1.0.15" |
||||||
|
}, |
||||||
|
"devDependencies": { |
||||||
|
"@vue/cli-plugin-babel": "^3.0.0-rc.5", |
||||||
|
"@vue/cli-service": "^3.0.0-rc.5", |
||||||
|
"vue-template-compiler": "^2.5.16" |
||||||
|
}, |
||||||
|
"postcss": { |
||||||
|
"plugins": { |
||||||
|
"autoprefixer": {} |
||||||
|
} |
||||||
|
}, |
||||||
|
"browserslist": [ |
||||||
|
"> 1%", |
||||||
|
"last 2 versions", |
||||||
|
"not ie <= 8" |
||||||
|
] |
||||||
|
} |
After Width: | Height: | Size: 8.0 KiB |
After Width: | Height: | Size: 9.8 KiB |
After Width: | Height: | Size: 266 KiB |
After Width: | Height: | Size: 5.9 KiB |
After Width: | Height: | Size: 149 KiB |
After Width: | Height: | Size: 102 KiB |
After Width: | Height: | Size: 7.8 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 175 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 167 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 29 KiB |
After Width: | Height: | Size: 34 KiB |
After Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 42 KiB |
After Width: | Height: | Size: 41 KiB |
After Width: | Height: | Size: 95 KiB |
After Width: | Height: | Size: 111 KiB |
After Width: | Height: | Size: 111 KiB |
After Width: | Height: | Size: 148 KiB |
After Width: | Height: | Size: 72 KiB |
After Width: | Height: | Size: 91 KiB |
After Width: | Height: | Size: 3.9 KiB |
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 4.9 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 232 KiB |
After Width: | Height: | Size: 206 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 617 B |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 163 KiB |
After Width: | Height: | Size: 475 B |
After Width: | Height: | Size: 56 KiB |
After Width: | Height: | Size: 60 KiB |
After Width: | Height: | Size: 49 KiB |
After Width: | Height: | Size: 46 KiB |
After Width: | Height: | Size: 324 KiB |
After Width: | Height: | Size: 4.6 KiB |
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 369 B |
After Width: | Height: | Size: 473 KiB |
After Width: | Height: | Size: 3.9 KiB |
After Width: | Height: | Size: 6.3 KiB |
After Width: | Height: | Size: 8.6 KiB |
After Width: | Height: | Size: 687 KiB |
After Width: | Height: | Size: 7.8 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 409 KiB |
After Width: | Height: | Size: 736 KiB |
After Width: | Height: | Size: 4.6 KiB |
After Width: | Height: | Size: 612 B |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 513 B |
After Width: | Height: | Size: 95 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 4.5 KiB |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 4.2 KiB |
After Width: | Height: | Size: 5.3 KiB |
After Width: | Height: | Size: 103 KiB |
After Width: | Height: | Size: 263 KiB |
After Width: | Height: | Size: 5.0 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 9.1 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 8.0 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 18 KiB |