first commit
5
.editorconfig
Normal file
@@ -0,0 +1,5 @@
|
||||
[*.{js,jsx,ts,tsx,vue}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
17
.eslintrc.js
Normal file
@@ -0,0 +1,17 @@
|
||||
module.exports = {
|
||||
root: true,
|
||||
env: {
|
||||
node: true
|
||||
},
|
||||
'extends': [
|
||||
'plugin:vue/essential',
|
||||
'@vue/standard'
|
||||
],
|
||||
rules: {
|
||||
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
||||
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
|
||||
},
|
||||
parserOptions: {
|
||||
parser: 'babel-eslint'
|
||||
}
|
||||
}
|
||||
15
.gitignore
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
.DS_Store
|
||||
node_modules/
|
||||
/dist/
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
/数字园区项目
|
||||
|
||||
# Editor directories and files
|
||||
.idea
|
||||
.vscode
|
||||
*.suo
|
||||
*.ntvs*
|
||||
*.njsproj
|
||||
*.sln
|
||||
24
README.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# intelligentbuilding
|
||||
|
||||
## Project setup
|
||||
```
|
||||
npm install
|
||||
```
|
||||
|
||||
### Compiles and hot-reloads for development
|
||||
```
|
||||
npm run serve
|
||||
```
|
||||
|
||||
### Compiles and minifies for production
|
||||
```
|
||||
npm run build
|
||||
```
|
||||
|
||||
### Lints and fixes files
|
||||
```
|
||||
npm run lint
|
||||
```
|
||||
|
||||
### Customize configuration
|
||||
See [Configuration Reference](https://cli.vuejs.org/config/).
|
||||
14
babel.config.js
Normal file
@@ -0,0 +1,14 @@
|
||||
module.exports = {
|
||||
presets: [
|
||||
'@vue/cli-plugin-babel/preset'
|
||||
],
|
||||
'plugins': [
|
||||
[
|
||||
'component',
|
||||
{
|
||||
'libraryName': 'element-ui',
|
||||
'styleLibraryName': 'theme-chalk'
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
20
nginx.conf
Normal file
@@ -0,0 +1,20 @@
|
||||
# ================= Dockerfile (前端 Nginx 构建) =================
|
||||
FROM node:14-alpine AS builder
|
||||
WORKDIR /app
|
||||
COPY package*.json ./
|
||||
RUN npm install --registry=https://registry.npmmirror.com
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
|
||||
# ================= 生产镜像 =================
|
||||
FROM nginx:alpine
|
||||
# Nginx 配置
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
# 复制构建产物(vue.config.js 中 outputDir: '数字园区项目')
|
||||
COPY --from=builder /app/数字园区项目 /usr/share/nginx/html
|
||||
EXPOSE 80
|
||||
|
||||
FROM nginx:alpine
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
# vue.config.js outputDir = '数字园区项目'
|
||||
COPY E:\project\web\vue\园区项目\
|
||||
17683
package-lock.json
generated
Normal file
46
package.json
Normal file
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"name": "intelligentbuilding",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"serve": "vue-cli-service serve",
|
||||
"build": "vue-cli-service build",
|
||||
"lint": "vue-cli-service lint"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.14.6",
|
||||
"@babel/preset-env": "^7.14.7",
|
||||
"axios": "^0.19.2",
|
||||
"babel-plugin-transform-remove-console": "^6.9.4",
|
||||
"core-js": "^3.4.4",
|
||||
"echarts": "^4.9.0",
|
||||
"echarts-liquidfill": "^2.0.6",
|
||||
"element-ui": "^2.15.6",
|
||||
"jquery": "^3.6.0",
|
||||
"lodash": "^4.17.15",
|
||||
"nprogress": "^0.2.0",
|
||||
"qs": "^6.10.1",
|
||||
"three": "^0.130.1",
|
||||
"tween": "^0.9.0",
|
||||
"vue": "^2.6.10",
|
||||
"vue-quill-editor": "^3.0.6",
|
||||
"vue-router": "^3.1.3",
|
||||
"vue-table-with-tree-grid": "^0.2.4",
|
||||
"vuex": "^3.6.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
||||
"@vue/cli-plugin-babel": "^4.1.0",
|
||||
"@vue/cli-plugin-eslint": "^4.1.0",
|
||||
"@vue/cli-service": "^4.1.0",
|
||||
"@vue/eslint-config-standard": "^4.0.0",
|
||||
"babel-eslint": "^10.0.3",
|
||||
"babel-plugin-component": "^1.1.1",
|
||||
"eslint": "^5.16.0",
|
||||
"eslint-plugin-vue": "^5.0.0",
|
||||
"less": "^3.10.3",
|
||||
"less-loader": "^5.0.0",
|
||||
"vue-cli-plugin-element": "^1.0.1",
|
||||
"vue-template-compiler": "^2.6.10"
|
||||
}
|
||||
}
|
||||
11855
pnpm-lock.yaml
generated
Normal file
BIN
public/ambient/BK.jpg
Normal file
|
After Width: | Height: | Size: 102 KiB |
BIN
public/ambient/DN.jpg
Normal file
|
After Width: | Height: | Size: 71 KiB |
BIN
public/ambient/FR.jpg
Normal file
|
After Width: | Height: | Size: 100 KiB |
BIN
public/ambient/LF.jpg
Normal file
|
After Width: | Height: | Size: 99 KiB |
BIN
public/ambient/RT.jpg
Normal file
|
After Width: | Height: | Size: 94 KiB |
BIN
public/ambient/UP.jpg
Normal file
|
After Width: | Height: | Size: 80 KiB |
BIN
public/ambient/lightray.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
public/ambient/nx.jpg
Normal file
|
After Width: | Height: | Size: 253 KiB |
BIN
public/ambient/ny.jpg
Normal file
|
After Width: | Height: | Size: 341 KiB |
BIN
public/ambient/nz.jpg
Normal file
|
After Width: | Height: | Size: 364 KiB |
BIN
public/ambient/particles.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
public/ambient/px.jpg
Normal file
|
After Width: | Height: | Size: 260 KiB |
BIN
public/ambient/py.jpg
Normal file
|
After Width: | Height: | Size: 385 KiB |
BIN
public/ambient/pz.jpg
Normal file
|
After Width: | Height: | Size: 406 KiB |
BIN
public/favicon.ico
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
public/imges/4K/lixian2.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
public/imges/Button.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
public/imges/Button2.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
public/imges/biaoti.png
Normal file
|
After Width: | Height: | Size: 593 B |
BIN
public/imges/biaoti1.png
Normal file
|
After Width: | Height: | Size: 627 B |
BIN
public/imges/building/bei/shang.png
Normal file
|
After Width: | Height: | Size: 308 KiB |
BIN
public/imges/building/bei/you.png
Normal file
|
After Width: | Height: | Size: 536 KiB |
BIN
public/imges/building/bei/zuo.png
Normal file
|
After Width: | Height: | Size: 539 KiB |
BIN
public/imges/building/control/background.png
Normal file
|
After Width: | Height: | Size: 316 KiB |
BIN
public/imges/building/control/bottom.png
Normal file
|
After Width: | Height: | Size: 6.7 KiB |
BIN
public/imges/building/control/collect.png
Normal file
|
After Width: | Height: | Size: 456 B |
BIN
public/imges/building/control/display.png
Normal file
|
After Width: | Height: | Size: 7.7 KiB |
BIN
public/imges/building/control/exhibition.png
Normal file
|
After Width: | Height: | Size: 511 B |
BIN
public/imges/building/control/nenghao/fengXuan.png
Normal file
|
After Width: | Height: | Size: 4.9 KiB |
BIN
public/imges/building/control/nenghao/fxtp.png
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
public/imges/building/control/nenghao/leiji.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
public/imges/building/control/nenghao/lianDu.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
public/imges/building/control/nenghao/tuBiao.png
Normal file
|
After Width: | Height: | Size: 4.6 KiB |
BIN
public/imges/building/control/status.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
public/imges/building/control/status2.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
public/imges/building/control/status3.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
public/imges/building/control/tu.png
Normal file
|
After Width: | Height: | Size: 49 KiB |
BIN
public/imges/building/control/zuo_display.png
Normal file
|
After Width: | Height: | Size: 5.8 KiB |
BIN
public/imges/building/ico/anfang.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
public/imges/building/ico/anfang2.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
public/imges/building/ico/biao.png
Normal file
|
After Width: | Height: | Size: 100 B |
BIN
public/imges/building/ico/cha.png
Normal file
|
After Width: | Height: | Size: 605 B |
BIN
public/imges/building/ico/dian.png
Normal file
|
After Width: | Height: | Size: 456 B |
BIN
public/imges/building/ico/dianLiang.png
Normal file
|
After Width: | Height: | Size: 699 B |
BIN
public/imges/building/ico/fanhui.png
Normal file
|
After Width: | Height: | Size: 939 B |
BIN
public/imges/building/ico/gaoYa.png
Normal file
|
After Width: | Height: | Size: 470 B |
BIN
public/imges/building/ico/haoneng.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
public/imges/building/ico/haoneng2.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
public/imges/building/ico/lingSheng.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
public/imges/building/ico/lou.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
public/imges/building/ico/lou2.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
public/imges/building/ico/men.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
public/imges/building/ico/men2.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
public/imges/building/ico/open.png
Normal file
|
After Width: | Height: | Size: 6.5 KiB |
BIN
public/imges/building/ico/police.png
Normal file
|
After Width: | Height: | Size: 6.2 KiB |
BIN
public/imges/building/ico/qidong.png
Normal file
|
After Width: | Height: | Size: 391 B |
BIN
public/imges/building/ico/retreat.png
Normal file
|
After Width: | Height: | Size: 6.9 KiB |
BIN
public/imges/building/ico/shengbei.png
Normal file
|
After Width: | Height: | Size: 522 B |
BIN
public/imges/building/ico/ting.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
public/imges/building/ico/ting2.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
public/imges/building/ico/wengdu.png
Normal file
|
After Width: | Height: | Size: 406 B |
BIN
public/imges/building/ico/xian.png
Normal file
|
After Width: | Height: | Size: 111 B |
BIN
public/imges/building/ico/xian2.png
Normal file
|
After Width: | Height: | Size: 109 B |
BIN
public/imges/building/ico/xiao.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
public/imges/building/ico/xiao2.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
public/imges/building/ico/yaqiang.png
Normal file
|
After Width: | Height: | Size: 515 B |
BIN
public/imges/building/ico/yunxing.png
Normal file
|
After Width: | Height: | Size: 457 B |
BIN
public/imges/building/ico/zong.png
Normal file
|
After Width: | Height: | Size: 6.3 KiB |
BIN
public/imges/building/imgs/stage.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
public/imges/building/imgs/total.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
public/imges/building/imgs/use.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
public/imges/building/police/beijinghong.png
Normal file
|
After Width: | Height: | Size: 5.7 KiB |
BIN
public/imges/building/police/fanzmx.png
Normal file
|
After Width: | Height: | Size: 122 KiB |
BIN
public/imges/building/police/hanse.png
Normal file
|
After Width: | Height: | Size: 632 B |
BIN
public/imges/building/police/jingji.png
Normal file
|
After Width: | Height: | Size: 669 B |
BIN
public/imges/building/police/kuang.png
Normal file
|
After Width: | Height: | Size: 700 B |
BIN
public/imges/building/police/tankuanghong.png
Normal file
|
After Width: | Height: | Size: 4.5 KiB |
BIN
public/imges/building/police/teji.png
Normal file
|
After Width: | Height: | Size: 761 B |
BIN
public/imges/building/police/yiban.png
Normal file
|
After Width: | Height: | Size: 635 B |
BIN
public/imges/building/supervise/beijing.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
public/imges/building/supervise/caidan.png
Normal file
|
After Width: | Height: | Size: 8.0 KiB |
BIN
public/imges/building/supervise/caidan2.png
Normal file
|
After Width: | Height: | Size: 4.8 KiB |
BIN
public/imges/building/supervise/caidan3.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
public/imges/building/supervise/ico/Pin.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
public/imges/building/supervise/ico/biaoji.png
Normal file
|
After Width: | Height: | Size: 618 B |
BIN
public/imges/building/supervise/ico/biaojian.png
Normal file
|
After Width: | Height: | Size: 615 B |
BIN
public/imges/building/supervise/ico/gongcheng.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
public/imges/building/supervise/ico/guan.png
Normal file
|
After Width: | Height: | Size: 469 B |
BIN
public/imges/building/supervise/ico/kai.png
Normal file
|
After Width: | Height: | Size: 447 B |
BIN
public/imges/building/supervise/ico/shangchuan.png
Normal file
|
After Width: | Height: | Size: 508 B |
BIN
public/imges/building/supervise/ico/上传 暗.png
Normal file
|
After Width: | Height: | Size: 499 B |