From d91893dbd49538d312e299c1cc507a7792abd7d7 Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期日, 14 一月 2024 14:20:25 +0800
Subject: [PATCH] 设备类型假如修改删除

---
 src/views/login/index.vue |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/src/views/login/index.vue b/src/views/login/index.vue
index 1395bfa..6a7938d 100644
--- a/src/views/login/index.vue
+++ b/src/views/login/index.vue
@@ -7,13 +7,13 @@
         <span class="svg-container svg-container_login">
           <svg-icon icon-class="user" />
         </span>
-        <el-input  name="username" type="text" v-model="loginForm.username" autoComplete="on" placeholder="璇疯緭鍏ョ敤鎴峰悕" />
+        <el-input class="home-input"  name="username" type="text" v-model="loginForm.username" autoComplete="on" placeholder="璇疯緭鍏ョ敤鎴峰悕" />
       </el-form-item>
       <el-form-item prop="password" class="username">
         <span class="svg-container">
           <svg-icon icon-class="password"></svg-icon>
         </span>
-        <el-input name="password" :type="pwdType" @keyup.enter.native="handleLogin" v-model="loginForm.password" autoComplete="off"
+        <el-input class="home-input" name="password" :type="pwdType" @keyup.enter.native="handleLogin" v-model="loginForm.password" autoComplete="off"
           placeholder="璇疯緭鍏ュ瘑鐮�"></el-input>
           <span class="show-pwd" @click="showPwd"><svg-icon icon-class="eye" v-show="pwdType==='password'"/><svg-icon icon-class="eyeopen" v-show="pwdType!=='password'"/></span>
       </el-form-item>
@@ -168,24 +168,25 @@
 $light_gray:#eee;
 
 /* reset element-ui css */
-.el-input {
+  .login-form .el-input {
     display: inline-block;
-    height: 47px;
+    // height: 47px;
     width: calc(100% - 40px);
     input {
       background: transparent;
       border: 0px;
       -webkit-appearance: none;
       border-radius: 0px;
-      padding: 12px 5px 12px 15px;
+      // padding: 12px 5px 12px 15px;
       color: $light_gray;
-      height: 47px;
+      // height: 47px;
       &:-webkit-autofill {
         -webkit-box-shadow: 0 0 0px 1000px $bg inset !important;
         -webkit-text-fill-color: #fff !important;
       }
     }
   }
+
 
 </style>
 
@@ -205,8 +206,8 @@
     padding-left: 30px;
     height: 94px;
     flex: 0 0 auto;
-    background-image: url('~@/assets/img/login/top.png');
-    background-size: contain;
+    background: url('~@/assets/img/login/top.png') 100% 100% no-repeat;
+    // background-size: cover;
     img {
       display: inline-block;
       width: 500px;

--
Gitblit v1.9.3