Files
miniwx/pages/appointment/appointment.wxss
T
2026-05-07 09:29:24 +08:00

161 lines
2.4 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;
}
.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;
}
.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;
}