/* 任务卡片组件样式 - 深色主题 */ .task-card { background: linear-gradient(180deg, #1a1a1a 0%, #161616 100%); border-radius: 20rpx; padding: 30rpx; margin: 20rpx 0; border-left: 8rpx solid #2a2a2a; } .task-card.pending { border-left-color: #faad14; } .task-card.processing { border-left-color: #1677FF; } .task-card.completed { border-left-color: #52c41a; } .task-card.failed { border-left-color: #ff4d4f; } .task-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20rpx; padding-bottom: 20rpx; border-bottom: 2rpx solid rgba(255,255,255,0.06); } .task-title { font-size: 32rpx; font-weight: bold; color: #ffffff; flex: 1; margin-right: 20rpx; } .task-status { padding: 8rpx 20rpx; border-radius: 20rpx; font-size: 24rpx; font-weight: bold; text-transform: uppercase; } .task-status.pending { background-color: rgba(250,173,20,0.15); color: #faad14; } .task-status.processing { background-color: rgba(22,119,255,0.15); color: #1677FF; } .task-status.completed { background-color: rgba(82,196,26,0.15); color: #52c41a; } .task-status.failed { background-color: rgba(255,77,79,0.15); color: #ff4d4f; } .task-content { margin-bottom: 20rpx; } .task-description { font-size: 28rpx; color: #aaaaaa; line-height: 1.5; margin-bottom: 20rpx; } .task-meta { display: flex; flex-wrap: wrap; gap: 20rpx; margin-bottom: 20rpx; } .task-type, .task-priority { font-size: 24rpx; color: #888888; background: #222222; padding: 8rpx 16rpx; border-radius: 10rpx; border: 2rpx solid rgba(255,255,255,0.04); } .task-timeline { display: flex; flex-direction: column; gap: 10rpx; } .task-time { font-size: 24rpx; color: #666666; } .task-actions { display: flex; flex-wrap: wrap; gap: 15rpx; margin-top: 20rpx; padding-top: 20rpx; border-top: 2rpx solid rgba(255,255,255,0.06); } .action-btn { padding: 16rpx 32rpx; border: none; border-radius: 25rpx; font-size: 26rpx; font-weight: 500; transition: all 0.3s ease; min-width: 120rpx; } .action-btn.primary { background: linear-gradient(135deg, #1677FF 0%, #0958d9 100%); color: white; } .action-btn.success { background: linear-gradient(135deg, #52c41a 0%, #389e0d 100%); color: white; } .action-btn.warning { background: linear-gradient(135deg, #faad14 0%, #d48806 100%); color: #1a1a1a; } .action-btn.info { background: linear-gradient(135deg, #13c2c2 0%, #08979c 100%); color: white; } .action-btn.danger { background: linear-gradient(135deg, #ff4d4f 0%, #cf1322 100%); color: white; } .action-btn:active { transform: scale(0.95); } .task-progress { margin: 20rpx 0; display: flex; align-items: center; gap: 20rpx; } .progress-text { font-size: 24rpx; color: #888888; min-width: 60rpx; text-align: right; } .task-result { background: #141414; border-radius: 10rpx; padding: 20rpx; margin-top: 20rpx; border: 2rpx solid rgba(255,255,255,0.06); } .result-label { font-size: 24rpx; color: #888888; font-weight: bold; margin-bottom: 10rpx; display: block; } .result-content { font-size: 26rpx; color: #e5e5e5; line-height: 1.5; background: #0d0d0d; padding: 15rpx; border-radius: 8rpx; border: 2rpx solid #252525; }