|
@@ -1,21 +1,52 @@
|
|
|
-<ion-content class="ion-padding">
|
|
|
- <h2>注册新用户</h2>
|
|
|
+<ion-content class="ion-padding register-modal">
|
|
|
+ <div class="modal-header">
|
|
|
+ <ion-icon name="person-add-outline" class="header-icon"></ion-icon>
|
|
|
+ <h2 class="modal-title">注册新账号</h2>
|
|
|
+ <p class="modal-subtitle">加入明律通,开启智能法律服务</p>
|
|
|
+ </div>
|
|
|
|
|
|
- <ion-input
|
|
|
- label="用户名"
|
|
|
- labelPlacement="stacked"
|
|
|
- [(ngModel)]="username"
|
|
|
- placeholder="请输入用户名">
|
|
|
- </ion-input>
|
|
|
+ <form class="register-form">
|
|
|
+ <ion-item lines="none" class="form-item">
|
|
|
+ <ion-label position="stacked" class="input-label">用户名</ion-label>
|
|
|
+ <ion-input
|
|
|
+ [(ngModel)]="username"
|
|
|
+ name="username"
|
|
|
+ placeholder="请输入4-16位用户名"
|
|
|
+ class="custom-input"
|
|
|
+ clearInput>
|
|
|
+ </ion-input>
|
|
|
+ </ion-item>
|
|
|
|
|
|
- <ion-input
|
|
|
- label="密码"
|
|
|
- labelPlacement="stacked"
|
|
|
- [(ngModel)]="password"
|
|
|
- placeholder="请输入密码"
|
|
|
- type="password">
|
|
|
- </ion-input>
|
|
|
+ <ion-item lines="none" class="form-item">
|
|
|
+ <ion-label position="stacked" class="input-label">密码</ion-label>
|
|
|
+ <ion-input
|
|
|
+ [(ngModel)]="password"
|
|
|
+ name="password"
|
|
|
+ type="password"
|
|
|
+ placeholder="请输入6-20位密码"
|
|
|
+ class="custom-input"
|
|
|
+ clearInput>
|
|
|
+ </ion-input>
|
|
|
+ </ion-item>
|
|
|
|
|
|
- <ion-button expand="block" (click)="register()">注册</ion-button>
|
|
|
- <ion-button expand="block" color="medium" (click)="close()">取消</ion-button>
|
|
|
-</ion-content>
|
|
|
+ <div class="form-actions">
|
|
|
+ <ion-button
|
|
|
+ expand="block"
|
|
|
+ shape="round"
|
|
|
+ class="register-btn"
|
|
|
+ (click)="register()">
|
|
|
+ <ion-icon name="checkmark-circle-outline" slot="start"></ion-icon>
|
|
|
+ 立即注册
|
|
|
+ </ion-button>
|
|
|
+
|
|
|
+ <ion-button
|
|
|
+ expand="block"
|
|
|
+ fill="clear"
|
|
|
+ color="medium"
|
|
|
+ class="cancel-btn"
|
|
|
+ (click)="close()">
|
|
|
+ 已有账号?去登录
|
|
|
+ </ion-button>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+</ion-content>
|