diff --git a/src/assets/imgs/bg_bottom.png b/src/assets/imgs/bg_bottom.png new file mode 100644 index 0000000..a1c911c Binary files /dev/null and b/src/assets/imgs/bg_bottom.png differ diff --git a/src/assets/imgs/bg_box.png b/src/assets/imgs/bg_box.png new file mode 100644 index 0000000..255aa0c Binary files /dev/null and b/src/assets/imgs/bg_box.png differ diff --git a/src/assets/imgs/bg_box_bottom.png b/src/assets/imgs/bg_box_bottom.png new file mode 100644 index 0000000..0ac7d5f Binary files /dev/null and b/src/assets/imgs/bg_box_bottom.png differ diff --git a/src/assets/imgs/bg_box_line.png b/src/assets/imgs/bg_box_line.png new file mode 100644 index 0000000..7751750 Binary files /dev/null and b/src/assets/imgs/bg_box_line.png differ diff --git a/src/assets/imgs/bg_left.png b/src/assets/imgs/bg_left.png new file mode 100644 index 0000000..898989e Binary files /dev/null and b/src/assets/imgs/bg_left.png differ diff --git a/src/assets/imgs/footer_logo.png b/src/assets/imgs/footer_logo.png new file mode 100644 index 0000000..0529bbe Binary files /dev/null and b/src/assets/imgs/footer_logo.png differ diff --git a/src/views/login/index.vue b/src/views/login/index.vue index bddb6ab..e28c589 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -1,36 +1,44 @@ @@ -101,7 +109,7 @@ this.$refs.loginForm.validate(valid => { if (valid) { this.loading = true - this.$store.dispatch('user/login', this.loginForm).then(() => { + this.$store.dispatch('user/login', this.loginForm).then(() => { this.$router.push({ path: this.redirect || '/' @@ -124,8 +132,8 @@ /* 修复input 背景不协调 和光标变色 */ /* Detail see https://github.com/PanJiaChen/vue-element-admin/pull/927 */ - $bg:#283443; - $light_gray:#fff; + $bg:#ffffff; + $light_gray:#55320f; $cursor: #fff; @supports (-webkit-mask: none) and (not (cater-color: $cursor)) { @@ -134,6 +142,28 @@ } } + .footer { + position: fixed; + bottom: 20px; + text-align: center; + width: 100%; + } + + .footer_logo { + position: fixed; + bottom: 0; + left: 50%; + margin-left: -210px; + } + + .box_middle { + background: url("../../assets/imgs/bg_box_line.png") repeat-y; + background-size: 100% 100%; + padding: 20px 60px; + margin-top: -10px; + } + + /* reset element-ui css */ .login-container { .el-input { @@ -168,22 +198,36 @@