精简接单端页面样式
This commit is contained in:
@@ -1476,10 +1476,6 @@ select {
|
||||
display: grid;
|
||||
}
|
||||
|
||||
.worker-profile-hero-head {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.worker-hall-toolbar {
|
||||
width: 100%;
|
||||
justify-content: flex-start;
|
||||
@@ -1713,20 +1709,25 @@ select {
|
||||
|
||||
.worker-hall-summary-strip {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
|
||||
gap: 12px;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 0;
|
||||
border: 1px solid #e5e7eb;
|
||||
border-radius: 12px;
|
||||
overflow: hidden;
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.worker-hall-summary-item {
|
||||
min-width: 0;
|
||||
padding: 12px 14px;
|
||||
border-radius: 12px;
|
||||
border: 1px solid #e2e8f0;
|
||||
background: #f8fafc;
|
||||
padding: 14px 16px;
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.worker-hall-summary-item + .worker-hall-summary-item {
|
||||
border-left: 1px solid #e5e7eb;
|
||||
}
|
||||
|
||||
.worker-hall-summary-label {
|
||||
color: #64748b;
|
||||
font-size: 12px;
|
||||
@@ -1762,25 +1763,18 @@ select {
|
||||
|
||||
.worker-hall-card {
|
||||
min-width: 0;
|
||||
padding: 18px 18px 16px;
|
||||
border-radius: 16px;
|
||||
padding: 16px;
|
||||
border-radius: 14px;
|
||||
background: #ffffff;
|
||||
border: 1px solid #edf0f5;
|
||||
box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
|
||||
border: 1px solid #e5e7eb;
|
||||
box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.worker-hall-card-head {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.worker-hall-card-title {
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
gap: 4px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
@@ -1788,65 +1782,32 @@ select {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.worker-hall-card-badges {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-end;
|
||||
.worker-hall-card-link {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
font-weight: 600;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.worker-hall-card-amount-row {
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.worker-hall-card-order {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.worker-hall-card-main {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.worker-hall-card-amount {
|
||||
color: #f97316;
|
||||
font-size: 34px;
|
||||
font-size: 32px;
|
||||
line-height: 1;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.worker-hall-card-side {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
color: #94a3b8;
|
||||
.worker-hall-card-deposit,
|
||||
.worker-hall-card-hint {
|
||||
margin: 0;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.worker-hall-card-meta {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.worker-hall-card-meta-row {
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.worker-hall-card-meta-row span {
|
||||
color: #64748b;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.worker-hall-card-meta-row strong {
|
||||
color: #334155;
|
||||
font-weight: 500;
|
||||
line-height: 1.5;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.worker-hall-card-danger {
|
||||
color: #dc2626 !important;
|
||||
}
|
||||
|
||||
.worker-hall-card-safe {
|
||||
color: #16a34a !important;
|
||||
}
|
||||
|
||||
.worker-hall-card-actions {
|
||||
@@ -1862,332 +1823,6 @@ select {
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.worker-orders-overview-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.worker-orders-overview-card {
|
||||
border: 1px solid #e2e8f0;
|
||||
box-shadow: 0 14px 32px rgba(15, 23, 42, 0.04);
|
||||
}
|
||||
|
||||
.worker-orders-overview-card .ant-card-body {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.worker-orders-overview-card.total {
|
||||
background:
|
||||
linear-gradient(135deg, rgba(20, 50, 74, 0.96), rgba(27, 93, 115, 0.92)),
|
||||
#14324a;
|
||||
}
|
||||
|
||||
.worker-orders-overview-card.total .worker-orders-overview-label,
|
||||
.worker-orders-overview-card.total .worker-orders-overview-value,
|
||||
.worker-orders-overview-card.total .worker-orders-overview-note {
|
||||
color: #f8fafc;
|
||||
}
|
||||
|
||||
.worker-orders-overview-card.tone-blue {
|
||||
border-top: 3px solid #2563eb;
|
||||
}
|
||||
|
||||
.worker-orders-overview-card.tone-gold {
|
||||
border-top: 3px solid #d97706;
|
||||
}
|
||||
|
||||
.worker-orders-overview-card.tone-red {
|
||||
border-top: 3px solid #dc2626;
|
||||
}
|
||||
|
||||
.worker-orders-overview-card.tone-green {
|
||||
border-top: 3px solid #059669;
|
||||
}
|
||||
|
||||
.worker-orders-overview-card.tone-slate {
|
||||
border-top: 3px solid #64748b;
|
||||
}
|
||||
|
||||
.worker-orders-overview-label {
|
||||
color: #64748b;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.worker-orders-overview-value {
|
||||
color: #0f172a;
|
||||
font-size: 28px;
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
.worker-orders-overview-note {
|
||||
color: #94a3b8;
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.worker-orders-table-card .ant-card-body {
|
||||
display: grid;
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
.worker-orders-toolbar {
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.worker-orders-search {
|
||||
width: min(520px, 100%);
|
||||
}
|
||||
|
||||
.worker-orders-status-tabs {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.worker-orders-status-tab {
|
||||
padding: 10px 14px;
|
||||
border-radius: 14px;
|
||||
border: 1px solid #dbe4ee;
|
||||
background: #f8fafc;
|
||||
color: #475569;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
cursor: pointer;
|
||||
transition:
|
||||
border-color 0.18s ease,
|
||||
background 0.18s ease,
|
||||
color 0.18s ease,
|
||||
transform 0.18s ease;
|
||||
}
|
||||
|
||||
.worker-orders-status-tab:hover {
|
||||
transform: translateY(-1px);
|
||||
border-color: #90b7cf;
|
||||
}
|
||||
|
||||
.worker-orders-status-tab strong {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.worker-orders-status-tab.is-active {
|
||||
border-color: transparent;
|
||||
background: linear-gradient(135deg, #1b5d73, #237b77);
|
||||
color: #f8fafc;
|
||||
box-shadow: 0 10px 24px rgba(27, 93, 115, 0.24);
|
||||
}
|
||||
|
||||
.worker-profile-hero {
|
||||
overflow: hidden;
|
||||
border: 1px solid rgba(25, 94, 125, 0.14);
|
||||
background:
|
||||
radial-gradient(circle at top right, rgba(116, 227, 214, 0.18), transparent 30%),
|
||||
linear-gradient(135deg, #14324a 0%, #1b5d73 55%, #237b77 100%);
|
||||
}
|
||||
|
||||
.worker-profile-hero .ant-card-body {
|
||||
display: grid;
|
||||
gap: 24px;
|
||||
}
|
||||
|
||||
.worker-profile-hero-head {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 24px;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.worker-profile-identity {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.worker-profile-avatar {
|
||||
width: 72px;
|
||||
height: 72px;
|
||||
border-radius: 22px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
flex-shrink: 0;
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
border: 1px solid rgba(255, 255, 255, 0.24);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
|
||||
color: #ffffff;
|
||||
font-size: 28px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.worker-profile-identity-copy {
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.worker-profile-identity-copy .ant-typography {
|
||||
color: rgba(239, 248, 255, 0.88);
|
||||
}
|
||||
|
||||
.worker-profile-identity-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.worker-profile-identity-title .ant-typography {
|
||||
margin: 0;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.worker-profile-tag {
|
||||
border-color: transparent;
|
||||
background: rgba(255, 255, 255, 0.14);
|
||||
color: #f8fafc;
|
||||
}
|
||||
|
||||
.worker-profile-hero-side {
|
||||
display: flex;
|
||||
gap: 24px;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.worker-profile-hero-side .ant-space {
|
||||
padding: 10px 14px;
|
||||
border-radius: 14px;
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.worker-profile-hero-side .ant-typography {
|
||||
color: rgba(239, 248, 255, 0.88);
|
||||
}
|
||||
|
||||
.worker-profile-metrics {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.worker-profile-metric {
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
padding: 16px 18px;
|
||||
border-radius: 18px;
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
border: 1px solid rgba(255, 255, 255, 0.12);
|
||||
}
|
||||
|
||||
.worker-profile-metric-label,
|
||||
.worker-profile-metric-note {
|
||||
color: rgba(239, 248, 255, 0.75);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.worker-profile-metric-value {
|
||||
color: #ffffff;
|
||||
font-size: 26px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.worker-profile-actions {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.worker-profile-action-card {
|
||||
width: 100%;
|
||||
padding: 18px;
|
||||
border-radius: 18px;
|
||||
border: 1px solid #e2e8f0;
|
||||
background: #ffffff;
|
||||
text-align: left;
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
cursor: pointer;
|
||||
transition:
|
||||
transform 0.18s ease,
|
||||
box-shadow 0.18s ease,
|
||||
border-color 0.18s ease;
|
||||
box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
|
||||
}
|
||||
|
||||
.worker-profile-action-card:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
|
||||
}
|
||||
|
||||
.worker-profile-action-card:disabled {
|
||||
cursor: not-allowed;
|
||||
opacity: 0.58;
|
||||
transform: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.worker-profile-action-icon {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border-radius: 14px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.worker-profile-action-title {
|
||||
color: #0f172a;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.worker-profile-action-description {
|
||||
color: #64748b;
|
||||
font-size: 13px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.worker-profile-action-card.is-blue .worker-profile-action-icon {
|
||||
background: #dbeafe;
|
||||
color: #2563eb;
|
||||
}
|
||||
|
||||
.worker-profile-action-card.is-green .worker-profile-action-icon {
|
||||
background: #dcfce7;
|
||||
color: #16a34a;
|
||||
}
|
||||
|
||||
.worker-profile-action-card.is-slate .worker-profile-action-icon {
|
||||
background: #e2e8f0;
|
||||
color: #334155;
|
||||
}
|
||||
|
||||
.worker-profile-action-card.is-orange .worker-profile-action-icon {
|
||||
background: #ffedd5;
|
||||
color: #ea580c;
|
||||
}
|
||||
|
||||
.worker-profile-action-card.is-violet .worker-profile-action-icon {
|
||||
background: #ede9fe;
|
||||
color: #7c3aed;
|
||||
}
|
||||
|
||||
.worker-profile-action-card.is-amber .worker-profile-action-icon {
|
||||
background: #fef3c7;
|
||||
color: #d97706;
|
||||
}
|
||||
|
||||
.worker-profile-action-card.is-rose .worker-profile-action-icon {
|
||||
background: #ffe4e6;
|
||||
color: #e11d48;
|
||||
}
|
||||
|
||||
.worker-amount-positive {
|
||||
color: #047857;
|
||||
}
|
||||
@@ -2253,12 +1888,7 @@ select {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.worker-hall-summary-strip {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.worker-hall-toolbar,
|
||||
.worker-orders-toolbar {
|
||||
.worker-hall-toolbar {
|
||||
align-items: stretch;
|
||||
flex-direction: column;
|
||||
}
|
||||
@@ -2275,23 +1905,20 @@ select {
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.worker-hall-card-head,
|
||||
.worker-hall-card-actions {
|
||||
align-items: stretch;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.worker-orders-search {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.worker-hall-summary-strip {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.worker-orders-status-tab {
|
||||
flex: 1 1 calc(50% - 10px);
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.worker-profile-hero-side {
|
||||
width: 100%;
|
||||
justify-content: flex-start;
|
||||
.worker-hall-summary-item + .worker-hall-summary-item {
|
||||
border-top: 1px solid #e5e7eb;
|
||||
border-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user