ai-c/pages/orders/orders.wxss

135 lines
2.1 KiB
Plaintext

.page {
min-height: 100vh;
background: #E8C3D4;
}
/* 顶部导航栏已移除,改用全局 unified-header */
.wrap {
padding: 0 32rpx;
}
.tabs-fixed {
position: fixed;
left: 0;
right: 0;
height: 100rpx;
background: #ffffff;
display: flex;
align-items: center;
justify-content: space-around;
z-index: 100;
box-shadow: 0 2rpx 10rpx rgba(0,0,0,0.02);
}
.tab-item {
font-size: 32rpx;
color: #6b7280;
font-weight: 500;
position: relative;
height: 100rpx;
line-height: 100rpx;
}
.tab-item.active {
color: #b06ab3;
font-weight: 700;
}
.tab-item.active::after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 40rpx;
height: 10rpx;
background: #b06ab3;
border-radius: 3rpx;
}
.loading,
.empty {
text-align: center;
color: #9ca3af;
font-weight: 500;
padding: 80rpx 0;
font-size: 28rpx;
}
/* Order List Styles */
.order-list {
padding-bottom: 40rpx;
}
.order-card {
background: #ffffff;
border-radius: 24rpx;
padding: 24rpx;
margin-bottom: 24rpx;
box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.05);
}
.card-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20rpx;
padding-bottom: 20rpx;
border-bottom: 1rpx solid #f3f4f6;
}
.order-time {
font-size: 32rpx;
color: #353434ff;
}
.order-status {
font-size: 30rpx;
font-weight: 600;
}
.card-body {
display: flex;
justify-content: space-between;
align-items: center;
}
.body-left {
flex: 1;
margin-right: 20rpx;
display: flex;
flex-direction: column;
}
.order-title {
font-size: 36rpx;
font-weight: 700;
color: #111827;
margin-bottom: 8rpx;
line-height: 1.4;
}
.order-desc {
font-size: 30rpx;
color: #6b7280;
line-height: 1.4;
}
.body-right {
flex-shrink: 0;
}
.order-amount {
font-size: 38rpx;
font-weight: 800;
color: #b06ab3;
}
/* Status Colors */
.status-completed { color: #10B981; }
.status-paid { color: #3B82F6; }
.status-pending { color: #F59E0B; }
.status-cancelled { color: #9CA3AF; }
.status-refunded { color: #EF4444; }