From 1e487a42549384f6e937a5c7d557563aedafec2c Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期三, 20 三月 2024 18:41:29 +0800
Subject: [PATCH] 11

---
 src/views/login.vue |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/src/views/login.vue b/src/views/login.vue
index 40d3760..02932ef 100644
--- a/src/views/login.vue
+++ b/src/views/login.vue
@@ -96,7 +96,7 @@
   data() {
     return {
       codeUrl: "",
-      cookiePassword: "",
+      cookiePassword: "", 
       loginForm: {
         username: "",
         password: "",
@@ -120,7 +120,7 @@
       },
       loading: false,
       // 楠岃瘉鐮佸紑鍏�
-      captchaOnOff: false,
+      captchaOnOff: true,
       // 娉ㄥ唽寮�鍏�
       register: false,
       redirect: undefined
@@ -187,7 +187,7 @@
             })
             .catch(() => {
               this.loading = false;
-              this.$message.error("鐧婚檰澶辫触璇烽噸璇曘��");
+              // this.$message.error("鐧婚檰澶辫触璇烽噸璇曘��");
               if (this.captchaOnOff) {
                 this.getCode();
               }
@@ -205,6 +205,15 @@
   justify-content: center;
   align-items: center;
   height: 100%;
+  background-position: center center;
+/* 鑳屾櫙鍥句笉骞抽摵 */
+background-repeat: no-repeat;
+/* 褰撳唴瀹归珮搴﹀ぇ浜庡浘鐗囬珮搴︽椂锛岃儗鏅浘鍍忕殑浣嶇疆鐩稿浜巚iewport鍥哄畾 */
+background-attachment: fixed;
+/* 璁╄儗鏅浘鍩轰簬瀹瑰櫒澶у皬浼哥缉 */
+background-size: cover;
+/* 璁剧疆鑳屾櫙棰滆壊锛岃儗鏅浘鍔犺浇杩囩▼涓細鏄剧ず鑳屾櫙鑹� */
+background-color: #464646;
   background-image: url("../assets/images/login-bgc.jpg");
   background-size: cover;
 }

--
Gitblit v1.9.3