优化打手端我的订单与个人中心界面布局

This commit is contained in:
yml2213
2026-08-02 10:32:51 +08:00
parent 93df3d1c9b
commit c9195c623d
3 changed files with 225 additions and 264 deletions
+85
View File
@@ -1685,6 +1685,91 @@ select {
margin: 0;
}
.worker-order-summary-card {
cursor: pointer;
transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.worker-order-summary-card.active {
border-color: #1677ff;
box-shadow: 0 0 0 1px #1677ff inset;
}
.worker-order-summary-card .ant-statistic-title {
font-size: 12px;
}
.worker-order-tab-count {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 18px;
height: 18px;
padding: 0 5px;
margin-left: 6px;
border-radius: 9px;
background: #f0f0f0;
color: #595959;
font-size: 12px;
line-height: 18px;
}
.worker-order-tabs .ant-tabs-nav {
margin-bottom: 12px;
}
.worker-profile-wallet-card .ant-card-body {
padding: 0;
}
.worker-profile-wallet-strip {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 0;
overflow: hidden;
}
.worker-profile-wallet-item {
min-width: 0;
padding: 14px 16px;
display: grid;
gap: 4px;
}
.worker-profile-wallet-item + .worker-profile-wallet-item {
border-left: 1px solid #f0f0f0;
}
.worker-profile-wallet-label {
color: #64748b;
font-size: 12px;
}
.worker-profile-wallet-value {
color: #0f172a;
font-size: 20px;
line-height: 1.2;
}
.worker-profile-wallet-note {
color: #94a3b8;
font-size: 12px;
line-height: 1.5;
}
@media (max-width: 768px) {
.worker-profile-wallet-strip {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.worker-profile-wallet-item:nth-child(3) {
border-left: 0;
border-top: 1px solid #f0f0f0;
}
.worker-profile-wallet-item:nth-child(4) {
border-top: 1px solid #f0f0f0;
}
}
.worker-hall-head-copy {
display: grid;
gap: 4px;