Files
wxapp_companion/pages/order/orderEdit.less
T
lik 1d8af0cb26 style: 统一全局字号层级,首页快捷入口改为单行
正文统一 28rpx,小字整体上调一级;快捷入口所有项目单行等分展示。
2026-11-10 21:13:34 +08:00

344 lines
5.2 KiB
Plaintext

/* pages/order/orderEdit.wxss */
page {
background-color: #FAF6F1;
color: #2A211B;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
.page {
min-height: 100vh;
background: #FAF6F1;
padding: 24rpx;
box-sizing: border-box;
}
.form {
padding-bottom: 40rpx;
}
/* 健康档案简要信息 */
.profile-brief {
background: #ffffff;
border-radius: 24rpx;
border: 1rpx solid rgba(90, 62, 42, 0.06);
padding: 28rpx 32rpx;
margin-bottom: 24rpx;
box-shadow: 0 6rpx 20rpx rgba(90, 62, 42, 0.07);
}
.brief-tags {
display: flex;
flex-wrap: wrap;
gap: 12rpx;
margin-top: 20rpx;
}
.brief-tag {
font-size: 24rpx;
background-color: rgba(194, 106, 46, 0.1);
color: #C26A2E;
border-radius: 16rpx;
padding: 6rpx 16rpx;
}
.brief-remark {
display: block;
margin-top: 16rpx;
font-size: 26rpx;
color: #8A8078;
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: #2A211B;
}
.profile-empty-sub {
margin-top: 6rpx;
font-size: 26rpx;
color: #8A8078;
}
.profile-empty-btn {
padding: 14rpx 32rpx;
border-radius: 40rpx;
background-color: rgba(194, 106, 46, 0.1);
color: #C26A2E;
font-size: 28rpx;
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: #2A211B;
}
.picker-close {
font-size: 32rpx;
color: #9A9087;
padding: 8rpx;
}
.picker-search {
padding: 24rpx 32rpx;
}
.picker-search-input {
width: 100%;
height: 72rpx;
background: #FAF6F1;
border-radius: 36rpx;
padding: 0 32rpx;
box-sizing: border-box;
font-size: 28rpx;
color: #2A211B;
}
.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 #F0EAE2;
}
.picker-item:last-child {
border-bottom: none;
}
.picker-avatar {
width: 72rpx;
height: 72rpx;
border-radius: 50%;
background: #FBEEDF;
color: #C26A2E;
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: #2A211B;
}
.picker-item-sub {
margin-left: 12rpx;
font-size: 26rpx;
color: #9A9087;
}
.picker-item-mobile {
display: block;
margin-top: 4rpx;
font-size: 26rpx;
color: #9A9087;
}
.picker-arrow {
color: #C7BDB2;
font-size: 32rpx;
}
.picker-empty {
padding: 60rpx 0;
text-align: center;
font-size: 28rpx;
color: #9A9087;
}
.section {
margin-bottom: 32rpx;
}
/* home 同款暖铜竖条标题 */
.section-title {
position: relative;
font-size: 30rpx;
font-weight: 600;
color: #2A211B;
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: #C26A2E;
}
}
.info-card {
background: #ffffff;
border-radius: 24rpx;
border: 1rpx solid rgba(90, 62, 42, 0.06);
padding: 8rpx 32rpx;
box-shadow: 0 6rpx 20rpx rgba(90, 62, 42, 0.07);
}
.field {
display: flex;
align-items: center;
min-height: 96rpx;
border-bottom: 1rpx solid #F0EAE2;
}
.field:last-child {
border-bottom: none;
}
.field-label {
width: 160rpx;
flex-shrink: 0;
font-size: 28rpx;
color: #6F655C;
}
.field-input {
flex: 1;
font-size: 28rpx;
color: #2A211B;
}
.field-picker {
flex: 1;
}
.field-switch {
flex: 1;
display: flex;
align-items: center;
justify-content: flex-end;
}
.switch-label {
margin-right: 16rpx;
font-size: 28rpx;
&.paid {
color: #C26A2E;
}
&.unpaid {
color: #A3988B;
}
}
.field-value {
display: flex;
align-items: center;
justify-content: space-between;
font-size: 28rpx;
color: #2A211B;
}
.field-value.placeholder {
color: #C7BDB2;
}
.arrow {
color: #C7BDB2;
font-size: 32rpx;
}
.field-textarea {
align-items: flex-start;
padding: 24rpx 0;
}
.field-area {
flex: 1;
min-height: 120rpx;
font-size: 28rpx;
color: #2A211B;
}
.field-tip {
display: block;
margin-top: 8rpx;
font-size: 26rpx;
color: #D98E04;
}
.submit-btn {
margin-top: 16rpx;
height: 96rpx;
line-height: 96rpx;
text-align: center;
font-size: 32rpx;
font-weight: 600;
color: #ffffff;
background: #C26A2E;
border-radius: 48rpx;
box-shadow: 0 4rpx 16rpx rgba(180, 85, 42, 0.25);
}