Browse Source

0210348-登陆界面修改

0210348 4 months ago
parent
commit
91da943962
2 changed files with 12 additions and 3 deletions
  1. 2 2
      src/modules/user/login/login.page.html
  2. 10 1
      src/modules/user/login/login.page.scss

+ 2 - 2
src/modules/user/login/login.page.html

@@ -8,11 +8,11 @@
       <ion-card-content>
         <ion-list>
           <ion-item lines="none">
-            <ion-label position="floating" class="label-login">账号</ion-label>
+            <ion-label  class="label-login">账号</ion-label>
             <ion-input [(ngModel)]="username" placeholder="请输入用户名"></ion-input>
           </ion-item>
           <ion-item lines="none">
-            <ion-label position="floating" class="label-login">密码</ion-label>
+            <ion-label  class="label-login">密码</ion-label>
             <ion-input [(ngModel)]="password" type="password" placeholder="请输入密码"></ion-input>
           </ion-item>
         </ion-list>

+ 10 - 1
src/modules/user/login/login.page.scss

@@ -15,10 +15,19 @@
 }
 
 //登录注册
+.ion-label{
+  width:32px;
+}
 .label-login{
-  font-size:30px;
+  font-size:16px;
+  position: static; /* 设置为静态,不浮动 */
+  margin-right: 0px;
 }
 
+//输入
+.sc-ion-input-md-h{
+  width:88%;
+}
 
 //返回按钮
 .ion-login{