Przeglądaj źródła

0210348-登陆界面修改

0210348 4 miesięcy temu
rodzic
commit
91da943962

+ 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{