huangxingxing 4 anni fa
commit
9794ba03d3
100 ha cambiato i file con 491 aggiunte e 0 eliminazioni
  1. 14 0
      .editorconfig
  2. 9 0
      .env.development
  3. 6 0
      .env.production
  4. 8 0
      .env.staging
  5. 6 0
      .eslintignore
  6. 197 0
      .eslintrc.js
  7. 17 0
      .gitignore
  8. 4 0
      .prrettierrc
  9. 5 0
      .travis.yml
  10. 21 0
      LICENSE
  11. 112 0
      README-zh.md
  12. 40 0
      VScodeSettings.txt
  13. 5 0
      babel.config.js
  14. 40 0
      build/index.js
  15. BIN
      dist/favicon.ico
  16. 0 0
      dist/index.html
  17. 0 0
      dist/static/css/app.723ab046.css
  18. 0 0
      dist/static/css/chunk-020432a4.37689f6d.css
  19. 1 0
      dist/static/css/chunk-0650a81c.7a8ef8cd.css
  20. 0 0
      dist/static/css/chunk-07ce852e.786ad0c2.css
  21. 1 0
      dist/static/css/chunk-08b5f3c9.c7d4bd22.css
  22. 1 0
      dist/static/css/chunk-09e7ebe4.ae35449b.css
  23. 0 0
      dist/static/css/chunk-0dc3e4bb.38e06d3f.css
  24. 0 0
      dist/static/css/chunk-1758822a.6aa0b4a5.css
  25. 0 0
      dist/static/css/chunk-20759e2b.d888c3cc.css
  26. 0 0
      dist/static/css/chunk-214b04fa.2711e18b.css
  27. 0 0
      dist/static/css/chunk-23d7a281.514e38da.css
  28. 0 0
      dist/static/css/chunk-24ec7dca.71970124.css
  29. 1 0
      dist/static/css/chunk-2766c6bf.e1911b34.css
  30. 0 0
      dist/static/css/chunk-29765edc.9a5eec18.css
  31. 0 0
      dist/static/css/chunk-2a203f7c.63835719.css
  32. 0 0
      dist/static/css/chunk-2d1d4db8.24d0a9bd.css
  33. 0 0
      dist/static/css/chunk-2d26d73c.327242af.css
  34. 0 0
      dist/static/css/chunk-2f4f0752.435b0ffc.css
  35. 0 0
      dist/static/css/chunk-3c3aede6.a87e22ac.css
  36. 0 0
      dist/static/css/chunk-4af08d2c.67455682.css
  37. 1 0
      dist/static/css/chunk-4fcff704.7c371835.css
  38. 1 0
      dist/static/css/chunk-556eff1e.63cefe82.css
  39. 0 0
      dist/static/css/chunk-56fee1d8.6af167e2.css
  40. 0 0
      dist/static/css/chunk-5ad913a8.e2772d58.css
  41. 1 0
      dist/static/css/chunk-5be09f3d.dc722816.css
  42. 0 0
      dist/static/css/chunk-69c5781a.5626a224.css
  43. 0 0
      dist/static/css/chunk-6fb36029.5fd6a0e6.css
  44. 0 0
      dist/static/css/chunk-70537de9.7f7199ab.css
  45. 0 0
      dist/static/css/chunk-70f63fb9.6c0068fe.css
  46. 0 0
      dist/static/css/chunk-77d29506.74067415.css
  47. 0 0
      dist/static/css/chunk-79255b0a.c3deedb4.css
  48. 0 0
      dist/static/css/chunk-7a29a0c8.e7c7ee4d.css
  49. 0 0
      dist/static/css/chunk-7c404ab9.fcbc7a10.css
  50. 0 0
      dist/static/css/chunk-81aeaf6a.1b9700c7.css
  51. 0 0
      dist/static/css/chunk-841c55d0.c52df32a.css
  52. 0 0
      dist/static/css/chunk-8b42a9c6.008b511a.css
  53. 0 0
      dist/static/css/chunk-aab70f8e.ae7c78ad.css
  54. 0 0
      dist/static/css/chunk-be073008.a6f5c4a5.css
  55. 0 0
      dist/static/css/chunk-c33c27a2.1d34cdb9.css
  56. 0 0
      dist/static/css/chunk-c41e70e2.870b4346.css
  57. 0 0
      dist/static/css/chunk-c43786c2.1f54002a.css
  58. 0 0
      dist/static/css/chunk-elementUI.ded27da0.css
  59. 0 0
      dist/static/css/chunk-libs.3dfb7769.css
  60. BIN
      dist/static/fonts/element-icons.535877f5.woff
  61. BIN
      dist/static/fonts/element-icons.732389de.ttf
  62. BIN
      dist/static/img/404.a57b6f31.png
  63. BIN
      dist/static/img/404_cloud.0f4bc32b.png
  64. BIN
      dist/static/img/Agard-wing1.29b50f9a.png
  65. BIN
      dist/static/img/acoustics-bg.383c658c.png
  66. BIN
      dist/static/img/afa1.2a4fc512.png
  67. BIN
      dist/static/img/afa2.f909997b.jpg
  68. BIN
      dist/static/img/b.959fb3b7.jpg
  69. BIN
      dist/static/img/background.e940038e.png
  70. BIN
      dist/static/img/banner1.16dc8dc2.png
  71. BIN
      dist/static/img/beijin.1cfcbce6.png
  72. BIN
      dist/static/img/byy1.49b05952.png
  73. BIN
      dist/static/img/byy2.8f86aa99.png
  74. BIN
      dist/static/img/bzs4_1.7a7d8206.png
  75. BIN
      dist/static/img/car.799b1757.jpg
  76. BIN
      dist/static/img/content.8bd15917.png
  77. BIN
      dist/static/img/copyright.95ad921b.png
  78. BIN
      dist/static/img/copyright1.f47763ca.png
  79. BIN
      dist/static/img/dasai.88c36bec.png
  80. BIN
      dist/static/img/electromagnetism-bg.4ea0edd2.png
  81. BIN
      dist/static/img/fluid-bg.ff8de9c3.png
  82. BIN
      dist/static/img/frame.5e1b5e77.jpg
  83. BIN
      dist/static/img/hcfd1.db80ddd2.png
  84. BIN
      dist/static/img/hcfd2.7f17239c.png
  85. BIN
      dist/static/img/head.61082a6b.png
  86. BIN
      dist/static/img/icon1.9632711f.png
  87. BIN
      dist/static/img/icon2.8915b9a9.png
  88. BIN
      dist/static/img/icon3.db3de3f6.png
  89. BIN
      dist/static/img/jg.520572ba.png
  90. BIN
      dist/static/img/litibj.76ade4fd.png
  91. BIN
      dist/static/img/mode.f276f05d.jpg
  92. BIN
      dist/static/img/optics-bg.9ea965f0.png
  93. BIN
      dist/static/img/physics-bg.84e032cd.png
  94. BIN
      dist/static/img/plane.402f562f.jpg
  95. BIN
      dist/static/img/qy-logo.c0e2d2de.png
  96. BIN
      dist/static/img/qylogo.e6dc030f.png
  97. BIN
      dist/static/img/radiation-bg.80045a4f.png
  98. BIN
      dist/static/img/scan.b9b1fc41.png
  99. BIN
      dist/static/img/starry-sky.fee03ccc.png
  100. BIN
      dist/static/img/structure-bg.c47b281f.png

+ 14 - 0
.editorconfig

@@ -0,0 +1,14 @@
+#编辑配置 http://editorconfig.org
+root = true
+
+[*]
+charset = utf-8
+indent_style = space
+indent_size = 1
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+[*.md]
+insert_final_newline = false
+trim_trailing_whitespace = false

+ 9 - 0
.env.development

@@ -0,0 +1,9 @@
+# 开发环境
+# 使用VUE_CLI_BABEL_TRANSPILE_MODULES环境变量,控制是否启用babel-plugin-dynamic-import-node插件,将所有import()转换为require()。
+# 当有大量的页面时,这种配置可以显著提高热更新的速度。
+
+ENV = 'development'
+
+VUE_APP_BASE_API = '/api'
+
+VUE_CLI_BABEL_TRANSPILE_MODULES = true

+ 6 - 0
.env.production

@@ -0,0 +1,6 @@
+# 正式环境
+
+ENV = 'production'
+
+VUE_APP_BASE_API = ''
+

+ 8 - 0
.env.staging

@@ -0,0 +1,8 @@
+# 测试环境
+
+NODE_ENV = production
+
+ENV = 'staging'
+
+VUE_APP_BASE_API = '/stage-api'
+

+ 6 - 0
.eslintignore

@@ -0,0 +1,6 @@
+# 忽略eslint校验文件
+
+build/*.js
+src/assets
+public
+dist

+ 197 - 0
.eslintrc.js

@@ -0,0 +1,197 @@
+module.exports = {
+    root: true,
+    parserOptions: {
+        parser: 'babel-eslint',
+        sourceType: 'module'
+    },
+    env: {
+        browser: true,
+        node: true,
+        es6: true,
+    },
+    extends: ['plugin:vue/recommended', 'eslint:recommended'],
+
+    // 在此处添加自定义规则
+    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, //在对象中使用getter/setter
+        'arrow-spacing': [2, {
+            'before': true,
+            'after': true
+        }], //=>的前/后括号
+        'block-spacing': [2, 'always'], //块是否需要空格
+        'brace-style': [2, '1tbs', {
+            'allowSingleLine': true
+        }], // if while function 后面的{必须与if在同一行,java风格。
+        'camelcase': [0, {
+            'properties': 'always'
+        }], //强制驼峰法命名
+        'comma-dangle': [2, 'never'], // 数组和对象键值对最后一个逗号, never参数:不能带末尾的逗号, always参数:必须带末尾的逗号, always-multiline:多行模式必须带逗号,单行模式不能带逗号
+        'comma-spacing': [2, {
+            'before': false,
+            'after': true
+        }], // 控制逗号前后的空格
+        'comma-style': [2, 'last'], // 控制逗号在行尾出现还是在行首出现
+        'constructor-super': 2, // 强制在子类构造函数中用super()调用父类构造函数,TypeScrip的编译器也会提示
+        'curly': [2, 'multi-line'], // 强制所有控制语句使用一致的括号风格
+        'dot-location': [2, 'property'], // 强制object.key 中 . 的位置,参数: property,'.'号应与属性在同一行  , object, '.' 号应与对象名在同一行
+        'eol-last': 2, // 文件末尾强制换行
+        'eqeqeq': ["error", "always", { "null": "ignore" }], // 使用 === 替代 ==
+        'generator-star-spacing': [2, {
+            'before': true,
+            'after': true
+        }], //生成器函数*的前后空格
+        'handle-callback-err': [2, '^(err|error)$'], //nodejs 处理错误
+        'indent': [2, 2, {
+            'SwitchCase': 1
+        }], //缩进风格
+        'jsx-quotes': [2, 'prefer-single'], // JSX 属性中一致使用双引号或单引号
+        'key-spacing': [2, {
+            'beforeColon': false,
+            'afterColon': true
+        }], //对象字面量中冒号的前后空格
+        'keyword-spacing': [2, {
+            'before': true,
+            'after': true
+        }],
+        'new-cap': [2, {
+            'newIsCap': true,
+            'capIsNew': false
+        }], //函数名首行大写必须使用new方式调用,首行小写必须用不带new方式调用
+        'new-parens': 2, //new时必须加小括号
+        'no-array-constructor': 2, //禁止使用数组构造器
+        'no-caller': 2, //禁止使用arguments.caller或arguments.callee
+        'no-console': 'off', //禁止使用console
+        'no-class-assign': 2, //禁止给类赋值
+        'no-cond-assign': 2, //禁止在条件表达式中使用赋值语句
+        'no-const-assign': 2, //禁止修改const声明的变量
+        'no-control-regex': 0, //禁止在正则表达式中使用控制字符
+        'no-delete-var': 2, //不能对var声明的变量使用delete操作符
+        'no-dupe-args': 2, //函数参数不能重复
+        'no-dupe-class-members': 2, //不允许类中出现重复的声明
+        'no-dupe-keys': 2, //在创建对象字面量时不允许键重复 {a:1,a:1}
+        'no-duplicate-case': 2, //switch中的case标签不能重复
+        'no-empty-character-class': 2, //正则表达式中的[]内容不能为空
+        'no-empty-pattern': 2, // 禁止使用空解构模式
+        'no-eval': 2, //禁止使用eval
+        'no-ex-assign': 2, //禁止给catch语句中的异常参数赋值
+        'no-extend-native': 2, //禁止扩展native对象
+        'no-extra-bind': 2, //禁止不必要的函数绑定
+        'no-extra-boolean-cast': 2, //禁止不必要的bool转换
+        'no-extra-parens': [2, 'functions'], //禁止非必要的括号
+        'no-fallthrough': 2, //禁止switch穿透
+        'no-floating-decimal': 2, //禁止省略浮点数中的0 .5 3.
+        'no-func-assign': 2, //禁止重复的函数声明
+        'no-implied-eval': 2, //禁止使用隐式eval
+        'no-inner-declarations': [2, 'functions'], //禁止在块语句中使用声明(变量或函数)
+        'no-invalid-regexp': 2, //禁止无效的正则表达式
+        'no-irregular-whitespace': 2, //不能有不规则的空格
+        'no-iterator': 2, //禁止使用__iterator__ 属性
+        'no-label-var': 2, //label名不能与var声明的变量名相同
+        'no-labels': [2, {
+            'allowLoop': false,
+            'allowSwitch': false
+        }], //禁止标签声明
+        'no-lone-blocks': 2, //禁止不必要的嵌套块
+        'no-mixed-spaces-and-tabs': 2, //禁止混用tab和空格
+        'no-multi-spaces': 2, //不能用多余的空格
+        'no-multi-str': 2, //字符串不能用\换行
+        'no-multiple-empty-lines': [2, {
+            'max': 1
+        }], //空行最多不能超过1行
+        'no-native-reassign': 2, //不能重写native对象
+        'no-negated-in-lhs': 2, //in 操作符的左边不能有!
+        'no-new-object': 2, //禁止使用new Object()
+        'no-new-require': 2, //禁止使用new require
+        'no-new-symbol': 2, //禁止使用new symbol
+        'no-new-wrappers': 2, //禁止使用new创建包装实例,new String new Boolean new Number
+        'no-obj-calls': 2, //不能调用内置的全局对象,比如Math() JSON()
+        'no-octal': 2, //禁止使用八进制数字
+        'no-octal-escape': 2, //禁止使用八进制转义序列
+        'no-path-concat': 2, //node中不能使用__dirname或__filename做路径拼接
+        'no-proto': 2, //禁止使用__proto__属性
+        'no-redeclare': 2, //禁止重复声明变量
+        'no-regex-spaces': 2, //禁止在正则表达式字面量中使用多个空格 /foo bar/
+        'no-return-assign': [2, 'except-parens'], //return 语句中不能有赋值表达式
+        'no-self-assign': 2, //自我分配
+        'no-self-compare': 2, //不能比较自身
+        'no-sequences': 2, //禁止使用逗号运算符
+        'no-shadow-restricted-names': 2, //严格模式中规定的限制标识符不能作为声明时的变量名使用
+        'no-spaced-func': 2, //函数调用时 函数名与()之间不能有空格
+        'no-sparse-arrays': 2, //禁止稀疏数组, [1,,2]
+        'no-this-before-super': 2, //在调用super()之前不能使用this或super
+        'no-throw-literal': 2, //禁止抛出字面量错误 throw "error";
+        'no-trailing-spaces': 2, //一行结束后面不要有空格
+        'no-undef': 2, //不能有未定义的变量
+        'no-undef-init': 2, //变量初始化时不能直接给它赋值为undefined
+        'no-unexpected-multiline': 2, //避免多行表达式
+        'no-unmodified-loop-condition': 2, //检查引用是否在循环中被修改
+        'no-unneeded-ternary': [2, {
+            'defaultAssignment': false
+        }], // 禁止可以在有更简单的可替代的表达式时使用三元操作符
+        'no-unreachable': 2, //不能有无法执行的代码
+        'no-unsafe-finally': 2, // 禁止对关系运算符的左操作数使用否定操作符,原no-negated-in-lhs已被此替换
+        'no-unused-vars': [2, {
+            'vars': 'all',
+            'args': 'none'
+        }], //不能有声明后未被使用的变量或参数
+        'no-useless-call': 2, //禁止不必要的call和apply
+        'no-useless-computed-key': 2, //没有必要使用带文字的计算属性
+        'no-useless-constructor': 2, //可以在不改变类的工作方式的情况下安全地移除的类构造函数
+        'no-useless-escape': 0, // 禁用不必要的转义字符
+        'no-whitespace-before-property': 2, // 禁止属性前有空白
+        'no-with': 2, //禁用with
+        '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, //禁止比较时使用NaN,只能用isNaN()
+        'valid-typeof': 2, //必须使用合法的typeof的值
+        'wrap-iife': [2, 'any'], //立即执行函数表达式的小括号风格
+        'yield-star-spacing': [2, 'both'], // 强制在 yield* 表达式中 * 周围使用空格
+        yoda: [2, 'never'], //禁止尤达条件
+        'prefer-const': 2, //首选const
+        'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0, //禁止使用debugger
+        'object-curly-spacing': [2, 'always', {
+            objectsInObjects: false
+        }], //大括号内是否允许不必要的空格
+        'array-bracket-spacing': [2, 'never'] //是否允许非空数组里面有多余的空格
+    }
+}

+ 17 - 0
.gitignore

@@ -0,0 +1,17 @@
+# 忽略git提交文件
+
+.DS_Store
+node_modules/
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
+package-lock.json
+tests/**/coverage/
+
+# 编辑器目录和文件
+.idea
+.vscode
+*.suo
+*.ntvs*
+*.njsproj
+*.sln

+ 4 - 0
.prrettierrc

@@ -0,0 +1,4 @@
+{
+  "singleQuote": true,// 使用单引号
+  "semi": false      // 行末不使用分号
+}

+ 5 - 0
.travis.yml

@@ -0,0 +1,5 @@
+language: node_js
+node_js: 10
+script: npm run test
+notifications:
+  email: false

+ 21 - 0
LICENSE

@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2020-present Jeansang
+
+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.

+ 112 - 0
README-zh.md

@@ -0,0 +1,112 @@
+# 说明文档
+
+# xigital
+
+> 这是一个基于 `vue-cli` 进行构建的项目。它包含了 Element UI & axios & iconfont & permission control & lint,这些搭建项目必要的东西。
+
+## 目录结构
+------------------------
+
+```bash
+├── /build/           # 项目构建(webpack)相关配置
+├── /dist/            # 编译生成文件目录
+├── /mock/            # mock本地服务
+├── /public/          # 项目的入口文件目录
+├── /src/             # 源码目录
+│ ├── /api/           # 请求
+│ ├── /assets/        # 组件静态资源(图片)
+│ ├── /components/    # 公共组件
+│ ├── /icons/         # svg图标
+│ ├── /layout/        # layout
+│ ├── /router/        # 路由配置
+│ ├── /store/         # vuex状态管理
+│ ├── /styles/        # css样式
+│ ├── /utils/         # 公共方法
+│ ├── /vendor/        # 插件
+│ ├── /views/         # 路由组件(页面维度)
+│ ├── App.vue         # 组件入口
+│ ├── main.js         # 程序入口
+│ ├── permission.js   # 权限控制
+│ └── settings.js     # 配置文件
+├── .editorconfig     # 定义代码格式
+├── .env.development  # 开发环境配置
+├── .env.production   # 正式环境配置
+├── .env.staging      # 测试环境配置
+├── .eslintgnore      # 忽略语法规范文件配置
+├── .eslintrc.js      # ES6语法规范配置
+├── .gitignore        # git忽略文件
+├── .prrettierrc      # 编辑器配置
+├── .travis.yml       # travis配置
+├── .babel.config.js  # babel配置
+├── .jest.config.js   # jest单元测试配置
+├── .jsconfig.json    # jsconfig配置
+├── LICENCE           # LICENCE
+├── package.json      # 项目依赖
+├── package-lock.json # 项目依赖
+├── .postcssrc.config.js # css前缀
+├── README-zh.md      # 项目中文文档
+├── VScodeSettings.txt   # VScode配置
+└── vue.config.js     # 可选的配置文件
+```
+
+
+## 构建(Build Setup)
+
+```bash
+# 进入项目目录
+cd xigital
+
+# 安装依赖
+npm install
+
+# 建议不要直接使用 cnpm 安装依赖(会有各种诡异的 bug)。可以通过如下设置淘宝镜像的方式解决 npm 下载速度慢的问题
+npm install --registry=https://registry.npm.taobao.org
+
+# 启动服务
+npm run dev
+```
+
+浏览器访问 [http://localhost:8080](http://localhost:8080)
+
+## 发布
+
+```bash
+# 构建测试环境
+npm run build:stage
+
+# 构建生产环境
+npm run build:prod
+```
+
+## 其它
+
+```bash
+# 预览发布环境效果
+npm run preview
+
+# 预览发布环境效果 + 静态资源分析
+npm run preview -- --report
+
+# 代码格式检查
+npm run lint
+
+# 代码格式检查 + 自动修复
+npm run lint -- --fix
+
+# jest单元测试
+npm run test:unit
+
+# 代码格式检查 + jest单元测试
+npm run test:ci
+
+# SVG在线压缩合并
+npm run svgo
+```
+
+## 兼容浏览器(Browsers support)
+
+Modern browsers and Internet Explorer 10+.
+
+| [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt="IE / Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>IE / Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png" alt="Safari" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Safari |
+| --------- | --------- | --------- | --------- |
+| IE10, IE11, Edge| last 2 versions| last 2 versions| last 2 versions

+ 40 - 0
VScodeSettings.txt

@@ -0,0 +1,40 @@
+{
+ "files.autoSave": "afterDelay",
+ "files.autoSaveDelay": 5000,
+ "http.proxyAuthorization": null,
+ "guides.enabled": false,
+ "editor.minimap.enabled": true, //显示缩略图
+ "explorer.confirmDelete": false, //文件删除时弹框确认
+ "vsicons.dontShowNewVersionMessage": true, //新版本提示
+ "editor.detectIndentation": false, //禁用beauty插件的缩进属性
+ "editor.tabSize": 2, //制表符空格数
+ "editor.formatOnSave": true, //保存时格式化文件
+ "editor.wordWrap": "on", //换行方式
+ "vetur.format.defaultFormatterOptions": {
+  "prettier": {
+   "semi": false, // 使用单引号
+   "singleQuote": true // 行末不使用分号
+  }
+ },
+ //保存时根据根目录下.eslintrc.js配置的eslint规则来检查和做一些简单的fix
+ "files.autoSave": "off",
+ "eslint.validate": [
+  "javascript",
+  "javascriptreact",
+  "html",
+  {
+   "language": "vue",
+   "autoFix": true
+  }
+ ],
+ "eslint.options": {
+  "plugins": [
+   "html"
+  ]
+ },
+ "workbench.startupEditor": "newUntitledFile",
+ "workbench.iconTheme": "vscode-icons",
+ "auto-rename-tag.activationOnLanguage": [
+  "*"
+ ]
+}

+ 5 - 0
babel.config.js

@@ -0,0 +1,5 @@
+module.exports = {
+  presets: [
+    '@vue/app'
+  ]
+}

+ 40 - 0
build/index.js

@@ -0,0 +1,40 @@
+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 = 8081;
+  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}`);
+}

BIN
dist/favicon.ico


File diff suppressed because it is too large
+ 0 - 0
dist/index.html


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.723ab046.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-020432a4.37689f6d.css


+ 1 - 0
dist/static/css/chunk-0650a81c.7a8ef8cd.css

@@ -0,0 +1 @@
+[data-v-04641876]:export{color_0:#000;color_1:#111;color_2:#222;color_3:#333;color_4:#444;color_5:#555;color_6:#666;color_7:#777;color_8:#888;color_9:#999;color_a:#aaa;color_b:#bbb;color_c:#ccc;color_d:#ddd;color_e:#eee;color_f2:#f2f2f2;color_f5:#f5f5f5;color_fa:#fafafa;color_fc:#fcfcfc;color_f:#fff;color_on:#f66420;pad:20px}.user[data-v-04641876]{padding:10px 0;width:100%;height:100%;background:#f2f2f2}.user .container[data-v-04641876]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:normal;-ms-flex-align:normal;align-items:normal;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:100%;height:830px;padding:0 20px}.user .container .user-slider[data-v-04641876]{width:180px;height:auto;background:#fff}.user .container .user-main[data-v-04641876]{width:calc(100% - 190px);height:100%}.user-slider .el-menu{border:none}.user-slider .el-menu-item{height:40px;line-height:40px;font-size:14px;text-align:center;color:#999}.user-slider .el-menu-item.is-active{color:#fff;background:#f66420}

File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-07ce852e.786ad0c2.css


+ 1 - 0
dist/static/css/chunk-08b5f3c9.c7d4bd22.css

@@ -0,0 +1 @@
+[data-v-721890da]:export{color_0:#000;color_1:#111;color_2:#222;color_3:#333;color_4:#444;color_5:#555;color_6:#666;color_7:#777;color_8:#888;color_9:#999;color_a:#aaa;color_b:#bbb;color_c:#ccc;color_d:#ddd;color_e:#eee;color_f2:#f2f2f2;color_f5:#f5f5f5;color_fa:#fafafa;color_fc:#fcfcfc;color_f:#fff;color_on:#f66420;pad:20px}.megagame[data-v-721890da]{font-family:STHeitiSC-Light;width:100%;height:auto;background:#000;overflow:hidden;-webkit-box-flex:1;-ms-flex:1;flex:1;position:relative}.megagame .img[data-v-721890da]{width:100%;height:auto;position:absolute;z-index:0;bottom:-3px}.megagame .img img[data-v-721890da]{width:100%;height:auto}.megagame .da_content[data-v-721890da]{max-width:1200px;margin:0 auto;padding:5% 0;position:relative}.megagame .da_content .title[data-v-721890da]{text-align:center}.megagame .da_content .content[data-v-721890da]{width:100%;height:598px;background:url(../../static/img/content.8bd15917.png) no-repeat;background-size:cover;background-position:center 0;padding:67px}.megagame .da_content .content .title1[data-v-721890da]{color:#fff;line-height:1.5}.megagame .da_content .content .content_title[data-v-721890da]{text-align:center;font-size:18px}.megagame .da_content .content .fontsize[data-v-721890da]{font-size:16px}.megagame .da_content .content .title2[data-v-721890da]{color:#fde800;font-size:16px;margin-top:30px;padding:10px 0}.megagame .da_content .injo[data-v-721890da]{position:absolute;bottom:100px;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.footer[data-v-721890da]{background:#2b2828}

+ 1 - 0
dist/static/css/chunk-09e7ebe4.ae35449b.css

@@ -0,0 +1 @@
+[data-v-9d8b03d2]:export{color_0:#000;color_1:#111;color_2:#222;color_3:#333;color_4:#444;color_5:#555;color_6:#666;color_7:#777;color_8:#888;color_9:#999;color_a:#aaa;color_b:#bbb;color_c:#ccc;color_d:#ddd;color_e:#eee;color_f2:#f2f2f2;color_f5:#f5f5f5;color_fa:#fafafa;color_fc:#fcfcfc;color_f:#fff;color_on:#f66420;pad:20px}.modify[data-v-9d8b03d2]{padding:50px 70px;width:100%;height:calc(100% - 80px)}.modify .container[data-v-9d8b03d2]{width:430px;height:auto;min-height:405px;margin:0 auto;padding:30px;background:#fff;-webkit-box-shadow:0 0 7px 7px rgba(0,0,0,.04);box-shadow:0 0 7px 7px rgba(0,0,0,.04)}.modify .container .title[data-v-9d8b03d2]{margin:30px auto;font-size:20px;text-align:center;color:#333}.modify .container .modify-form[data-v-9d8b03d2]{padding:0 50px;width:100%;height:auto;background:#fff}.modify .container .modify-form .solt[data-v-9d8b03d2]{padding:0 6px;font-size:12px;color:#666}.modify .container .modify-form .next-btn[data-v-9d8b03d2]{margin:10px auto;width:100%;height:auto}.toForg[data-v-9d8b03d2]{text-align:right}.toForg[data-v-9d8b03d2]:hover{color:#78a4db;cursor:default}@supports (-webkit-mask:none) and (not (cater-color:#999)){.modify-form .el-input input{font-size:12px;color:#999}}.modify-form .el-input__inner:focus{border-color:#999}.modify-form .el-input--prefix .el-input__inner{color:#666;padding-left:65px}

File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-0dc3e4bb.38e06d3f.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-1758822a.6aa0b4a5.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-20759e2b.d888c3cc.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-214b04fa.2711e18b.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-23d7a281.514e38da.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-24ec7dca.71970124.css


+ 1 - 0
dist/static/css/chunk-2766c6bf.e1911b34.css

@@ -0,0 +1 @@
+[data-v-2e1c96be]:export{color_0:#000;color_1:#111;color_2:#222;color_3:#333;color_4:#444;color_5:#555;color_6:#666;color_7:#777;color_8:#888;color_9:#999;color_a:#aaa;color_b:#bbb;color_c:#ccc;color_d:#ddd;color_e:#eee;color_f2:#f2f2f2;color_f5:#f5f5f5;color_fa:#fafafa;color_fc:#fcfcfc;color_f:#fff;color_on:#f66420;pad:20px}.protocol[data-v-2e1c96be]{padding:50px 0;width:100%;height:100%;background:#f5f5f5}.protocol .container[data-v-2e1c96be]{width:100%;height:100%}.protocol .container .content[data-v-2e1c96be]{padding:0 20px;width:100%;height:100%;overflow-y:scroll}.protocol .container .content .title[data-v-2e1c96be]{margin-bottom:20px;font-size:16px;text-align:center;color:#666}.protocol .container .content p[data-v-2e1c96be]{margin-bottom:10px;font-size:14px;color:#999;text-align:justify;word-wrap:break-word;text-indent:28px}.protocol .container .content .btn[data-v-2e1c96be]{width:100%;height:auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.protocol .container .content .btn .agree-btn[data-v-2e1c96be]{margin:20px auto}

File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-29765edc.9a5eec18.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-2a203f7c.63835719.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-2d1d4db8.24d0a9bd.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-2d26d73c.327242af.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-2f4f0752.435b0ffc.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-3c3aede6.a87e22ac.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-4af08d2c.67455682.css


+ 1 - 0
dist/static/css/chunk-4fcff704.7c371835.css

@@ -0,0 +1 @@
+.page-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.page-content .el-pagination{padding:2px 0}.page-content .el-pagination .el-select .el-input{margin:0;width:80px}.page-content .el-pagination .el-pagination__jump{margin-left:10px}.page-content .el-pagination.is-background .el-pager li{background-color:#f2f2f2;font-size:12px;color:#999;border-radius:4px}.page-content .el-pagination.is-background .el-pager li:not(.disabled).active{color:#333;background-color:#fff;border:1px solid #f2f2f2}.page-content .el-pagination.is-background .el-pager li:not(.disabled):hover{color:#2cae00}.page-content .el-button{margin:0 10px;padding:7px 10px}[data-v-7bdd72e3]:export{color_0:#000;color_1:#111;color_2:#222;color_3:#333;color_4:#444;color_5:#555;color_6:#666;color_7:#777;color_8:#888;color_9:#999;color_a:#aaa;color_b:#bbb;color_c:#ccc;color_d:#ddd;color_e:#eee;color_f2:#f2f2f2;color_f5:#f5f5f5;color_fa:#fafafa;color_fc:#fcfcfc;color_f:#fff;color_on:#f66420;pad:20px}.resource[data-v-7bdd72e3]{width:100%;height:100%;background:#fff}.resource .el-table[data-v-7bdd72e3]{color:#999}.resource .el-table .operation[data-v-7bdd72e3]:hover{color:#2cae00;cursor:pointer}.resource .pagination[data-v-7bdd72e3]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:nowrap;flex-wrap:nowrap;padding:20px 10px;font-size:12px;color:#999}.inputcontent[data-v-7bdd72e3]{padding:30px 15px 0 15px;position:relative}.inputcontent .el-input[data-v-7bdd72e3]{width:180px}.inputcontent .el-form-item[data-v-7bdd72e3]{width:16.5%;display:inline-table}.inputcontent .el-button--primary[data-v-7bdd72e3]{position:absolute;top:32px;height:35px;line-height:13px}

+ 1 - 0
dist/static/css/chunk-556eff1e.63cefe82.css

@@ -0,0 +1 @@
+[data-v-09b51fbe]:export{color_0:#000;color_1:#111;color_2:#222;color_3:#333;color_4:#444;color_5:#555;color_6:#666;color_7:#777;color_8:#888;color_9:#999;color_a:#aaa;color_b:#bbb;color_c:#ccc;color_d:#ddd;color_e:#eee;color_f2:#f2f2f2;color_f5:#f5f5f5;color_fa:#fafafa;color_fc:#fcfcfc;color_f:#fff;color_on:#f66420;pad:20px}.megagame[data-v-09b51fbe]{font-family:STHeitiSC-Light;width:100%;height:auto;background:#000;overflow:hidden;-webkit-box-flex:1;-ms-flex:1;flex:1;position:relative}.megagame .img[data-v-09b51fbe]{width:100%;height:auto;position:absolute;z-index:0;bottom:-3px}.megagame .img img[data-v-09b51fbe]{width:100%;height:auto}.megagame .me_container[data-v-09b51fbe]{max-width:1200px;margin:3% auto;margin-bottom:14%}.megagame .me_container .me_img[data-v-09b51fbe]{height:100px;line-height:100px;float:left}.megagame .me_container .ne_top[data-v-09b51fbe]{text-align:center}.megagame .re_conteiner[data-v-09b51fbe]{text-align:center;font-size:20px;color:#fff}.megagame .re_conteiner .zuozhe[data-v-09b51fbe]{padding:20px}.megagame .re_conteiner .re_shm[data-v-09b51fbe]{line-height:1.5;color:#fde800;font-size:32px}.megagame .re_conteiner .re_mian[data-v-09b51fbe]{padding:20px 0}.megagame .re_conteiner .re_mian p[data-v-09b51fbe]{line-height:1.5}.megagame .re_conteiner .re_content[data-v-09b51fbe]{max-width:958px;height:579px;margin:0 auto;margin-top:38px;border:2px solid #007af9;padding:10px}.megagame .re_conteiner .re_content .re_padding[data-v-09b51fbe]{padding:66px 0;background-color:#03163b;height:559px;border:2px solid #007af9;overflow:hidden}.megagame .re_conteiner .re_content .re_padding .re_list[data-v-09b51fbe]{margin-bottom:15px}.megagame .re_conteiner .re_content .re_padding .re_list h4[data-v-09b51fbe]{font-size:22px;color:#e9561f;padding:20px 0}.megagame .re_conteiner .re_content .re_padding .re_list p[data-v-09b51fbe]{font-size:18px}.footer[data-v-09b51fbe]{background:#2b2828}

File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-56fee1d8.6af167e2.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-5ad913a8.e2772d58.css


+ 1 - 0
dist/static/css/chunk-5be09f3d.dc722816.css

@@ -0,0 +1 @@
+[data-v-6649ea80]:export{color_0:#000;color_1:#111;color_2:#222;color_3:#333;color_4:#444;color_5:#555;color_6:#666;color_7:#777;color_8:#888;color_9:#999;color_a:#aaa;color_b:#bbb;color_c:#ccc;color_d:#ddd;color_e:#eee;color_f2:#f2f2f2;color_f5:#f5f5f5;color_fa:#fafafa;color_fc:#fcfcfc;color_f:#fff;color_on:#f66420;pad:20px}.home[data-v-6649ea80]{width:100%;height:auto;font-size:12px;color:#bbb;background:#181818}.home .banner[data-v-6649ea80],.home .el-carousel__container,.home .el-carousel__container .el-carousel__item{width:100%;height:auto}.home .el-carousel--horizontal{overflow:hidden}.home .el-carousel__arrow{background:rgba(31,45,61,.4)}.home .el-carousel__arrow:hover{background:rgba(31,45,61,.8)}

File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-69c5781a.5626a224.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-6fb36029.5fd6a0e6.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-70537de9.7f7199ab.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-70f63fb9.6c0068fe.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-77d29506.74067415.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-79255b0a.c3deedb4.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-7a29a0c8.e7c7ee4d.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-7c404ab9.fcbc7a10.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-81aeaf6a.1b9700c7.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-841c55d0.c52df32a.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-8b42a9c6.008b511a.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-aab70f8e.ae7c78ad.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-be073008.a6f5c4a5.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-c33c27a2.1d34cdb9.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-c41e70e2.870b4346.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-c43786c2.1f54002a.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-elementUI.ded27da0.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-libs.3dfb7769.css


BIN
dist/static/fonts/element-icons.535877f5.woff


BIN
dist/static/fonts/element-icons.732389de.ttf


BIN
dist/static/img/404.a57b6f31.png


BIN
dist/static/img/404_cloud.0f4bc32b.png


BIN
dist/static/img/Agard-wing1.29b50f9a.png


BIN
dist/static/img/acoustics-bg.383c658c.png


BIN
dist/static/img/afa1.2a4fc512.png


BIN
dist/static/img/afa2.f909997b.jpg


BIN
dist/static/img/b.959fb3b7.jpg


BIN
dist/static/img/background.e940038e.png


BIN
dist/static/img/banner1.16dc8dc2.png


BIN
dist/static/img/beijin.1cfcbce6.png


BIN
dist/static/img/byy1.49b05952.png


BIN
dist/static/img/byy2.8f86aa99.png


BIN
dist/static/img/bzs4_1.7a7d8206.png


BIN
dist/static/img/car.799b1757.jpg


BIN
dist/static/img/content.8bd15917.png


BIN
dist/static/img/copyright.95ad921b.png


BIN
dist/static/img/copyright1.f47763ca.png


BIN
dist/static/img/dasai.88c36bec.png


BIN
dist/static/img/electromagnetism-bg.4ea0edd2.png


BIN
dist/static/img/fluid-bg.ff8de9c3.png


BIN
dist/static/img/frame.5e1b5e77.jpg


BIN
dist/static/img/hcfd1.db80ddd2.png


BIN
dist/static/img/hcfd2.7f17239c.png


BIN
dist/static/img/head.61082a6b.png


BIN
dist/static/img/icon1.9632711f.png


BIN
dist/static/img/icon2.8915b9a9.png


BIN
dist/static/img/icon3.db3de3f6.png


BIN
dist/static/img/jg.520572ba.png


BIN
dist/static/img/litibj.76ade4fd.png


BIN
dist/static/img/mode.f276f05d.jpg


BIN
dist/static/img/optics-bg.9ea965f0.png


BIN
dist/static/img/physics-bg.84e032cd.png


BIN
dist/static/img/plane.402f562f.jpg


BIN
dist/static/img/qy-logo.c0e2d2de.png


BIN
dist/static/img/qylogo.e6dc030f.png


BIN
dist/static/img/radiation-bg.80045a4f.png


BIN
dist/static/img/scan.b9b1fc41.png


BIN
dist/static/img/starry-sky.fee03ccc.png


BIN
dist/static/img/structure-bg.c47b281f.png


Some files were not shown because too many files changed in this diff