/* 全局容器 */ .work-order-container { background-color: #f5f7fa; width: 100%; padding: 20rpx; padding-bottom: 40rpx; box-sizing: border-box; } /* 工单头部 */ .order-header { width: 100%; padding: 20rpx; background-color: #fff; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; margin-bottom: 20rpx; border-radius: 12rpx; box-sizing: border-box; } .order-left { display: flex; flex-direction: column; gap: 15rpx; } .order-no { font-size: 28rpx; color: #666; } .order-status { font-size: 32rpx; font-weight: 600; padding: 4rpx 0rpx; border-radius: 20rpx; } /* 不同状态样式 */ .status-pending { color: #ff9500; background: #fff8e8; } .status-assigned { color: #1296db; background: #e8f4fc; } .status-processing { color: #7676ff; background: #f0f0ff; } .status-completed { color: #00c853; background: #e8fdf2; } .status-canceled { color: #999; background: #f5f5f5; } .order-time { font-size: 26rpx; color: #999; white-space: nowrap; margin: 20rpx 0rpx; } /* 通用卡片样式 */ .device-card, .desc-card, .assign-card, .process-card { background-color: #fff; border-radius: 12rpx; margin: 20rpx 0rpx; padding: 30rpx; box-sizing: border-box; } .card-title { font-size: 32rpx; font-weight: 600; color: #333; margin-bottom: 25rpx; padding-bottom: 15rpx; border-bottom: 1rpx solid #f0f0f0; } /* 设备信息 */ .device-info { display: flex; flex-wrap: wrap; gap: 20rpx; } .info-item { width: 46%; display: flex; flex-direction: column; gap: 8rpx; } .label { font-size: 26rpx; color: #999; } .value { font-size: 28rpx; color: #333; font-weight: 500; margin-top: 10rpx; } /* 工单描述 */ .desc-content { display: flex; flex-direction: column; gap: 20rpx; } .desc-item { display: flex; flex-direction: column; gap: 8rpx; } .full-width { width: 100%; } .fault-imgs { display: flex; gap: 15rpx; margin-top: 10rpx; flex-wrap: wrap; } .img-item { width: 160rpx; height: 160rpx; border-radius: 8rpx; object-fit: cover; } /* 指派信息 */ .assign-info { display: flex; flex-direction: column; gap: 20rpx; } /* 处理进度时间轴 */ .process-timeline { position: relative; padding-left: 20rpx; margin-left: 10rpx; box-sizing: border-box; } .process-timeline::before { content: ''; position: absolute; left: 20rpx; top: 10rpx; bottom: 140rpx; width: 2rpx; background-color: #e5e5e5; z-index: 1; } .timeline-item { position: relative; margin-bottom: 40rpx; padding-left: 30rpx; } .timeline-item:last-child { margin-bottom: 0; } .timeline-dot { position: absolute; left: -10rpx; top: 0; width: 20rpx; height: 20rpx; border-radius: 50%; background-color: #e5e5e5; z-index: 2; } /* 激活的进度点 */ .timeline-item.active .timeline-dot { background-color: #1296db; } .timeline-content { display: flex; flex-direction: column; gap: 8rpx; } .timeline-content .step { font-size: 28rpx; font-weight: 600; color: #333; } .timeline-content .time { font-size: 24rpx; color: #999; } .timeline-content .operator, .timeline-content .desc { font-size: 26rpx; color: #666; } /* 底部操作栏 */ .bottom-bar { position: fixed; bottom: 0; left: 0; right: 0; height: 100rpx; background-color: #fff; display: flex; align-items: center; justify-content: flex-end; padding: 0 30rpx; box-shadow: 0 -2rpx 10rpx rgba(0, 0, 0, 0.05); z-index: 99; } .btn { height: 70rpx; line-height: 70rpx; padding: 0 30rpx; border-radius: 35rpx; font-size: 28rpx; margin-left: 20rpx; border: none; } .cancel-btn { color: #666; background-color: #f5f5f5; } .assign-btn { color: #fff; background-color: #1296db; } .process-btn { color: #fff; background-color: #7676ff; } .complete-btn { color: #fff; background-color: #00c853; } .rework-btn { color: #ff9500; background-color: #fff8e8; } /* 查看更多按钮样式 */ .toggle-more { display: flex; align-items: center; justify-content: center; padding: 10rpx 0; color: #007aff; font-size: 28rpx; margin: 10rpx 0; } .toggle-more .icon { margin-left: 8rpx; font-size: 24rpx; }