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

248 lines
3.8 KiB
Plaintext

.customer-page {
padding-top: 30rpx;
}
.search-card {
display: flex;
align-items: center;
gap: 12rpx;
width: 100%;
height: 82rpx;
padding: 0 24rpx;
border-color: rgba(111, 143, 131, 0.1);
background: rgba(255, 255, 255, 0.8);
box-shadow: 0 8rpx 22rpx rgba(78, 96, 78, 0.05);
}
.search-icon {
color: #a49b91;
font-size: 42rpx;
line-height: 1;
transform: rotate(-18deg);
}
.search-card input {
flex: 1;
min-width: 0;
font-size: 26rpx;
}
.list {
margin-top: 28rpx;
}
.customer-card {
display: flex;
align-items: center;
gap: 18rpx;
min-height: 132rpx;
padding: 20rpx;
border-color: rgba(111, 143, 131, 0.08);
background: rgba(255, 255, 255, 0.84);
box-shadow: 0 8rpx 20rpx rgba(78, 96, 78, 0.045);
}
.customer-avatar-wrap {
position: relative;
flex: 0 0 auto;
width: 84rpx;
height: 84rpx;
}
.customer-avatar-image {
display: block;
width: 84rpx;
height: 84rpx;
border: 4rpx solid #f5faf3;
border-radius: 50%;
background: #e3eee2;
}
.customer-online-dot {
position: absolute;
right: 0;
bottom: 2rpx;
width: 16rpx;
height: 16rpx;
border: 3rpx solid #fffdf8;
border-radius: 50%;
background: #85b58a;
}
.customer-copy {
flex: 1;
min-width: 0;
}
.customer-name-row {
display: flex;
align-items: center;
gap: 10rpx;
min-width: 0;
}
.name {
overflow: hidden;
color: #292520;
font-size: 29rpx;
font-weight: 800;
text-overflow: ellipsis;
white-space: nowrap;
}
.customer-status {
display: inline-flex;
align-items: center;
flex: 0 0 auto;
min-height: 32rpx;
padding: 0 10rpx;
border-radius: 999rpx;
background: #fff0df;
color: #bd7a4d;
font-size: 18rpx;
font-weight: 800;
}
.customer-detail-row {
display: flex;
align-items: baseline;
gap: 12rpx;
margin-top: 10rpx;
}
.meta-label,
.meta {
color: #9b938a;
font-size: 21rpx;
}
.amount {
color: #557c69;
font-size: 25rpx;
font-weight: 900;
}
.meta {
display: block;
margin-top: 6rpx;
}
.arrow {
flex: 0 0 auto;
color: #b0a79e;
font-size: 48rpx;
line-height: 1;
}
.retry-btn {
width: 180rpx;
min-width: 180rpx;
max-width: 180rpx;
margin: 24rpx auto 0;
}
.customer-fab {
bottom: calc(112rpx + env(safe-area-inset-bottom));
}
.modal-mask {
position: fixed;
inset: 0;
z-index: 80;
display: flex;
align-items: flex-end;
justify-content: center;
background: rgba(18, 15, 12, 0.48);
}
.customer-modal {
width: 100%;
padding: 28rpx 28rpx calc(28rpx + env(safe-area-inset-bottom));
border-radius: 28rpx 28rpx 0 0;
background: #fffaf4;
box-shadow: 0 -18rpx 40rpx rgba(41, 31, 23, 0.16);
}
.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;
}
.modal-close::before,
.modal-close::after {
position: absolute;
width: 22rpx;
height: 3rpx;
border-radius: 999rpx;
background: #61554c;
content: "";
}
.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 {
height: 58rpx;
color: #2c2722;
font-size: 28rpx;
}
.modal-textarea-field textarea {
width: 100%;
min-height: 110rpx;
color: #2c2722;
font-size: 28rpx;
line-height: 1.5;
}
.modal-submit {
margin-top: 22rpx;
}