调整周视图和客户页展示样式

This commit is contained in:
2026-07-25 18:12:02 +08:00
parent 87862a3c36
commit c24b2725be
11 changed files with 541 additions and 103 deletions
+135 -63
View File
@@ -1,75 +1,130 @@
.customer-toolbar {
.customer-page {
padding-top: 30rpx;
}
.customer-header {
display: flex;
align-items: center;
gap: 14rpx;
margin-bottom: 8rpx;
justify-content: space-between;
margin: 0 4rpx 26rpx;
}
.customer-title {
color: #302a25;
font-size: 42rpx;
font-weight: 900;
}
.customer-edit-btn {
width: 112rpx;
min-width: 112rpx;
max-width: 112rpx;
height: 58rpx;
font-size: 23rpx;
}
.search-card {
flex: 1;
padding: 0 24rpx;
height: 84rpx;
display: flex;
align-items: center;
border-color: rgba(111, 143, 131, 0.12);
background: rgba(255, 255, 255, 0.82);
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 {
width: 100%;
flex: 1;
min-width: 0;
font-size: 26rpx;
}
.add-customer-btn {
width: 84rpx;
min-width: 84rpx;
max-width: 84rpx;
height: 84rpx;
min-height: 84rpx;
padding: 0;
border-radius: 50%;
background: #6f8f83;
color: #fffdf8;
font-size: 42rpx;
font-weight: 400;
line-height: 84rpx;
box-shadow: 0 10rpx 22rpx rgba(111, 143, 131, 0.2);
.customer-stats {
display: flex;
align-items: stretch;
margin-top: 22rpx;
padding: 22rpx 0;
border-color: rgba(111, 143, 131, 0.08);
background: rgba(255, 255, 255, 0.72);
}
.customer-stat {
display: flex;
flex: 1;
align-items: center;
flex-direction: column;
gap: 8rpx;
border-right: 1rpx solid #eee8df;
}
.customer-stat:last-child {
border-right: 0;
}
.customer-stat-value {
color: #3d594e;
font-size: 30rpx;
font-weight: 900;
}
.customer-stat-label {
color: #9c948b;
font-size: 20rpx;
}
.list {
margin-top: 28rpx;
}
.customer-card {
display: flex;
align-items: center;
justify-content: space-between;
padding: 22rpx 20rpx;
border-color: rgba(111, 143, 131, 0.1);
background: rgba(255, 255, 255, 0.86);
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-identity {
display: flex;
align-items: center;
min-width: 0;
gap: 18rpx;
.customer-avatar-wrap {
position: relative;
flex: 0 0 auto;
width: 84rpx;
height: 84rpx;
}
.customer-avatar {
display: flex;
align-items: center;
justify-content: center;
flex: 0 0 auto;
width: 76rpx;
height: 76rpx;
border: 4rpx solid #f4faf2;
.customer-avatar-image {
display: block;
width: 84rpx;
height: 84rpx;
border: 4rpx solid #f5faf3;
border-radius: 50%;
background: #dcece0;
color: #4f8068;
font-size: 30rpx;
font-weight: 900;
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;
}
@@ -77,40 +132,60 @@
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: #eff7ef;
color: #6a9876;
background: #fff0df;
color: #bd7a4d;
font-size: 18rpx;
font-weight: 800;
}
.name,
.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;
}
.name {
color: #292520;
font-size: 29rpx;
font-weight: 800;
}
.meta {
margin-top: 8rpx;
color: #928a81;
font-size: 24rpx;
margin-top: 6rpx;
}
.arrow {
flex: 0 0 auto;
color: #b0a79e;
font-size: 48rpx;
line-height: 1;
}
.retry-btn {
@@ -163,19 +238,16 @@
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;
content: "";
}
.modal-close::before {