",
"scripts": {
"dev": "vue-cli-service serve",
"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"
- },
- "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/liuzp315/jbase-springboot.git"
+ "svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml",
+ "lint": "eslint --ext .js,.vue src",
+ "test:unit": "jest --clearCache && vue-cli-service test:unit",
+ "test:ci": "npm run lint && npm run test:unit"
},
"dependencies": {
- "@riophae/vue-treeselect": "0.4.0",
- "axios": "0.21.0",
- "babel-polyfill": "^6.26.0",
- "clipboard": "2.0.6",
- "core-js": "^3.19.1",
- "echarts": "4.9.0",
- "element-ui": "2.15.6",
- "file-saver": "2.0.4",
- "fuse.js": "6.4.3",
- "highlight.js": "9.18.5",
- "js-beautify": "1.13.0",
- "js-cookie": "2.2.1",
- "jsencrypt": "3.0.0-rc.1",
+ "axios": "0.18.1",
+ "core-js": "^3.22.5",
+ "element-ui": "2.13.2",
+ "js-cookie": "2.2.0",
+ "normalize.css": "7.0.0",
"nprogress": "0.2.0",
- "quill": "1.3.7",
- "screenfull": "5.0.2",
- "sortablejs": "1.10.2",
- "vue": "2.6.12",
- "vue-count-to": "1.0.13",
- "vue-cropper": "0.5.5",
- "vue-meta": "^2.4.0",
- "vue-router": "3.4.9",
- "vuedraggable": "2.24.3",
- "vuex": "3.6.0"
+ "path-to-regexp": "2.4.0",
+ "portfinder": "^1.0.21",
+ "qs": "^6.9.4",
+ "sass-resources-loader": "^2.1.1",
+ "viewerjs": "^1.9.0",
+ "vue": "2.6.10",
+ "vue-amap": "^0.5.10",
+ "vue-router": "3.0.6",
+ "vuex": "3.1.0",
+ "vuex-persistedstate": "^4.0.0"
},
"devDependencies": {
- "@vue/cli-plugin-babel": "4.4.6",
- "@vue/cli-plugin-eslint": "4.4.6",
- "@vue/cli-service": "4.4.6",
+ "@vue/cli-plugin-babel": "4.4.4",
+ "@vue/cli-plugin-eslint": "4.4.4",
+ "@vue/cli-plugin-unit-jest": "4.4.4",
+ "@vue/cli-service": "4.4.4",
+ "@vue/test-utils": "1.0.0-beta.29",
+ "autoprefixer": "9.5.1",
"babel-eslint": "10.1.0",
- "chalk": "4.1.0",
+ "babel-jest": "23.6.0",
+ "babel-plugin-dynamic-import-node": "2.3.3",
+ "babel-polyfill": "^6.26.0",
+ "chalk": "2.4.2",
"connect": "3.6.6",
- "eslint": "7.15.0",
- "eslint-plugin-vue": "7.2.0",
- "lint-staged": "10.5.3",
- "normalize.css": "^8.0.1",
- "runjs": "4.4.2",
- "sass": "1.32.0",
- "sass-loader": "10.1.0",
- "script-ext-html-webpack-plugin": "2.1.5",
- "svg-sprite-loader": "5.1.1",
- "vue-template-compiler": "2.6.12"
+ "eslint": "6.7.2",
+ "eslint-plugin-vue": "6.2.2",
+ "html-webpack-plugin": "3.2.0",
+ "mockjs": "1.0.1-beta3",
+ "runjs": "4.3.2",
+ "sass": "1.26.8",
+ "sass-loader": "8.0.2",
+ "script-ext-html-webpack-plugin": "2.1.3",
+ "serve-static": "1.13.2",
+ "svg-sprite-loader": "4.1.3",
+ "svgo": "1.2.2",
+ "vue-template-compiler": "2.6.10"
},
+ "browserslist": [
+ "> 1%",
+ "last 2 versions"
+ ],
"engines": {
"node": ">=8.9",
"npm": ">= 3.0.0"
},
- "browserslist": [
- "> 1%",
- "last 2 versions"
- ]
+ "license": "MIT"
}
diff --git a/message-center-ui/postcss.config.js b/message-center-ui/postcss.config.js
new file mode 100644
index 0000000..10473ef
--- /dev/null
+++ b/message-center-ui/postcss.config.js
@@ -0,0 +1,8 @@
+// https://github.com/michael-ciniawsky/postcss-load-config
+
+module.exports = {
+ 'plugins': {
+ // to edit target browsers: use "browserslist" field in package.json
+ 'autoprefixer': {}
+ }
+}
diff --git a/message-center-ui/public/favicon.ico b/message-center-ui/public/favicon.ico
index 365c24b..34b63ac 100644
Binary files a/message-center-ui/public/favicon.ico and b/message-center-ui/public/favicon.ico differ
diff --git a/message-center-ui/public/html/ie.html b/message-center-ui/public/html/ie.html
deleted file mode 100644
index 052ffcd..0000000
--- a/message-center-ui/public/html/ie.html
+++ /dev/null
@@ -1,46 +0,0 @@
-
-
-
-
-
- 请升级您的浏览器
-
-
-
-
-
-
-请升级您的浏览器,以便我们更好的为您提供服务!
-您正在使用 Internet Explorer 的早期版本(IE11以下版本或使用该内核的浏览器)。这意味着在升级浏览器前,您将无法访问此网站。
-
-请注意:微软公司对Windows XP 及 Internet Explorer 早期版本的支持已经结束
-自 2016 年 1 月 12 日起,Microsoft 不再为 IE 11 以下版本提供相应支持和更新。没有关键的浏览器安全更新,您的电脑可能易受有害病毒、间谍软件和其他恶意软件的攻击,它们可以窃取或损害您的业务数据和信息。请参阅 微软对 Internet Explorer 早期版本的支持将于 2016 年 1 月 12 日结束的说明 。
-
-您可以选择更先进的浏览器
-推荐使用以下浏览器的最新版本。如果您的电脑已有以下浏览器的最新版本则直接使用该浏览器访问即可。
-
-
-
-
\ No newline at end of file
diff --git a/message-center-ui/public/image/liuchengtu.jpg b/message-center-ui/public/image/liuchengtu.jpg
new file mode 100644
index 0000000..8d891be
Binary files /dev/null and b/message-center-ui/public/image/liuchengtu.jpg differ
diff --git a/message-center-ui/public/index.html b/message-center-ui/public/index.html
index 925455c..fa2be91 100644
--- a/message-center-ui/public/index.html
+++ b/message-center-ui/public/index.html
@@ -3,206 +3,15 @@
-
<%= webpackConfig.name %>
-
-
-
+
+
+