Files
miniwx/pages/appointment/appointment.wxss
T

246 lines
3.5 KiB
Plaintext

/**appointment.wxss**/
page {
background-color: #f0f5fa;
min-height: 100vh;
}
.page {
padding: 24rpx 32rpx 160rpx;
}
.section {
background: #ffffff;
border-radius: 24rpx;
padding: 32rpx;
margin-bottom: 20rpx;
box-shadow: 0 4rpx 20rpx rgba(91, 155, 213, 0.08);
}
.section-title {
font-size: 30rpx;
font-weight: 600;
color: #2c3e50;
margin-bottom: 24rpx;
padding-left: 20rpx;
border-left: 6rpx solid #5b9bd5;
letter-spacing: 2rpx;
}
.form-group {
display: flex;
align-items: center;
min-height: 88rpx;
border-bottom: 1rpx solid #e8eef5;
}
.form-group:last-child {
border-bottom: none;
}
.form-group-time {
flex-wrap: wrap;
}
.form-field-wrap {
flex: 1;
min-width: 0;
}
.time-range {
flex: 1;
display: flex;
align-items: center;
}
.time-picker-wrap {
flex: 1;
}
.time-picker {
display: flex;
align-items: center;
justify-content: center;
height: 88rpx;
position: relative;
}
.time-picker .picker-arrow {
position: absolute;
right: 0;
font-size: 32rpx;
color: #b8c9db;
}
.time-range-sep {
font-size: 28rpx;
color: #b8c9db;
padding: 0 12rpx;
flex-shrink: 0;
}
.form-label {
width: 160rpx;
font-size: 28rpx;
color: #7f8fa6;
flex-shrink: 0;
}
.required {
color: #ff4d4f;
margin-left: 4rpx;
}
.form-input {
flex: 1;
font-size: 28rpx;
color: #2c3e50;
height: 88rpx;
}
.form-picker-wrap {
flex: 1;
}
.form-picker {
display: flex;
align-items: center;
justify-content: space-between;
height: 88rpx;
}
.picker-value {
font-size: 28rpx;
color: #2c3e50;
}
.picker-placeholder {
font-size: 28rpx;
color: #b8c9db;
}
.picker-arrow {
font-size: 32rpx;
color: #b8c9db;
}
.form-input-disabled {
color: #999;
}
.form-group-area {
flex-wrap: wrap;
}
.multi-select-wrap {
position: relative;
flex: 1;
}
.multi-select-trigger {
display: flex;
align-items: center;
justify-content: space-between;
height: 88rpx;
}
.multi-select-dropdown {
position: absolute;
top: 88rpx;
left: 0;
right: 0;
background: #fff;
border: 1rpx solid #e8eef5;
border-radius: 12rpx;
box-shadow: 0 8rpx 24rpx rgba(0, 0, 0, 0.1);
z-index: 100;
padding: 8rpx 0;
}
.checkbox-item {
display: flex;
align-items: center;
padding: 20rpx 24rpx;
}
.checkbox {
width: 40rpx;
height: 40rpx;
border: 2rpx solid #d0d8e4;
border-radius: 8rpx;
display: flex;
align-items: center;
justify-content: center;
margin-right: 16rpx;
flex-shrink: 0;
}
.checkbox-checked {
background: #5b9bd5;
border-color: #5b9bd5;
}
.checkbox-icon {
color: #fff;
font-size: 24rpx;
}
.checkbox-label {
font-size: 28rpx;
color: #2c3e50;
}
.arrow-up {
transform: rotate(90deg);
}
.submit-wrap {
position: fixed;
bottom: 0;
left: 0;
right: 0;
padding: 20rpx 32rpx;
padding-bottom: calc(20rpx + env(safe-area-inset-bottom));
background: #ffffff;
border-top: 1rpx solid #e8eef5;
box-shadow: 0 -4rpx 16rpx rgba(91, 155, 213, 0.06);
}
.submit-btn {
width: 100%;
height: 88rpx;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #5b9bd5, #4a8bc2);
color: #fff;
font-size: 32rpx;
font-weight: 600;
border-radius: 44rpx;
border: none;
padding: 0;
margin: 0;
line-height: 1;
letter-spacing: 4rpx;
box-shadow: 0 6rpx 24rpx rgba(91, 155, 213, 0.3);
}
.submit-btn::after {
border: none;
}
.submit-btn[disabled] {
background: #d6e2ef;
color: #94aec5;
box-shadow: none;
}
.form-input-error {
color: #ff4d4f;
}
.form-error {
font-size: 22rpx;
color: #ff4d4f;
padding-top: 4rpx;
}