人生啊人生 hace 3 semanas
padre
commit
56b686d6d9
Se han modificado 1 ficheros con 61 adiciones y 1 borrados
  1. 61 1
      user_web/src/view/LogInExe.vue

+ 61 - 1
user_web/src/view/LogInExe.vue

@@ -8,7 +8,14 @@
             <div class="left" >
                 <div class="title2" >虚拟仿真实验平台</div>
                 <div class="title3" >系统登录</div>
-                
+                <div class="edit" >
+                    <img class="editLeft" src="../assets/exeLogin/user.webp" />
+                    <input class="editRight newInput" type="text" placeholder="请输入账号" />
+                </div>
+                <div class="edit" >
+                    <img class="editLeft" src="../assets/exeLogin/pwd.webp" />
+                    <input class="editRight newInput" type="text" placeholder="请输入密码" />
+                </div>
             </div>
             
         </div>
@@ -133,6 +140,28 @@ onMounted(() => {
 
 $proportion : 0.8;
 
+.newInput {
+    /* 移除默认外观 */
+    -webkit-appearance: none;
+    -moz-appearance: none;
+    appearance: none;
+    
+    /* 移除边框和轮廓 */
+    border: none;
+    outline: none;
+    
+    /* 移除默认内边距 */
+    padding: 0;
+    
+    /* 继承字体样式 */
+    font-family: inherit;
+    font-size: inherit;
+    line-height: inherit;
+    
+    /* 背景透明 */
+    background: transparent;
+}
+
 .loginExe {
 
     box-sizing:border-box;
@@ -217,6 +246,37 @@ $proportion : 0.8;
 
             }
 
+            .edit {
+                position: relative;
+                width: 100%;
+                height: 5.71rem;
+                border: 1px solid #71CBF2;
+                margin: 3.92rem 0px 3.92rem 0px;
+                background-color: #ffffff;
+
+                .editLeft, .editRight {
+                    position: absolute;
+                }
+
+                .editLeft {
+                    width: 2.78rem;
+                    left: 2.14rem;
+                    top: 1.57rem;
+                }
+
+                .editRight {
+                    left: 6.71rem;
+                    top: 0px;
+                    bottom: 0px;
+                    right: 0px;
+                    font-weight: 400;
+                    font-size: 2.5rem;
+                    color: #49608C;
+                    
+                }
+
+            }
+            
         }
 
     }