登录页面

This commit is contained in:
2026-07-12 15:17:54 +08:00
parent becf91da52
commit bfac6c6663
63 changed files with 4662 additions and 431 deletions
+280
View File
@@ -0,0 +1,280 @@
/* 订单确认 / 支付 / 订单列表 / 订单详情 */
.order-confirm-page,
.pay-page,
.orders-page,
.order-detail-page {
background: var(--color-background);
min-height: 100vh;
}
.order-card {
background: var(--color-card);
border-radius: var(--radius-lg);
margin: 0 var(--space-page) 12px;
padding: 16px;
box-shadow: var(--shadow-card);
}
.order-card-title {
display: block;
font-family: var(--font-headline);
font-size: 15px;
font-weight: 700;
margin-bottom: 12px;
color: var(--color-on-surface);
}
.order-product-row {
display: flex;
align-items: center;
}
.order-product-thumb {
width: 72px;
height: 72px;
border-radius: 12px;
background: var(--color-surface-container);
margin-right: 12px;
flex-shrink: 0;
overflow: hidden;
}
.order-product-thumb-img {
width: 100%;
height: 100%;
}
.order-product-name {
display: block;
font-size: 15px;
font-weight: 600;
margin-bottom: 4px;
}
.order-product-price {
display: block;
color: var(--color-heritage-red);
font-weight: 700;
font-size: 16px;
}
.order-qty-row {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 12px;
padding-top: 12px;
border-top: 1px solid var(--color-surface-container);
}
.order-qty-controls {
display: flex;
align-items: center;
}
.order-qty-btn {
width: 32px;
height: 32px;
border-radius: 8px;
background: var(--color-surface-container-low);
display: flex;
align-items: center;
justify-content: center;
font-size: 18px;
color: var(--color-on-surface);
}
.order-qty-value {
margin: 0 14px;
font-size: 16px;
font-weight: 600;
min-width: 24px;
text-align: center;
}
.order-row {
display: flex;
justify-content: space-between;
align-items: center;
padding: 8px 0;
font-size: 14px;
}
.order-row-label {
color: var(--color-on-surface-variant);
}
.order-row-value {
color: var(--color-on-surface);
font-weight: 500;
}
.order-row-value--price {
color: var(--color-heritage-red);
font-weight: 700;
}
.order-confirm-bar,
.pay-bar {
position: fixed;
bottom: 0;
left: 0;
right: 0;
z-index: 50;
padding: 12px 16px calc(env(safe-area-inset-bottom, 0px) + 12px);
display: flex;
align-items: center;
background: rgba(255, 255, 255, 0.95);
border-top: 1px solid rgba(226, 190, 188, 0.1);
box-sizing: border-box;
}
.order-confirm-total {
flex: 1;
}
.order-confirm-total-label {
display: block;
font-size: 12px;
color: var(--color-subtle-gray);
}
.order-confirm-total-value {
font-family: var(--font-headline);
font-size: 22px;
font-weight: 700;
color: var(--color-heritage-red);
}
.order-confirm-submit {
height: 48px;
padding: 0 28px;
border-radius: 999px;
background: var(--color-heritage-red);
color: #fff;
font-size: 16px;
font-weight: 700;
display: flex;
align-items: center;
justify-content: center;
}
.order-tabs {
display: flex;
padding: 0 var(--space-page);
border-bottom: 1px solid var(--color-surface-container);
background: var(--color-background);
position: sticky;
top: var(--nav-bar-height, 56px);
z-index: 40;
}
.order-tab {
flex: 1;
text-align: center;
padding: 12px 0;
font-size: 14px;
font-weight: 600;
color: var(--color-subtle-gray);
border-bottom: 2px solid transparent;
}
.order-tab--active {
color: var(--color-heritage-red);
border-bottom-color: var(--color-heritage-red);
}
.order-list-item {
background: var(--color-card);
border-radius: var(--radius-lg);
margin: 12px var(--space-page);
padding: 16px;
box-shadow: var(--shadow-card);
}
.order-list-head {
display: flex;
justify-content: space-between;
margin-bottom: 12px;
}
.order-list-no {
font-size: 12px;
color: var(--color-subtle-gray);
}
.order-list-status {
font-size: 13px;
font-weight: 600;
color: var(--color-heritage-red);
}
.order-list-body {
display: flex;
align-items: center;
}
.order-list-thumb {
width: 64px;
height: 64px;
border-radius: 10px;
background: var(--color-surface-container);
margin-right: 12px;
flex-shrink: 0;
}
.order-list-name {
display: block;
font-size: 14px;
font-weight: 600;
margin-bottom: 4px;
}
.order-list-meta {
display: block;
font-size: 12px;
color: var(--color-subtle-gray);
}
.order-list-footer {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 12px;
padding-top: 12px;
border-top: 1px solid var(--color-surface-container);
}
.pay-status {
text-align: center;
padding: 48px 24px;
}
.pay-status-icon {
width: 72px;
height: 72px;
border-radius: 50%;
background: rgba(166, 29, 36, 0.08);
color: var(--color-heritage-red);
font-size: 36px;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 16px;
}
.pay-status-title {
display: block;
font-family: var(--font-headline);
font-size: 20px;
font-weight: 700;
margin-bottom: 8px;
}
.pay-status-amount {
display: block;
font-size: 28px;
font-weight: 700;
color: var(--color-heritage-red);
margin-bottom: 24px;
}