Files
JayuCloud/JC-Salon-WeChat/pages/appointment-detail/index.wxss
T
xiaowang 69ea01eaa4
自动发布开发环境 Nacos 配置 / publish (push) Successful in 34s
环境分支晋级检查 / environment-promotion-source (pull_request_target) Successful in 11s
小程序预约详情支持图片预览、编辑预约与完成收款拆分
2026-11-09 15:18:27 +08:00

326 lines
4.8 KiB
Plaintext

.detail-card {
padding: 28rpx 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;
flex: 1;
min-width: 0;
gap: 18rpx;
}
.detail-person > view:last-child {
flex: 1;
min-width: 0;
}
.avatar {
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
width: 85rpx;
height: 85rpx;
border-radius: 50%;
background: #e5f4ed;
color: #5d8175;
font-size: 32rpx;
font-weight: 900;
}
.customer,
.phone {
display: block;
}
.customer {
overflow: hidden;
color: #17211f;
font-size: 32rpx;
font-weight: 800;
text-overflow: ellipsis;
white-space: nowrap;
}
.phone {
margin-top: 6rpx;
color: #928a81;
font-size: 24rpx;
}
.phone-row {
display: flex;
align-items: center;
gap: 12rpx;
}
.call-btn {
flex-shrink: 0;
margin: 0;
padding: 0 16rpx;
border: 1rpx solid #247b63;
border-radius: 20rpx;
background: #ffffff;
color: #247b63;
font-size: 21rpx;
font-weight: 600;
line-height: 40rpx;
}
.status-tag {
flex-shrink: 0;
padding: 8rpx 14rpx;
border-radius: 999rpx;
background: #edf6ef;
color: #247b63;
font-size: 21rpx;
font-weight: 800;
}
.head-actions {
display: flex;
align-items: center;
flex-shrink: 0;
gap: 10rpx;
}
.edit-btn {
margin: 0;
padding: 0 16rpx;
border: 1rpx solid #247b63;
border-radius: 20rpx;
background: #ffffff;
color: #247b63;
font-size: 21rpx;
font-weight: 600;
line-height: 40rpx;
}
.status-tag.completed {
background: #eef2f1;
color: #67766f;
}
.status-tag.cancelled {
background: #fff0ed;
color: #ad5148;
}
.detail-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 12rpx;
margin-top: 28rpx;
}
.detail-field {
min-width: 0;
padding: 16rpx;
border-radius: 12rpx;
background: #f6f9f7;
}
.label,
.value {
display: block;
}
.label {
color: #71807a;
font-size: 22rpx;
}
.value {
margin-top: 8rpx;
overflow-wrap: anywhere;
color: #17211f;
font-size: 28rpx;
font-weight: 700;
line-height: 1.45;
}
.amount-field .value {
color: #b36f3e;
font-size: 32rpx;
}
.cancel-reason {
display: flex;
align-items: flex-start;
gap: 18rpx;
margin-top: 18rpx;
padding: 18rpx;
border-left: 6rpx solid #cc7568;
border-radius: 10rpx;
background: #fff5f3;
}
.cancel-reason-text {
flex: 1;
min-width: 0;
color: #8f4d46;
font-size: 24rpx;
line-height: 1.5;
overflow-wrap: anywhere;
}
.cover-section {
margin-top: 28rpx;
}
.cover-head {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 16rpx;
}
.cover-count {
color: #71807a;
font-size: 22rpx;
}
.cover-card {
box-sizing: border-box;
width: 100%;
height: 304rpx;
padding: 20rpx;
border-radius: 24rpx;
background: #fbfdfb;
border: 1rpx solid #e7ece9;
}
.cover-swiper {
width: 100%;
height: 208rpx;
border-radius: 16rpx;
overflow: hidden;
}
.cover-image {
width: 100%;
height: 208rpx;
border-radius: 16rpx;
background: #e5f4ed;
}
.cover-dots {
display: flex;
align-items: center;
justify-content: center;
gap: 10rpx;
height: 56rpx;
}
.cover-dot {
width: 10rpx;
height: 10rpx;
border-radius: 50%;
background: #d5ddd9;
transition: width 0.2s;
}
.cover-dot.active {
width: 26rpx;
border-radius: 6rpx;
background: #247b63;
}
.cover-hint {
display: block;
margin-top: 12rpx;
color: #a1aca6;
font-size: 20rpx;
}
.cover-thumbs {
margin-top: 12rpx;
width: 100%;
white-space: nowrap;
}
.cover-thumb-list {
display: flex;
align-items: center;
gap: 12rpx;
}
.cover-thumb {
flex-shrink: 0;
width: 104rpx;
height: 104rpx;
border: 2rpx solid transparent;
border-radius: 12rpx;
background: #e5f4ed;
}
.cover-thumb.active {
border-color: #247b63;
}
.note-card {
padding: 24rpx;
color: #71807a;
line-height: 1.6;
}
.action-row {
display: flex;
align-items: center;
gap: 14rpx;
padding: 18rpx 20rpx calc(18rpx + env(safe-area-inset-bottom));
background: rgba(255, 255, 255, 0.96);
box-shadow: 0 -8rpx 24rpx rgba(31, 55, 44, 0.08);
}
.action-row .primary-btn,
.action-row .secondary-btn,
.action-row .danger-btn {
width: 100%;
min-width: 0;
max-width: 100%;
flex: 1;
padding: 0 12rpx;
font-size: 23rpx;
white-space: nowrap;
}
.action-row .transfer-action {
flex: 1.25;
box-shadow: 0 8rpx 18rpx rgba(36, 123, 99, 0.18);
}
@media (max-width: 360px) {
.action-row {
gap: 8rpx;
padding-right: 12rpx;
padding-left: 12rpx;
}
.action-row .primary-btn,
.action-row .secondary-btn,
.action-row .danger-btn {
padding: 0 6rpx;
font-size: 20rpx;
}
}