Files
JayuCloud/JY-Salon-WeChat/pages/appointment-detail/index.wxss
T

402 lines
6.0 KiB
Plaintext

.detail-card {
padding: 24rpx;
}
.detail-error {
margin-top: 24rpx;
}
.retry-btn {
width: 180rpx;
min-width: 180rpx;
max-width: 180rpx;
margin: 24rpx auto 0;
}
.detail-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 18rpx;
}
.detail-person {
display: flex;
align-items: center;
min-width: 0;
gap: 18rpx;
}
.avatar {
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
width: 82rpx;
height: 82rpx;
border-radius: 50%;
background: #e5eee9;
color: #5d8175;
font-size: 32rpx;
font-weight: 900;
}
.customer,
.phone {
display: block;
}
.customer {
color: #24211d;
font-size: 32rpx;
font-weight: 800;
}
.phone {
margin-top: 6rpx;
color: #928a81;
font-size: 24rpx;
}
.detail-actions {
display: flex;
flex-shrink: 0;
align-items: center;
gap: 10rpx;
}
.detail-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 22rpx;
margin-top: 28rpx;
}
.detail-tag-row {
display: flex;
flex-wrap: wrap;
gap: 10rpx;
margin-top: 22rpx;
}
.detail-tag {
display: inline-flex;
align-items: center;
min-height: 40rpx;
padding: 0 16rpx;
border-radius: 999rpx;
background: #f0ece5;
color: #6d675f;
font-size: 22rpx;
font-weight: 700;
}
.detail-tag.source {
background: #e8f2f7;
color: #4c7890;
}
.detail-tag.warning {
background: #fff0e2;
color: #b36a34;
}
.detail-tag.paid {
background: #e8f3ec;
color: #5b8067;
}
.detail-tag.price {
background: #f5e8e8;
color: #a75353;
}
.label,
.value {
display: block;
}
.label {
color: #9a9288;
font-size: 22rpx;
}
.value {
margin-top: 8rpx;
color: #2d2924;
font-size: 28rpx;
font-weight: 700;
}
.price-value-row {
display: flex;
align-items: center;
min-width: 0;
gap: 12rpx;
margin-top: 8rpx;
}
.price-value {
flex: 1;
min-width: 0;
margin-top: 0;
}
.price-edit-btn {
display: inline-flex;
align-items: center;
justify-content: center;
flex: 0 0 auto;
width: 82rpx;
min-width: 82rpx;
max-width: 82rpx;
height: 42rpx;
min-height: 42rpx;
border-radius: 999rpx;
background: #e5eee9;
color: #55786d;
font-size: 22rpx;
font-weight: 800;
}
.note-card {
padding: 24rpx;
color: #6d655d;
line-height: 1.6;
}
.section-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16rpx;
}
.image-card {
padding: 20rpx;
}
.detail-image-list {
display: flex;
flex-wrap: wrap;
gap: 14rpx;
}
.detail-image-item {
position: relative;
width: 150rpx;
height: 150rpx;
}
.detail-image {
display: block;
width: 150rpx;
height: 150rpx;
border-radius: 16rpx;
background: #efe5da;
}
.detail-image-remove {
position: absolute;
top: -10rpx;
right: -10rpx;
display: flex;
align-items: center;
justify-content: center;
width: 34rpx;
height: 34rpx;
border-radius: 50%;
background: #bf4949;
color: #fff;
font-size: 24rpx;
font-weight: 900;
line-height: 34rpx;
}
.detail-image-add {
display: flex;
align-items: center;
justify-content: center;
width: 150rpx;
height: 150rpx;
border: 2rpx dashed #d5bfa9;
border-radius: 16rpx;
background: #fff8ef;
color: #b78b63;
font-size: 52rpx;
font-weight: 500;
line-height: 1;
}
.detail-image-add.disabled {
opacity: 0.55;
}
.detail-image-empty {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 14rpx;
min-height: 142rpx;
border-radius: 16rpx;
background: #f7efe7;
color: #9a9288;
font-size: 26rpx;
}
.image-empty-action {
min-height: 48rpx;
font-size: 24rpx;
}
.detail-modal-mask {
position: fixed;
inset: 0;
z-index: 30;
display: flex;
align-items: flex-end;
justify-content: center;
padding: 24rpx;
background: rgba(32, 27, 22, 0.34);
}
.price-modal {
width: 100%;
max-width: 680rpx;
padding: 26rpx;
border-radius: 24rpx 24rpx 16rpx 16rpx;
background: #fffdf8;
box-shadow: 0 -12rpx 34rpx rgba(58, 48, 34, 0.12);
}
.price-modal-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20rpx;
}
.price-modal-title {
color: #2d2924;
font-size: 30rpx;
font-weight: 900;
}
.price-modal-close {
display: flex;
align-items: center;
justify-content: center;
width: 52rpx;
height: 52rpx;
border-radius: 50%;
background: #f0ece5;
color: #6d655d;
font-size: 32rpx;
font-weight: 700;
line-height: 52rpx;
}
.price-pending-option {
display: flex;
align-items: center;
gap: 14rpx;
min-height: 76rpx;
margin-top: 24rpx;
padding: 0 18rpx;
border: 1rpx solid #eee2d5;
border-radius: 16rpx;
background: #fff8ef;
color: #554c44;
font-size: 26rpx;
font-weight: 800;
}
.price-pending-option.active {
border-color: #7d9d90;
background: #edf6f1;
color: #55786d;
}
.price-pending-check {
display: flex;
align-items: center;
justify-content: center;
flex: 0 0 auto;
width: 34rpx;
height: 34rpx;
border: 2rpx solid #d5c6b8;
border-radius: 50%;
color: #55786d;
font-size: 22rpx;
font-weight: 900;
}
.price-pending-option.active .price-pending-check {
border-color: #7d9d90;
background: #dfeee7;
}
.price-field {
margin-top: 20rpx;
}
.price-field.disabled {
opacity: 0.55;
}
.price-field-label {
display: block;
margin-bottom: 10rpx;
color: #625c55;
font-size: 24rpx;
font-weight: 800;
}
.price-input-wrap {
display: flex;
align-items: center;
height: 76rpx;
padding: 0 18rpx;
border-radius: 16rpx;
background: #fffaf4;
}
.price-input-wrap input {
flex: 1;
min-width: 0;
color: #2d2924;
font-size: 28rpx;
}
.price-input-wrap text {
flex: 0 0 auto;
color: #9a9288;
font-size: 24rpx;
}
.price-modal-actions {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 14rpx;
margin-top: 28rpx;
}
.action-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 14rpx;
}
.action-row.single {
grid-template-columns: 1fr;
}
.action-row .primary-btn,
.action-row .secondary-btn,
.action-row .danger-btn {
width: 100%;
min-width: 0;
max-width: 100%;
}