/* pages/home/index.wxss */ .container { padding: 20rpx; background-color: #f5f6fa; min-height: 100vh; } /* 统计卡片 */ .stats-section { display: flex; justify-content: space-between; margin-bottom: 20rpx; } .stats-card { flex: 1; background: #fff; border-radius: 16rpx; padding: 30rpx 0; margin: 0 10rpx; text-align: center; box-shadow: 0 2rpx 12rpx rgba(0,0,0,0.04); } .stats-card:first-child { margin-left: 0; } .stats-card:last-child { margin-right: 0; } .stats-num { display: block; font-size: 48rpx; font-weight: 600; color: #2c3e50; margin-bottom: 8rpx; } .stats-label { display: block; font-size: 26rpx; color: #7f8c8d; } /* 功能菜单 */ .menu-section { background: #fff; border-radius: 16rpx; padding: 30rpx; margin-bottom: 20rpx; box-shadow: 0 2rpx 12rpx rgba(0,0,0,0.04); } .section-title { font-size: 32rpx; font-weight: 600; color: #2c3e50; margin-bottom: 24rpx; } .menu-grid { display: flex; flex-wrap: wrap; } .menu-item { width: 25%; display: flex; flex-direction: column; align-items: center; padding: 20rpx 0; } .menu-icon { width: 88rpx; height: 88rpx; background: #e8f4fd; border-radius: 20rpx; display: flex; align-items: center; justify-content: center; margin-bottom: 12rpx; } .icon-text { font-size: 36rpx; color: #3498db; font-weight: 600; } .menu-name { font-size: 26rpx; color: #555; } /* 今日订单 */ .order-section { background: #fff; border-radius: 16rpx; padding: 30rpx; box-shadow: 0 2rpx 12rpx rgba(0,0,0,0.04); } .section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24rpx; } .section-header .section-title { margin-bottom: 0; } .view-all { font-size: 26rpx; color: #3498db; } .order-list { display: flex; flex-direction: column; gap: 20rpx; } .order-item { background: #f8f9fa; border-radius: 12rpx; padding: 24rpx; } .order-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16rpx; } .order-id { font-size: 26rpx; color: #7f8c8d; } .order-status { font-size: 24rpx; padding: 4rpx 16rpx; border-radius: 8rpx; } .status-pending { background: #fff3e0; color: #f39c12; } .status-in_progress { background: #e8f5e9; color: #27ae60; } .status-confirmed { background: #e3f2fd; color: #2980b9; } .status-pending { background: #fff3e0; color: #f39c12; } .status-completed { background: #f3e5f5; color: #8e44ad; } .status-cancelled { background: #fafafa; color: #95a5a6; } .order-info { display: flex; flex-direction: column; gap: 10rpx; } .info-row { display: flex; align-items: center; } .info-label { font-size: 26rpx; color: #95a5a6; width: 80rpx; flex-shrink: 0; } .info-value { font-size: 28rpx; color: #2c3e50; } .fee-value { color: #e74c3c; font-weight: 600; }