Commit cf225349 authored by wangqinghua's avatar wangqinghua

发现二级菜单

parent 5c38ee91
...@@ -329,3 +329,11 @@ a[disabled], button[disabled], [ion-button][disabled], ...@@ -329,3 +329,11 @@ a[disabled], button[disabled], [ion-button][disabled],
width: 100%; width: 100%;
border: 1px solid #ddd; border: 1px solid #ddd;
} }
.login-box {
padding-top: 4rem;
height: 100%;
background-image: url('../assets/imgs/login-bg.png');
background-repeat: repeat;
background-size: cover;
}
\ No newline at end of file
src/assets/imgs/icon-password.png

3.72 KB | W: | H:

src/assets/imgs/icon-password.png

1.38 KB | W: | H:

src/assets/imgs/icon-password.png
src/assets/imgs/icon-password.png
src/assets/imgs/icon-password.png
src/assets/imgs/icon-password.png
  • 2-up
  • Swipe
  • Onion skin
src/assets/imgs/icon-phone.png

1.39 KB | W: | H:

src/assets/imgs/icon-phone.png

1.12 KB | W: | H:

src/assets/imgs/icon-phone.png
src/assets/imgs/icon-phone.png
src/assets/imgs/icon-phone.png
src/assets/imgs/icon-phone.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -14,30 +14,30 @@ ...@@ -14,30 +14,30 @@
<form #loginForm="ngForm" class="login-form"> <form #loginForm="ngForm" class="login-form">
<div class="login-input"> <div class="login-input">
<img src="./assets/imgs/icon-phone.png" class="login-input-img"> <img src="./assets/imgs/icon-phone.png" class="login-input-img">
<input [(ngModel)]="user.mobile" class="login-input-content" name="mobile" type="text" #mobile required placeholder="手机号" <input [(ngModel)]="user.mobile" class="login-input-content" name="mobile" type="text" #mobile
(ionBlur)="loseFocus()" (ionFocus)="getFocus()" /> required placeholder="手机号"
(ionBlur)="loseFocus()" (ionFocus)="getFocus()"/>
</div> </div>
<div class="login-input"> <div class="login-input">
<img src="./assets/imgs/icon-password.png" class="login-input-img"> <img src="./assets/imgs/icon-password.png" class="login-input-img">
<input [(ngModel)]="user.password" class="login-input-content" name="password" type="password" #password required placeholder="密 码" <input [(ngModel)]="user.password" class="login-input-content" name="password" type="password"
(ionBlur)="loseFocus()" (ionFocus)="getFocus()" /> #password required placeholder="密 码"
(ionBlur)="loseFocus()" (ionFocus)="getFocus()"/>
</div> </div>
<div class="mui-input-row mui-checkbox mui-left" style="margin-bottom: 15px;"> <div class="mui-input-row mui-checkbox mui-left" style="margin-bottom: 15px;">
<input [(ngModel)]="user.remember" name="checkbox" class="jizhu-password" value="1" type="checkbox" checked="true" style="margin-left:10px;width:17px;height:17px;vertical-align:middle"> <input [(ngModel)]="user.remember" name="checkbox" class="jizhu-password" value="1" type="checkbox"
checked="true" style="margin-left:10px;width:17px;height:17px;vertical-align:middle">
<label style="padding-left:5px;font-family:'微软雅黑';" class="jizhu-password-label">记住密码</label> <label style="padding-left:5px;font-family:'微软雅黑';" class="jizhu-password-label">记住密码</label>
</div> </div>
<button type="button" (click)="forgetPassword()" class="login-btn"
<button type="button" (click)="forgetPassword()" class="login-btn" style="width: 48%;float: left; color:#e12724;background-color: #ffffff;border-color: #e12724;">忘记密码</button> style="width: 48%;float: left; color:#e12724;background-color: #ffffff;border-color: #e12724;">
忘记密码
</button>
<button type="button" (click)="login()" class="login-btn" style="width: 48%;float: right;">&nbsp;&nbsp;</button> <button type="button" (click)="login()" class="login-btn" style="width: 48%;float: right;">&nbsp;&nbsp;</button>
</form> </form>
<div class="introduce"> <div class="introduce">
登陆手机号为组织部统一配发的手机号,初始密码为000000,使用过程中如有任何问题请联系人事处。 登陆手机号为组织部统一配发的手机号,初始密码为000000,使用过程中如有任何问题请联系人事处。
</div> </div>
</div> </div>
</div>
</ion-content>
</div></ion-content> \ No newline at end of file
\ No newline at end of file
page-login { page-login {
.searchToolBar{ .searchToolBar {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
...@@ -8,13 +8,9 @@ page-login { ...@@ -8,13 +8,9 @@ page-login {
box-sizing: border-box; box-sizing: border-box;
} }
.login-box{
padding-top: 3rem;
background-color: #f0f1f2;
height: 100%
}
.login{
.login {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
...@@ -22,18 +18,18 @@ page-login { ...@@ -22,18 +18,18 @@ page-login {
box-sizing: border-box; box-sizing: border-box;
} }
.login-logo{ .login-logo {
width: 100px; width: 100px;
height: 70px; height: 70px;
margin: 20px 0; margin: 20px 0;
} }
.login-form{ .login-form {
width: 100%; width: 100%;
padding: 0 30px; padding: 0 30px;
} }
.login-input{ .login-input {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
...@@ -45,45 +41,34 @@ page-login { ...@@ -45,45 +41,34 @@ page-login {
margin-bottom: 20px; margin-bottom: 20px;
padding: 7px 3px; padding: 7px 3px;
font-size: 16px; font-size: 16px;
border: 1px solid #fee7e7;
color: #333333;
}
input::-webkit-input-placeholder{
color: #e9acad;
} }
.login-input-img{ .login-input-img {
width: 30px; width: 30px;
height: 30px; height: 30px;
} }
.login-input-content{ .login-input-content {
// background-color: #feffff;
border: 0; border: 0;
width: 100%; width: 100%;
} }
.login-bt{ .login-bt {
background-color: #488afa; background-color: #488afa;
font-size: 20px; font-size: 20px;
} }
.introduce {
// .introduce-box{
// background-color: #f4f5f6;
// width: 100%;
// position: absolute;
// bottom: 0;
// padding: 5px 0;
// }
// .introduce{
// margin: 0 0 0 40px;
// font-size: 16px;
// color: #7e7f80;
// }
.introduce{
margin: 20px 30px 0 30px; margin: 20px 30px 0 30px;
font-size: 14px; font-size: 14px;
color: #7e7f80; color: #e9acad;
// text-indent:2em;
} }
.login-btn{ .login-btn {
display: block; display: block;
width: 100%; width: 100%;
margin-bottom: 10px; margin-bottom: 10px;
...@@ -97,26 +82,21 @@ page-login { ...@@ -97,26 +82,21 @@ page-login {
text-align: center; text-align: center;
white-space: nowrap; white-space: nowrap;
border-radius: 3px; border-radius: 3px;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
} }
.jizhu-password{ .jizhu-password {
color: #4a89f9; color: #4a89f9;
font-family: Muiicons; font-family: Muiicons;
font-size: 28px; font-size: 28px;
font-weight: 400; font-weight: 400;
line-height: 1; line-height: 1;
text-decoration: none; text-decoration: none;
border-radius: 0; border-radius: 0;
background: 0 0; background: 0 0;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
} }
.back-btn{ .back-btn {
width: 30px; width: 30px;
height: 30px; height: 30px;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment