style(douyu): 优化订单状态卡片布局

This commit is contained in:
yml
2026-11-18 11:00:28 +08:00
parent b48509c34f
commit d919c251f6
2 changed files with 122 additions and 10 deletions
+110
View File
@@ -3007,6 +3007,116 @@
padding-top: 12px;
}
.customer-auth-page.is-douyu .customer-order-closed-alert.ant-alert {
align-items: flex-start;
margin: 10px 16px 0;
padding: 12px 14px;
color: #f6c66f;
border: 1px solid #6b4d1f;
border-radius: 10px;
background: #2a2418;
}
.customer-auth-page.is-douyu .customer-order-closed-alert .ant-alert-icon {
margin-top: 2px;
color: #f6ad3c;
font-size: 16px;
}
.customer-auth-page.is-douyu .customer-order-closed-alert .ant-alert-message,
.customer-auth-page.is-douyu .customer-order-closed-alert .ant-alert-title {
color: #f7d394;
font-size: 14px;
font-weight: 600;
line-height: 1.4;
}
.customer-auth-page.is-douyu .customer-order-closed-alert .ant-alert-description {
margin-top: 3px;
color: #d8c39b;
font-size: 13px;
line-height: 1.5;
}
.customer-auth-page.is-douyu .customer-douyu-order-card {
padding: 0;
overflow: hidden;
gap: 0;
border-radius: 12px;
background: #202631;
}
.customer-auth-page.is-douyu .customer-douyu-order-head {
align-items: center;
gap: 12px;
padding: 13px 16px;
border-bottom: 1px solid #343d4c;
}
.customer-auth-page.is-douyu .customer-douyu-order-head h3 {
margin: 0;
color: #9aa3b2;
font-size: 13px;
font-weight: 600;
}
.customer-auth-page.is-douyu .customer-douyu-order-field {
display: grid;
grid-template-columns: 72px minmax(0, 1fr);
align-items: start;
gap: 12px;
padding: 11px 16px;
border-bottom: 1px solid #343d4c;
}
.customer-auth-page.is-douyu .customer-douyu-order-field:last-child {
border-bottom: 0;
}
.customer-auth-page.is-douyu .customer-douyu-order-field > span {
color: #8f9aaa;
font-size: 13px;
line-height: 1.5;
}
.customer-auth-page.is-douyu .customer-douyu-order-field > strong {
min-width: 0;
color: #f1f5f9;
font-size: 14px;
font-weight: 600;
line-height: 1.5;
text-align: right;
overflow-wrap: anywhere;
}
.customer-auth-page.is-douyu .customer-douyu-order-status {
flex: 0 0 auto;
padding: 2px 10px;
border-color: rgba(96, 165, 250, 0.36);
color: #dbeafe;
font-size: 12px;
font-weight: 600;
background: rgba(47, 111, 237, 0.22);
}
.customer-auth-page.is-douyu .customer-douyu-order-status.is-cancelled {
border-color: rgba(245, 158, 11, 0.38);
color: #f8d28a;
background: rgba(245, 158, 11, 0.14);
}
.customer-auth-page.is-douyu .customer-douyu-order-status.is-completed {
border-color: rgba(52, 211, 153, 0.38);
color: #a7f3d0;
background: rgba(6, 95, 70, 0.24);
}
.customer-auth-page.is-douyu .customer-douyu-order-status.is-failed {
border-color: rgba(248, 113, 113, 0.38);
color: #fecaca;
background: rgba(127, 29, 29, 0.24);
}
.customer-choice-switch {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));