diff --git a/package-lock.json.REMOVED.git-id b/package-lock.json.REMOVED.git-id new file mode 100644 index 00000000..2f1b1384 --- /dev/null +++ b/package-lock.json.REMOVED.git-id @@ -0,0 +1 @@ +273bfaa679d4398e12f5270f76df4e1953da170b \ No newline at end of file diff --git a/package.json b/package.json index f5477f82..305788dc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "d2-admin", - "version": "1.6.7", + "version": "1.6.8", "private": true, "scripts": { "serve": "vue-cli-service serve --open", @@ -35,7 +35,6 @@ "mockjs": "^1.0.1-beta3", "nprogress": "^0.2.0", "papaparse": "^4.3.6", - "particles.js": "^2.0.0", "quill": "^1.3.4", "screenfull": "^3.3.2", "simplemde": "^1.11.2", diff --git a/src/components/d2-container/components/d2-source.vue b/src/components/d2-container/components/d2-source.vue index 4993f4fb..35e4353c 100644 --- a/src/components/d2-container/components/d2-source.vue +++ b/src/components/d2-container/components/d2-source.vue @@ -25,7 +25,7 @@ export default { // 一秒后显示按钮 setTimeout(() => { this.isActive = true - }, 1000) + }, 500) }, methods: { // 点击按钮的时候跳转到源代码 diff --git a/src/pages/login/config/README.md b/src/pages/login/config/README.md deleted file mode 100644 index 87be2291..00000000 --- a/src/pages/login/config/README.md +++ /dev/null @@ -1,2 +0,0 @@ -// 例子插件配置地址 -// https://vincentgarreau.com/particles.js/#default \ No newline at end of file diff --git a/src/pages/login/config/bubble.js b/src/pages/login/config/bubble.js deleted file mode 100644 index 7fd19c0d..00000000 --- a/src/pages/login/config/bubble.js +++ /dev/null @@ -1,112 +0,0 @@ -/* eslint-disable */ - -export default { - "particles": { - "number": { - "value": 6, - "density": { - "enable": true, - "value_area": 800 - } - }, - "color": { - "value": "#444" - }, - "shape": { - "type": "polygon", - "stroke": { - "width": 0, - "color": "#000" - }, - "polygon": { - "nb_sides": 6 - }, - "image": { - "src": "img/github.svg", - "width": 100, - "height": 100 - } - }, - "opacity": { - "value": 0.3, - "random": true, - "anim": { - "enable": false, - "speed": 1, - "opacity_min": 0.1, - "sync": false - } - }, - "size": { - "value": 160, - "random": false, - "anim": { - "enable": true, - "speed": 10, - "size_min": 40, - "sync": false - } - }, - "line_linked": { - "enable": false, - "distance": 200, - "color": "#ffffff", - "opacity": 1, - "width": 2 - }, - "move": { - "enable": true, - "speed": 8, - "direction": "none", - "random": false, - "straight": false, - "out_mode": "out", - "bounce": false, - "attract": { - "enable": false, - "rotateX": 600, - "rotateY": 1200 - } - } - }, - "interactivity": { - "detect_on": "canvas", - "events": { - "onhover": { - "enable": false, - "mode": "grab" - }, - "onclick": { - "enable": false, - "mode": "push" - }, - "resize": true - }, - "modes": { - "grab": { - "distance": 400, - "line_linked": { - "opacity": 1 - } - }, - "bubble": { - "distance": 400, - "size": 40, - "duration": 2, - "opacity": 8, - "speed": 3 - }, - "repulse": { - "distance": 200, - "duration": 0.4 - }, - "push": { - "particles_nb": 4 - }, - "remove": { - "particles_nb": 2 - } - } - }, - "retina_detect": true -} diff --git a/src/pages/login/config/default.js b/src/pages/login/config/default.js deleted file mode 100644 index b199917f..00000000 --- a/src/pages/login/config/default.js +++ /dev/null @@ -1,112 +0,0 @@ -/* eslint-disable */ - -export default { - "particles": { - "number": { - "value": 80, - "density": { - "enable": true, - "value_area": 800 - } - }, - "color": { - "value": "#DCDFE6" - }, - "shape": { - "type": "circle", - "stroke": { - "width": 0, - "color": "#000000" - }, - "polygon": { - "nb_sides": 5 - }, - "image": { - "src": "img/github.svg", - "width": 100, - "height": 100 - } - }, - "opacity": { - "value": 1, - "random": false, - "anim": { - "enable": false, - "speed": 1, - "opacity_min": 0.1, - "sync": false - } - }, - "size": { - "value": 4, - "random": true, - "anim": { - "enable": false, - "speed": 40, - "size_min": 0.1, - "sync": false - } - }, - "line_linked": { - "enable": true, - "distance": 150, - "color": "#DCDFE6", - "opacity": 0.4, - "width": 2 - }, - "move": { - "enable": true, - "speed": 6, - "direction": "none", - "random": false, - "straight": false, - "out_mode": "out", - "bounce": false, - "attract": { - "enable": false, - "rotateX": 600, - "rotateY": 1200 - } - } - }, - "interactivity": { - "detect_on": "canvas", - "events": { - "onhover": { - "enable": true, - "mode": "repulse" - }, - "onclick": { - "enable": true, - "mode": "push" - }, - "resize": true - }, - "modes": { - "grab": { - "distance": 400, - "line_linked": { - "opacity": 1 - } - }, - "bubble": { - "distance": 400, - "size": 40, - "duration": 2, - "opacity": 8, - "speed": 3 - }, - "repulse": { - "distance": 200, - "duration": 0.4 - }, - "push": { - "particles_nb": 4 - }, - "remove": { - "particles_nb": 2 - } - } - }, - "retina_detect": true -} diff --git a/src/pages/login/config/nasa.js b/src/pages/login/config/nasa.js deleted file mode 100644 index 4baf4feb..00000000 --- a/src/pages/login/config/nasa.js +++ /dev/null @@ -1,112 +0,0 @@ -/* eslint-disable */ - -export default { - "particles": { - "number": { - "value": 160, - "density": { - "enable": true, - "value_area": 800 - } - }, - "color": { - "value": "#ffffff" - }, - "shape": { - "type": "circle", - "stroke": { - "width": 0, - "color": "#000000" - }, - "polygon": { - "nb_sides": 5 - }, - "image": { - "src": "img/github.svg", - "width": 100, - "height": 100 - } - }, - "opacity": { - "value": 1, - "random": true, - "anim": { - "enable": true, - "speed": 1, - "opacity_min": 0, - "sync": false - } - }, - "size": { - "value": 3, - "random": true, - "anim": { - "enable": false, - "speed": 4, - "size_min": 0.3, - "sync": false - } - }, - "line_linked": { - "enable": false, - "distance": 150, - "color": "#ffffff", - "opacity": 0.4, - "width": 1 - }, - "move": { - "enable": true, - "speed": 1, - "direction": "none", - "random": true, - "straight": false, - "out_mode": "out", - "bounce": false, - "attract": { - "enable": false, - "rotateX": 600, - "rotateY": 600 - } - } - }, - "interactivity": { - "detect_on": "canvas", - "events": { - "onhover": { - "enable": true, - "mode": "bubble" - }, - "onclick": { - "enable": true, - "mode": "repulse" - }, - "resize": true - }, - "modes": { - "grab": { - "distance": 400, - "line_linked": { - "opacity": 1 - } - }, - "bubble": { - "distance": 250, - "size": 0, - "duration": 2, - "opacity": 0, - "speed": 3 - }, - "repulse": { - "distance": 400, - "duration": 0.4 - }, - "push": { - "particles_nb": 4 - }, - "remove": { - "particles_nb": 2 - } - } - }, - "retina_detect": true -} diff --git a/src/pages/login/config/snow.js b/src/pages/login/config/snow.js deleted file mode 100644 index 31948b45..00000000 --- a/src/pages/login/config/snow.js +++ /dev/null @@ -1,112 +0,0 @@ -/* eslint-disable */ - -export default { - "particles": { - "number": { - "value": 400, - "density": { - "enable": true, - "value_area": 800 - } - }, - "color": { - "value": "#fff" - }, - "shape": { - "type": "circle", - "stroke": { - "width": 0, - "color": "#000000" - }, - "polygon": { - "nb_sides": 5 - }, - "image": { - "src": "img/github.svg", - "width": 100, - "height": 100 - } - }, - "opacity": { - "value": 0.5, - "random": true, - "anim": { - "enable": false, - "speed": 1, - "opacity_min": 0.1, - "sync": false - } - }, - "size": { - "value": 10, - "random": true, - "anim": { - "enable": false, - "speed": 40, - "size_min": 0.1, - "sync": false - } - }, - "line_linked": { - "enable": false, - "distance": 500, - "color": "#ffffff", - "opacity": 0.4, - "width": 2 - }, - "move": { - "enable": true, - "speed": 6, - "direction": "bottom", - "random": false, - "straight": false, - "out_mode": "out", - "bounce": false, - "attract": { - "enable": false, - "rotateX": 600, - "rotateY": 1200 - } - } - }, - "interactivity": { - "detect_on": "canvas", - "events": { - "onhover": { - "enable": true, - "mode": "bubble" - }, - "onclick": { - "enable": true, - "mode": "repulse" - }, - "resize": true - }, - "modes": { - "grab": { - "distance": 400, - "line_linked": { - "opacity": 0.5 - } - }, - "bubble": { - "distance": 400, - "size": 4, - "duration": 0.3, - "opacity": 1, - "speed": 3 - }, - "repulse": { - "distance": 200, - "duration": 0.4 - }, - "push": { - "particles_nb": 4 - }, - "remove": { - "particles_nb": 2 - } - } - }, - "retina_detect": true -} diff --git a/src/pages/login/image/logo.png.REMOVED.git-id b/src/pages/login/image/logo.png.REMOVED.git-id deleted file mode 100644 index b6991139..00000000 --- a/src/pages/login/image/logo.png.REMOVED.git-id +++ /dev/null @@ -1 +0,0 @@ -f29a9f7890b5e19744437a623f72248bb9698bb3 \ No newline at end of file diff --git a/src/pages/login/image/logo@2x.png.REMOVED.git-id b/src/pages/login/image/logo@2x.png.REMOVED.git-id new file mode 100644 index 00000000..c2d6a17e --- /dev/null +++ b/src/pages/login/image/logo@2x.png.REMOVED.git-id @@ -0,0 +1 @@ +f37e18711a040d8dd2ad2af9cfb9f4ea6760c07a \ No newline at end of file diff --git a/src/pages/login/page.vue b/src/pages/login/page.vue deleted file mode 100644 index 2a81f5e8..00000000 --- a/src/pages/login/page.vue +++ /dev/null @@ -1,160 +0,0 @@ - - - - - diff --git a/src/pages/login/page.vue.REMOVED.git-id b/src/pages/login/page.vue.REMOVED.git-id new file mode 100644 index 00000000..0dcc1eb9 --- /dev/null +++ b/src/pages/login/page.vue.REMOVED.git-id @@ -0,0 +1 @@ +6c5a0e1b91c5fe254348745d01ffcf909811946f \ No newline at end of file diff --git a/src/pages/login/style.scss b/src/pages/login/style.scss deleted file mode 100644 index 5fc44ca4..00000000 --- a/src/pages/login/style.scss +++ /dev/null @@ -1,89 +0,0 @@ -.login-page { - background-color: #EDF4FA; - height: 100%; - position: relative; - // 层 - .layer { - position: absolute; - height: 100%; - width: 100%; - &.flex-center { - display: flex; - justify-content: center; - align-items: center; - flex-direction: column; - } - } - // 背景 - .bg { - canvas { - display: block; - margin: 0px; - padding: 0px; - } - } - // logo - .logo-group { - margin-top: -75px - 70px; - position: relative; - top: 75px; - img { - height: 140px; - } - } - // 登录表单 - .form-group { - width: 300px; - // 重新设置卡片阴影 - .el-card { - box-shadow: 0 0 8px 0 rgba(232,237,250,.6), 0 2px 4px 0 rgba(232,237,250,.5); - .el-card__body { - padding-top: 70px; - } - } - // 登录按钮 - .button-login { - width: 100%; - } - // 输入框左边的图表区域缩窄 - .el-input-group__prepend { - padding: 0px 14px; - } - .login-code { - height: 40px - 2px; - display: block; - margin: 0px -20px; - border-top-right-radius: 2px; - border-bottom-right-radius: 2px; - } - } - // 帮助按钮 - .button-help { - width: 300px; - margin-top: 20px; - } - .user-btn { - @extend %flex-center-col; - @extend %unable-select; - padding: 10px 0px; - border-radius: 4px; - &:hover { - background-color: $color-bg; - i { - color: $color-text-normal; - } - span { - color: $color-text-normal; - } - } - i { - font-size: 36px; - color: $color-text-sub; - } - span { - font-size: 12px; - margin-top: 10px; - color: $color-text-sub; - } - } -} \ No newline at end of file diff --git a/yarn.lock.REMOVED.git-id b/yarn.lock.REMOVED.git-id index 6be17d28..926afb0b 100644 --- a/yarn.lock.REMOVED.git-id +++ b/yarn.lock.REMOVED.git-id @@ -1 +1 @@ -9f0de1b1283741f3ab3b7a925f9b96808cfb51e5 \ No newline at end of file +0e17bb1ba0029ca76043e344c175a81df34fcb2c \ No newline at end of file