.login {
|
&-main {
|
padding: 24px 16px;
|
display: flex;
|
flex-direction: column;
|
background: #fff;
|
margin: 48px 24px;
|
text-align: center;
|
border-radius: 10px;
|
|
&-logo {
|
display: flex;
|
justify-content: center;
|
padding: 0px;
|
&-img {
|
width: 88px;
|
height: 88px;
|
border-radius: 50%;
|
}
|
}
|
&-input {
|
background: #f6f6f6;
|
border-radius: 5px;
|
padding: 8px;
|
display: flex;
|
align-items: center;
|
margin-bottom: 12px;
|
& img {
|
width: 14px;
|
height: 14px;
|
margin-right: 8px;
|
}
|
}
|
&-foot {
|
height: 185px;
|
position: fixed;
|
opacity: 0.6;
|
bottom: 0;
|
&-img {
|
width: 100%;
|
height: 100%;
|
}
|
}
|
|
& .dtm-list-item {
|
padding-left: 0 !important;
|
}
|
& .dtm-list-item .dtm-list-line {
|
padding-right: 0 !important;
|
}
|
|
& .dtm-list-line {
|
padding: 0 !important;
|
}
|
|
&-post {
|
background-color: #fff;
|
padding: 24px 16px;
|
margin: 12px 24px;
|
border-radius: 10px;
|
display: flex;
|
align-items: center;
|
// justify-content: space-between ;
|
&-name {
|
font-size: 16px;
|
line-height: 24px;
|
}
|
&-title {
|
background-color: #1A6FB8;
|
color: #fff;
|
border-radius: 8px;
|
padding: 4px 8px;
|
font-size: 14px;
|
line-height: 22px;
|
margin: 0 12px;
|
}
|
&-name1 {
|
background-color: #ff9200;
|
color: #fff;
|
font-size: 14px;
|
line-height: 22px;
|
padding: 2px 4px;
|
}
|
&-name2 {
|
background-color: #e2dfdf;
|
font-size: 14px;
|
line-height: 22px;
|
padding: 2px 4px;
|
}
|
}
|
}
|
}
|
|
.login-main .dtm-input-item-input {
|
background-color: transparent !important;
|
}
|
|
.login-main-remember {
|
display: flex;
|
align-items: center;
|
font-size: 14px;
|
color: #666;
|
}
|
|
/* 手机H5登录页样式 */
|
.h5-login {
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
justify-content: center;
|
min-height: 100vh;
|
width: 100%;
|
background: linear-gradient(180deg, #FFF9EC 0%, #E4DBFB 100%);
|
position: relative;
|
overflow: hidden;
|
|
&-container {
|
width: 100%;
|
padding: 20px;
|
box-sizing: border-box;
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
justify-content: center;
|
}
|
|
&-card {
|
width: 100%;
|
max-width: 318px;
|
background-color: rgba(255, 255, 255, 0.6);
|
border-radius: 12px;
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
|
padding: 24px;
|
margin: 0 auto;
|
box-sizing: border-box;
|
}
|
|
&-logo {
|
display: flex;
|
justify-content: center;
|
margin-bottom: 16px;
|
|
img {
|
width: 120px;
|
height: auto;
|
}
|
}
|
|
&-title {
|
text-align: center;
|
margin-bottom: 16px;
|
|
&-main {
|
font-size: 16px;
|
font-weight: 500;
|
color: #333;
|
margin-bottom: 4px;
|
}
|
|
&-sub {
|
font-size: 14px;
|
color: #333;
|
font-weight: 500;
|
}
|
}
|
|
&-subtitle {
|
color: #999;
|
font-size: 14px;
|
text-align: center;
|
margin-bottom: 24px;
|
}
|
|
&-form {
|
.ant-form-item:last-child {
|
margin-bottom: 0;
|
}
|
}
|
|
&-options {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
margin-bottom: 24px;
|
font-size: 14px;
|
}
|
|
&-forgot {
|
color: #1A6FB8;
|
cursor: pointer;
|
}
|
|
&-button {
|
width: 295px;
|
height: 48px;
|
background: #1a6fb8;
|
border-radius: 10px;
|
font-size: 16px;
|
color: #fff;
|
}
|
|
/* 已登录用户信息样式 */
|
&-user {
|
&-info {
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
}
|
|
&-avatar {
|
width: 80px;
|
height: 80px;
|
margin-bottom: 16px;
|
|
img {
|
width: 100%;
|
height: 100%;
|
border-radius: 50%;
|
object-fit: cover;
|
}
|
}
|
|
&-name {
|
font-size: 18px;
|
font-weight: 500;
|
color: #333;
|
margin-bottom: 8px;
|
}
|
|
&-subtitle {
|
color: #999;
|
font-size: 12px;
|
margin-bottom: 24px;
|
text-align: center;
|
}
|
}
|
|
&-logout-btn {
|
margin-top: 12px;
|
}
|
|
/* 忘记密码弹窗样式 */
|
&-forgot-modal {
|
.ant-modal {
|
position: fixed;
|
width: 100% !important;
|
max-width: 100%;
|
margin: 0;
|
bottom: 0;
|
top: auto;
|
padding: 0;
|
}
|
|
.ant-modal-content {
|
border-radius: 8px 8px 0 0;
|
overflow: hidden;
|
animation: modalSlideUp 0.3s ease-out forwards;
|
transform: translateY(100%);
|
margin: 0;
|
}
|
|
.ant-modal-body {
|
padding: 0;
|
}
|
|
.ant-modal-wrap {
|
overflow: hidden;
|
}
|
}
|
|
&-forgot-content {
|
padding: 0px;
|
text-align: left;
|
}
|
|
&-forgot-header {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
padding-bottom: 4px;
|
border-bottom: 1px dashed #e8e8e8;
|
}
|
|
&-forgot-title {
|
font-size: 16px;
|
font-weight: 500;
|
color: #333;
|
text-align: left;
|
margin-left: 0;
|
}
|
|
&-forgot-close {
|
font-size: 20px;
|
color: #1a6fb8;
|
cursor: pointer;
|
}
|
|
&-forgot-desc {
|
font-size: 14px;
|
color: #666;
|
line-height: 1.6;
|
margin-bottom: 16px;
|
text-align: left;
|
padding: 8px 0;
|
}
|
|
&-forgot-btn {
|
width: 100%;
|
height: 44px;
|
background: #1a6fb8;
|
border-radius: 8px;
|
color: #fff;
|
font-size: 16px;
|
border: none;
|
margin: 0 auto;
|
}
|
}
|
|
/* 表单项样式调整 */
|
.h5-login-form .ant-form-item {
|
margin-bottom: 16px;
|
}
|
|
.h5-login-form .ant-input,
|
.h5-login-form .ant-input-affix-wrapper {
|
height: 48px;
|
border-radius: 4px;
|
padding: 0 12px;
|
}
|
|
/* 底部信息 */
|
.public-a {
|
color: #bbb;
|
font-size: 12px;
|
text-align: center;
|
position: absolute;
|
bottom: 24px;
|
width: 100%;
|
}
|
|
/* 弹窗动画 */
|
@keyframes modalSlideUp {
|
from {
|
transform: translateY(100%);
|
}
|
to {
|
transform: translateY(0);
|
}
|
}
|