page { width: 100%; background-color: #F7F8FA; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif; box-sizing: border-box; } .container { width: 100%; min-height: 100%; padding: 20rpx 20rpx; /* padding-bottom: 160rpx; */ box-sizing: border-box; } .container_top{ width: 100%; position: fixed; top: 0rpx; left: 0rpx; z-index: 99; background: #FFFFFF; } .filter_box{ width: 100%; padding: 8rpx 16rpx; box-sizing: border-box; /* background: #FFFFFF; */ box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.04); /* border-bottom:1rpx solid #ccc; */ margin:16rpx 0rpx; } /* 工单分类筛选栏 */ .filter-bar { width: 100%; display: flex; overflow-x: auto; white-space: nowrap; box-sizing: border-box; } .filter-bar::-webkit-scrollbar { display: none; } .filter-item { width: 100%; display: inline-flex; align-items: center; padding: 16rpx 24rpx; border-radius: 8rpx; font-size: 28rpx; color: #4E5969; position: relative; box-sizing: border-box; } .filter-active { background: linear-gradient(135deg, #007545 0%, #007545 100%); color: #FFFFFF; } .filter-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 32rpx; height: 32rpx; background: #F53F3F; color: #FFFFFF; font-size: 20rpx; border-radius: 16rpx; margin-left: 8rpx; padding: 0 6rpx; } .filter-active .filter-badge { background: #FFFFFF; color: #007545; } /* 工单状态筛选栏 */ .status-filter { width: 100%; display: flex; /* background: #FFFFFF; */ padding: 12rpx 16rpx; padding-bottom:20rpx; border-radius: 8rpx; box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.04); flex-wrap: wrap; box-sizing: border-box; } .status-item { flex: 1; min-width: 120rpx; text-align: center; font-size: 28rpx; color: #86909C; padding: 12rpx 0; border-radius: 6rpx; margin: 4rpx; } .status-active { color: #007545; font-weight: 600; background: #EEF7FF; } /* 工单列表 */ .order-list { width: 100%; } .empty-wrap { padding: 100rpx 0; text-align: center; } .empty-icon { font-size: 80rpx; color: #C9CDD4; margin-bottom: 20rpx; } .empty-text { font-size: 28rpx; color: #86909C; margin-bottom: 8rpx; } .empty-subtext { font-size: 24rpx; color: #C9CDD4; } /* 工单卡片 */ .order-card { width: 100%; position: relative; background: #FFFFFF; border-radius: 12rpx; padding: 24rpx; margin-bottom: 16rpx; box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04); box-sizing: border-box; } /* 状态标签 */ .order-tag { position: absolute; top: 24rpx; right: 24rpx; padding: 4rpx 12rpx; border-radius: 6rpx; font-size: 22rpx; color: #FFFFFF; } .tag-pending { background: #FF7D00; } .tag-processing { background: #007545; } .tag-completed { background: #00B42A; } .tag-rejected { background: #F53F3F; } /* 左侧信息 */ .order-left { margin-right: 140rpx; margin-bottom: 20rpx; } .order-code { font-size: 24rpx; color: #86909C; margin-bottom: 8rpx; } .order-title { font-size: 30rpx; font-weight: 600; color: #1D2129; line-height: 1.4; margin-bottom: 8rpx; } .order-desc { font-size: 26rpx; color: #4E5969; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12rpx; } .order-meta { display: flex; flex-direction: column; justify-content: space-between; font-size: 22rpx; color: #86909C; } /* 右侧操作区 */ .order-right { position: absolute; top: 24rpx; right: 24rpx; display: flex; flex-direction: column; gap: 8rpx; align-items: flex-end; } .opt-btn { width: 100rpx; height: 56rpx; line-height: 56rpx; padding: 0; font-size: 24rpx; border-radius: 6rpx; border: none; } .opt-btn::after { border: none; } .dispatch-btn { background: #165DFF; color: #FFFFFF; } .complete-btn { background: #00B42A; color: #FFFFFF; } .reject-btn { background: #F53F3F; color: #FFFFFF; } .opt-text { font-size: 22rpx; color: #86909C; margin-top: 8rpx; } /* 底部新建工单按钮 */ .add-bar { position: fixed; bottom: 0; left: 0; right: 0; padding: 20rpx 24rpx; background: #FFFFFF; box-shadow: 0 -2rpx 12rpx rgba(0, 0, 0, 0.06); z-index: 99; } .add-btn { width: 100%; height: 88rpx; line-height: 88rpx; padding: 0; background: linear-gradient(135deg, #007545 0%, #007545 100%); color: #FFFFFF; font-size: 30rpx; font-weight: 600; border-radius: 12rpx; border: none; } .add-btn::after { border: none; } /* 深色模式适配 */ @media (prefers-color-scheme: dark) { page { background-color: #1D1D1F; } .filter-bar, .status-filter, .order-card, .add-bar { background: #2C2C2E; color: #FFFFFF; } .order-title { color: #FFFFFF; } .order-desc { color: #C9CDD4; } .order-code, .order-meta, .opt-text { color: #8E8E93; } .status-active { background: #007545; color: #FFFFFF; } }