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

275 lines
3.9 KiB
Plaintext

.customer-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 18rpx;
padding: 24rpx;
}
.customer-identity {
display: flex;
align-items: center;
min-width: 0;
gap: 18rpx;
}
.avatar {
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
width: 84rpx;
height: 84rpx;
border-radius: 50%;
overflow: hidden;
background: #e5eee9;
color: #5b7f73;
font-size: 32rpx;
font-weight: 900;
}
.avatar-image {
display: block;
}
.customer-name,
.customer-phone {
display: block;
}
.customer-name {
font-size: 32rpx;
font-weight: 800;
}
.customer-phone {
margin-top: 8rpx;
color: #928a81;
font-size: 24rpx;
}
.customer-actions {
display: flex;
align-items: center;
flex-shrink: 0;
gap: 12rpx;
}
.info-card {
margin-top: 18rpx;
overflow: hidden;
}
.info-row {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 24rpx;
min-height: 92rpx;
padding: 24rpx;
border-bottom: 1rpx solid #eee8df;
}
.info-row:last-child {
border-bottom: 0;
}
.info-row text:first-child {
flex-shrink: 0;
color: #625c55;
font-size: 26rpx;
font-weight: 700;
}
.info-row text:last-child {
min-width: 0;
color: #27231f;
font-size: 27rpx;
line-height: 1.45;
text-align: right;
word-break: break-all;
}
.stats {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 14rpx;
margin-top: 18rpx;
}
.stat {
padding: 16rpx 12rpx;
}
.stat-value,
.stat-label {
display: block;
}
.stat-value {
color: #26231f;
font-size: 28rpx;
font-weight: 800;
}
.stat-label {
margin-top: 8rpx;
color: #91897f;
font-size: 20rpx;
}
.order-card {
display: flex;
align-items: center;
justify-content: space-between;
}
.order-title {
display: block;
font-size: 28rpx;
font-weight: 800;
}
.amount {
color: #6f8f83;
font-weight: 900;
}
.retry-btn {
width: 180rpx;
min-width: 180rpx;
max-width: 180rpx;
margin: 24rpx auto 0;
}
.modal-mask {
position: fixed;
inset: 0;
z-index: 80;
display: flex;
align-items: center;
justify-content: center;
padding: 32rpx;
background: rgba(18, 15, 12, 0.48);
animation: maskIn 180ms ease both;
}
.customer-modal {
width: 100%;
max-width: 640rpx;
max-height: 82vh;
overflow-y: auto;
padding: 28rpx;
border-radius: 28rpx;
background: #fffaf4;
box-shadow: 0 18rpx 48rpx rgba(41, 31, 23, 0.18);
animation: modalUp 220ms ease both;
}
.modal-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20rpx;
margin-bottom: 20rpx;
}
.modal-title {
color: #27211d;
font-size: 34rpx;
font-weight: 900;
}
.modal-close {
position: relative;
display: flex;
align-items: center;
justify-content: center;
width: 48rpx;
min-width: 48rpx;
height: 48rpx;
border: 1rpx solid #e4d8ca;
border-radius: 50%;
background: #fffaf4;
color: transparent;
font-size: 0;
line-height: 0;
}
.modal-close::before,
.modal-close::after {
content: "";
position: absolute;
width: 22rpx;
height: 3rpx;
border-radius: 999rpx;
background: #61554c;
}
.modal-close::before {
transform: rotate(45deg);
}
.modal-close::after {
transform: rotate(-45deg);
}
.form-grid {
display: grid;
grid-template-columns: 1fr;
gap: 16rpx;
}
.modal-field {
padding: 16rpx 18rpx;
border-radius: 18rpx;
background: #f7efe7;
}
.modal-field text {
display: block;
margin-bottom: 8rpx;
color: #6c5f54;
font-size: 24rpx;
font-weight: 800;
}
.modal-field input,
.modal-field textarea {
width: 100%;
color: #2c2722;
font-size: 28rpx;
}
.modal-field input {
height: 58rpx;
}
.modal-field textarea {
min-height: 140rpx;
}
.modal-submit {
margin-top: 22rpx;
}
@keyframes maskIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes modalUp {
from {
opacity: 0;
transform: translateY(20rpx) scale(0.98);
}
to {
opacity: 1;
transform: translateY(0) scale(1);
}
}