Files
wxapp_escort/pages/escort/attendantdetail.wxss
T

231 lines
3.7 KiB
Plaintext

page {
background: var(--paper);
}
.page-bg {
min-height: 100vh;
background: var(--paper);
}
.container {
padding: 32rpx 32rpx calc(40rpx + env(safe-area-inset-bottom));
}
.state-card {
margin-top: 40rpx;
padding: 80rpx 32rpx;
border: 2rpx solid var(--line);
border-radius: 24rpx;
background: var(--white);
box-shadow: var(--shadow-card);
color: var(--muted);
font-size: var(--fs-28);
text-align: center;
}
.profile-card {
display: flex;
align-items: flex-start;
padding: 32rpx 28rpx;
border: 2rpx solid var(--brand-line);
border-radius: 28rpx;
background: var(--brand-soft);
}
.avatar {
display: flex;
flex-shrink: 0;
align-items: center;
justify-content: center;
width: 112rpx;
height: 112rpx;
border-radius: 50%;
background: var(--white);
border: 3rpx solid var(--brand-line);
color: var(--brand-ink);
font-size: 46rpx;
font-weight: 700;
}
.profile-info {
flex: 1;
min-width: 0;
margin-left: 24rpx;
}
.name-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16rpx;
}
.attendant-name {
min-width: 0;
overflow: hidden;
color: var(--ink);
font-size: 42rpx;
font-weight: 700;
text-overflow: ellipsis;
white-space: nowrap;
}
.order-count {
flex-shrink: 0;
color: var(--brand-ink);
font-size: var(--fs-24);
font-weight: 600;
}
.profile-meta {
display: block;
margin-top: 10rpx;
color: var(--ink-2);
font-size: var(--fs-26);
line-height: 1.5;
}
.tag-row {
display: flex;
flex-wrap: wrap;
gap: 10rpx;
margin-top: 14rpx;
}
.tag {
padding: 4rpx 14rpx;
border-radius: 8rpx;
background: var(--white);
color: var(--brand-ink);
font-size: var(--fs-24);
line-height: 1.5;
}
.info-card,
.section-card {
margin-top: 20rpx;
padding: 24rpx 28rpx;
border: 2rpx solid var(--line);
border-radius: 24rpx;
background: var(--white);
box-shadow: var(--shadow-card);
}
.info-row {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 24rpx;
padding: 12rpx 0;
}
.info-row + .info-row {
border-top: 2rpx dashed var(--line-soft, #E9DECB);
}
.info-label {
flex-shrink: 0;
color: var(--muted);
font-size: var(--fs-26);
}
.info-value {
color: var(--ink);
font-size: var(--fs-26);
line-height: 1.5;
text-align: right;
}
.info-value.ok {
color: var(--brand-ink);
font-weight: 600;
}
.section-title {
display: block;
color: var(--ink);
font-size: var(--fs-30);
font-weight: 700;
}
.section-text {
display: block;
margin-top: 14rpx;
color: var(--ink-2);
font-size: var(--fs-28);
line-height: 1.75;
}
.section-text.muted {
color: var(--muted);
}
.training-item {
margin-top: 18rpx;
padding-top: 18rpx;
border-top: 2rpx dashed var(--line-soft, #E9DECB);
}
.training-title {
display: block;
color: var(--ink);
font-size: var(--fs-28);
font-weight: 600;
}
.training-meta {
display: block;
margin-top: 6rpx;
color: var(--muted);
font-size: var(--fs-24);
}
.review-row {
display: flex;
align-items: baseline;
gap: 16rpx;
margin-top: 14rpx;
}
.review-score {
color: var(--brand-ink);
font-size: 40rpx;
font-weight: 700;
}
.review-count {
color: var(--muted);
font-size: var(--fs-24);
}
.bottom-space {
height: 140rpx;
}
.bottom-bar {
position: fixed;
right: 0;
bottom: 0;
left: 0;
padding: 18rpx 32rpx calc(18rpx + env(safe-area-inset-bottom));
background: rgba(255, 252, 246, 0.96);
border-top: 2rpx solid var(--line);
backdrop-filter: blur(12rpx);
}
.cta-btn {
width: 100%;
height: 92rpx;
border: none;
border-radius: 999rpx;
background: var(--brand-strong);
color: var(--white);
font-size: var(--fs-30);
font-weight: 700;
line-height: 92rpx;
}
.cta-btn::after {
border: none;
}