Files
JayuCloud/FM-Wechat-Fronted/pages/login/index.wxss
T

308 lines
4.6 KiB
Plaintext

.auth-page {
display: flex;
flex-direction: column;
justify-content: flex-start;
padding-top: 12rpx;
}
.brand {
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 24rpx;
}
.logo {
width: 112rpx;
height: 112rpx;
border-radius: 30rpx;
background: #e5eee9;
box-shadow: 0 16rpx 34rpx rgba(111, 143, 131, 0.24);
}
.brand-name {
margin-top: 24rpx;
color: #24211d;
font-size: 42rpx;
font-weight: 800;
}
.brand-sub {
margin-top: 8rpx;
color: #938c83;
font-size: 24rpx;
}
.auth-card {
padding: 12rpx 24rpx 26rpx;
}
.mode-tabs {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12rpx;
margin: 12rpx 0 10rpx;
padding: 8rpx;
border-radius: 12px;
background: #f3eee7;
}
.mode-tab {
display: flex;
align-items: center;
justify-content: center;
min-height: 64rpx;
border-radius: 10px;
color: #766f66;
font-size: 24rpx;
font-weight: 800;
}
.mode-tab.active {
background: #fffdf8;
color: #55786d;
box-shadow: 0 8rpx 18rpx rgba(58, 48, 34, 0.08);
}
.code-row {
display: flex;
align-items: center;
flex: 1;
min-width: 0;
}
.code-input {
min-width: 0;
}
.code-btn {
width: 160rpx;
min-width: 160rpx;
max-width: 160rpx;
height: 56rpx;
padding: 0;
color: #6f8f83;
font-size: 24rpx;
font-weight: 700;
text-align: right;
}
.agreement-row,
.remember-row {
display: flex;
align-items: center;
gap: 14rpx;
margin-top: 22rpx;
color: #736c63;
font-size: 24rpx;
}
.remember-row {
margin-top: 18rpx;
}
.agreement-check {
display: flex;
align-items: center;
justify-content: center;
width: 34rpx;
min-width: 34rpx;
height: 34rpx;
border: 1rpx solid #bfb7ad;
border-radius: 8rpx;
color: #fffdf8;
font-size: 22rpx;
font-weight: 900;
}
.agreement-check.checked {
border-color: #6f8f83;
background: #6f8f83;
}
.agreement-copy {
flex: 1;
line-height: 1.45;
}
.agreement-link {
color: #55786d;
font-weight: 800;
}
.agreement-error {
margin-top: 16rpx;
color: #c36a6a;
font-size: 23rpx;
line-height: 1.5;
}
.login-btn {
margin-top: 28rpx;
}
.login-btn.disabled {
opacity: 0.56;
}
.auth-links {
display: flex;
justify-content: space-between;
margin-top: 18rpx;
}
.wechat-btn {
margin-top: 34rpx;
}
.shop-select-mask {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 20;
display: flex;
align-items: center;
justify-content: center;
padding: 48rpx;
background: rgba(36, 33, 29, 0.38);
}
.shop-select-dialog {
width: 100%;
max-height: 76vh;
padding: 28rpx;
border-radius: 8px;
background: #fffdf8;
box-shadow: 0 24rpx 64rpx rgba(58, 48, 34, 0.18);
}
.shop-select-header {
display: flex;
flex-direction: column;
gap: 8rpx;
margin-bottom: 22rpx;
}
.shop-select-title {
color: #24211d;
font-size: 32rpx;
font-weight: 900;
}
.shop-select-subtitle {
color: #928a80;
font-size: 24rpx;
}
.shop-option-list {
max-height: 520rpx;
}
.shop-option {
display: flex;
align-items: center;
gap: 18rpx;
min-height: 112rpx;
margin-bottom: 14rpx;
padding: 18rpx;
border: 1rpx solid #ece3d7;
border-radius: 8px;
background: #fbf7f0;
}
.shop-option.disabled {
opacity: 0.6;
}
.shop-option-icon {
display: flex;
align-items: center;
justify-content: center;
width: 72rpx;
min-width: 72rpx;
height: 72rpx;
border-radius: 8px;
background: #e5eee9;
color: #55786d;
font-size: 26rpx;
font-weight: 900;
}
.shop-option-copy {
display: flex;
min-width: 0;
flex: 1;
flex-direction: column;
gap: 8rpx;
}
.shop-option-name {
color: #2f2a25;
font-size: 28rpx;
font-weight: 800;
}
.shop-option-id {
color: #9a9288;
font-size: 22rpx;
}
.shop-switching {
margin-top: 12rpx;
color: #6f8f83;
font-size: 24rpx;
font-weight: 700;
text-align: center;
}
.agreement-mask {
position: fixed;
inset: 0;
z-index: 90;
display: flex;
align-items: center;
justify-content: center;
padding: 28rpx;
background: rgba(36, 33, 29, 0.42);
}
.agreement-modal {
width: 100%;
max-height: 82vh;
padding: 30rpx 28rpx;
border-radius: 24rpx;
background: #fffdf8;
box-shadow: 0 24rpx 64rpx rgba(58, 48, 34, 0.18);
}
.agreement-modal-title {
color: #24211d;
font-size: 32rpx;
font-weight: 900;
line-height: 1.35;
}
.agreement-modal-meta {
margin-top: 10rpx;
color: #928a80;
font-size: 22rpx;
}
.agreement-modal-body {
height: 640rpx;
max-height: 56vh;
margin-top: 22rpx;
padding: 20rpx;
border-radius: 18rpx;
background: #f3eee7;
color: #2f2a25;
font-size: 24rpx;
line-height: 1.85;
}
.agreement-modal-close {
margin-top: 22rpx;
}