337 lines
5.2 KiB
Plaintext
337 lines
5.2 KiB
Plaintext
/* pages/order/orderEdit.wxss */
|
|
page {
|
|
background-color: #f5f6fa;
|
|
color: #1a1a2e;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
}
|
|
|
|
.page {
|
|
min-height: 100vh;
|
|
background: #f5f6fa;
|
|
padding: 24rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.form {
|
|
padding-bottom: 40rpx;
|
|
}
|
|
|
|
/* 健康档案简要信息 */
|
|
.profile-brief {
|
|
background: #ffffff;
|
|
border-radius: 24rpx;
|
|
border: 1rpx solid rgba(31, 61, 56, 0.06);
|
|
padding: 28rpx 32rpx;
|
|
margin-bottom: 24rpx;
|
|
box-shadow: 0 6rpx 20rpx rgba(31, 61, 56, 0.07);
|
|
}
|
|
|
|
.brief-tags {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12rpx;
|
|
margin-top: 20rpx;
|
|
}
|
|
|
|
.brief-tag {
|
|
font-size: 22rpx;
|
|
background-color: rgba(26, 188, 156, 0.1);
|
|
color: #1abc9c;
|
|
border-radius: 16rpx;
|
|
padding: 6rpx 16rpx;
|
|
}
|
|
|
|
.brief-remark {
|
|
display: block;
|
|
margin-top: 16rpx;
|
|
font-size: 24rpx;
|
|
color: #888888;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
/* 未选择档案占位 */
|
|
.profile-empty {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.profile-empty-main {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.profile-empty-title {
|
|
font-size: 30rpx;
|
|
font-weight: 600;
|
|
color: #1a1a1a;
|
|
}
|
|
|
|
.profile-empty-sub {
|
|
margin-top: 6rpx;
|
|
font-size: 24rpx;
|
|
color: #888888;
|
|
}
|
|
|
|
.profile-empty-btn {
|
|
padding: 14rpx 32rpx;
|
|
border-radius: 40rpx;
|
|
background-color: rgba(26, 188, 156, 0.1);
|
|
color: #1abc9c;
|
|
font-size: 26rpx;
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* 档案选择弹层 */
|
|
.picker-mask {
|
|
position: fixed;
|
|
inset: 0;
|
|
background-color: rgba(0, 0, 0, 0.45);
|
|
z-index: 999;
|
|
display: flex;
|
|
align-items: flex-end;
|
|
}
|
|
|
|
.picker-sheet {
|
|
width: 100%;
|
|
max-height: 75vh;
|
|
background: #ffffff;
|
|
border-radius: 32rpx 32rpx 0 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding-bottom: env(safe-area-inset-bottom);
|
|
}
|
|
|
|
.picker-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 32rpx 32rpx 0;
|
|
}
|
|
|
|
.picker-title {
|
|
font-size: 32rpx;
|
|
font-weight: 700;
|
|
color: #1a1a1a;
|
|
}
|
|
|
|
.picker-close {
|
|
font-size: 32rpx;
|
|
color: #999;
|
|
padding: 8rpx;
|
|
}
|
|
|
|
.picker-search {
|
|
padding: 24rpx 32rpx;
|
|
}
|
|
|
|
.picker-search-input {
|
|
width: 100%;
|
|
height: 72rpx;
|
|
background: #f5f6fa;
|
|
border-radius: 36rpx;
|
|
padding: 0 32rpx;
|
|
box-sizing: border-box;
|
|
font-size: 28rpx;
|
|
color: #1a1a2e;
|
|
}
|
|
|
|
.picker-list {
|
|
flex: 1;
|
|
min-height: 0;
|
|
max-height: 55vh;
|
|
padding: 0 32rpx 32rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.picker-item {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 24rpx 0;
|
|
border-bottom: 1rpx solid #f0f1f5;
|
|
}
|
|
|
|
.picker-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.picker-avatar {
|
|
width: 72rpx;
|
|
height: 72rpx;
|
|
border-radius: 50%;
|
|
background: #e6f9f3;
|
|
color: #17c3a5;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 30rpx;
|
|
font-weight: 600;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.picker-item-main {
|
|
flex: 1;
|
|
margin-left: 20rpx;
|
|
min-width: 0;
|
|
}
|
|
|
|
.picker-item-name-row {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.picker-item-name {
|
|
font-size: 30rpx;
|
|
font-weight: 600;
|
|
color: #1a1a2e;
|
|
}
|
|
|
|
.picker-item-sub {
|
|
margin-left: 12rpx;
|
|
font-size: 24rpx;
|
|
color: #999;
|
|
}
|
|
|
|
.picker-item-mobile {
|
|
display: block;
|
|
margin-top: 4rpx;
|
|
font-size: 24rpx;
|
|
color: #999;
|
|
}
|
|
|
|
.picker-arrow {
|
|
color: #c0c4cc;
|
|
font-size: 32rpx;
|
|
}
|
|
|
|
.picker-empty {
|
|
padding: 60rpx 0;
|
|
text-align: center;
|
|
font-size: 26rpx;
|
|
color: #999;
|
|
}
|
|
|
|
.section {
|
|
margin-bottom: 32rpx;
|
|
}
|
|
|
|
/* home 同款绿色竖条标题 */
|
|
.section-title {
|
|
position: relative;
|
|
font-size: 30rpx;
|
|
font-weight: 600;
|
|
color: #1a1a1a;
|
|
margin-bottom: 16rpx;
|
|
margin-left: 20rpx;
|
|
letter-spacing: 1rpx;
|
|
|
|
&::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: -20rpx;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
width: 8rpx;
|
|
height: 28rpx;
|
|
border-radius: 4rpx;
|
|
background: linear-gradient(180deg, #2dd36f, #17c3a5);
|
|
}
|
|
}
|
|
|
|
.info-card {
|
|
background: #ffffff;
|
|
border-radius: 24rpx;
|
|
border: 1rpx solid rgba(31, 61, 56, 0.06);
|
|
padding: 8rpx 32rpx;
|
|
box-shadow: 0 6rpx 20rpx rgba(31, 61, 56, 0.07);
|
|
}
|
|
|
|
.field {
|
|
display: flex;
|
|
align-items: center;
|
|
min-height: 96rpx;
|
|
border-bottom: 1rpx solid #f0f1f5;
|
|
}
|
|
|
|
.field:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.field-label {
|
|
width: 160rpx;
|
|
flex-shrink: 0;
|
|
font-size: 28rpx;
|
|
color: #666;
|
|
}
|
|
|
|
.field-input {
|
|
flex: 1;
|
|
font-size: 28rpx;
|
|
color: #1a1a2e;
|
|
}
|
|
|
|
.field-picker {
|
|
flex: 1;
|
|
}
|
|
|
|
.field-switch {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.switch-label {
|
|
margin-right: 16rpx;
|
|
font-size: 26rpx;
|
|
|
|
&.paid {
|
|
color: #17c3a5;
|
|
}
|
|
|
|
&.unpaid {
|
|
color: #9ca3af;
|
|
}
|
|
}
|
|
|
|
.field-value {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
font-size: 28rpx;
|
|
color: #1a1a2e;
|
|
}
|
|
|
|
.field-value.placeholder {
|
|
color: #c0c4cc;
|
|
}
|
|
|
|
.arrow {
|
|
color: #c0c4cc;
|
|
font-size: 32rpx;
|
|
}
|
|
|
|
.field-textarea {
|
|
align-items: flex-start;
|
|
padding: 24rpx 0;
|
|
}
|
|
|
|
.field-area {
|
|
flex: 1;
|
|
min-height: 120rpx;
|
|
font-size: 28rpx;
|
|
color: #1a1a2e;
|
|
}
|
|
|
|
.submit-btn {
|
|
margin-top: 16rpx;
|
|
height: 96rpx;
|
|
line-height: 96rpx;
|
|
text-align: center;
|
|
font-size: 32rpx;
|
|
font-weight: 600;
|
|
color: #ffffff;
|
|
background: linear-gradient(135deg, #2dd36f, #17c3a5);
|
|
border-radius: 48rpx;
|
|
box-shadow: 0 4rpx 16rpx rgba(23, 195, 165, 0.25);
|
|
} |