记账微信小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

180 lines
2.8 KiB

.login-container {
display: flex;
flex-direction: column;
min-height: 100vh;
background: linear-gradient(135deg, #f5f7fa 0%, #e4eaf1 100%);
padding: 0 30rpx;
box-sizing: border-box;
}
/* 应用图标区域 */
.app-icon {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 120rpx;
margin-bottom: 80rpx;
}
.logo-img {
width: 160rpx;
height: 160rpx;
border-radius: 24rpx;
box-shadow: 0 8rpx 24rpx rgba(0, 0, 0, 0.1);
margin-bottom: 30rpx;
}
.app-name {
font-size: 36rpx;
font-weight: 600;
color: #333;
letter-spacing: 2rpx;
}
/* 登录卡片 */
.login-card {
background-color: #fff;
border-radius: 24rpx;
padding: 60rpx 40rpx;
box-shadow: 0 10rpx 30rpx rgba(0, 0, 0, 0.08);
margin-bottom: 50rpx;
}
/* 输入框样式 */
.input-group {
display: flex;
align-items: center;
border-bottom: 2rpx solid #eee;
padding: 25rpx 0;
position: relative;
transition: all 0.3s ease;
}
.input-group.error {
border-bottom-color: #ff4d4f;
}
.input-icon {
margin-right: 20rpx;
}
.input-field {
flex: 1;
font-size: 30rpx;
color: #333;
height: 40rpx;
}
.placeholder {
color: #c9c9c9;
}
.toggle-password {
margin-left: 20rpx;
}
.error-icon {
margin-left: 20rpx;
}
.error-message {
color: #ff4d4f;
font-size: 24rpx;
margin-top: 10rpx;
margin-bottom: 10rpx;
height: 28rpx;
line-height: 28rpx;
}
/* 忘记密码 */
.forgot-password {
display: flex;
justify-content: flex-end;
margin: 15rpx 0 40rpx 0;
}
.forgot-password text {
font-size: 26rpx;
color: #5a89e7;
}
/* 登录按钮 */
.login-button {
width: 100%;
height: 90rpx;
line-height: 90rpx;
background: linear-gradient(90deg, #5a89e7 0%, #3b6fe4 100%);
color: #fff;
font-size: 32rpx;
border-radius: 45rpx;
margin: 20rpx 0;
box-shadow: 0 6rpx 16rpx rgba(90, 137, 231, 0.4);
letter-spacing: 4rpx;
}
.login-button::after {
border: none;
}
/* 注册区域 */
.register-section {
display: flex;
justify-content: center;
margin-top: 40rpx;
font-size: 26rpx;
color: #666;
}
.register-link {
color: #5a89e7;
margin-left: 10rpx;
font-weight: 500;
}
/* 其他登录方式 */
.other-login {
display: flex;
align-items: center;
margin: 30rpx 0;
}
.line {
flex: 1;
height: 1rpx;
background-color: #ddd;
}
.other-login-text {
padding: 0 20rpx;
font-size: 24rpx;
color: #999;
}
/* 社交登录 */
.social-login {
display: flex;
justify-content: center;
margin-top: 20rpx;
}
.social-btn {
display: flex;
align-items: center;
justify-content: center;
background-color: #f0f7ff;
color: #52c41a;
font-size: 28rpx;
padding: 0 30rpx;
height: 80rpx;
border-radius: 40rpx;
}
.social-btn::after {
border: none;
}
.social-icon {
width: 36rpx;
height: 36rpx;
margin-right: 15rpx;
}