|
|
@@ -212,7 +212,8 @@ export default defineComponent({
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
align-items: flex-start;
|
|
|
- gap: 10px;
|
|
|
+ gap: 20px;
|
|
|
+ padding: 0 20px;
|
|
|
}
|
|
|
.tasks-container {
|
|
|
display: flex;
|
|
|
@@ -221,114 +222,188 @@ export default defineComponent({
|
|
|
flex-direction: column;
|
|
|
justify-content: space-between;
|
|
|
align-items: flex-start;
|
|
|
- width: 30%;
|
|
|
+ width: 35%;
|
|
|
+ max-width: 400px;
|
|
|
height: 100%;
|
|
|
overflow-y: auto;
|
|
|
+ background: white;
|
|
|
+ border-radius: 12px;
|
|
|
+ box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
|
|
|
+ border: 1px solid #e8ecf0;
|
|
|
}
|
|
|
|
|
|
.task-detail-container {
|
|
|
box-sizing: border-box;
|
|
|
flex: 1;
|
|
|
- padding: 20px;
|
|
|
- margin-top: 20px;
|
|
|
- margin-right: 20px;
|
|
|
+ padding: 30px;
|
|
|
height: calc(100vh - 110px);
|
|
|
max-height: calc(100vh - 110px);
|
|
|
overflow-y: auto;
|
|
|
background: white;
|
|
|
- border-radius: 8px;
|
|
|
- box-shadow: 0 4px 12px rgba(138, 147, 228, 0.15);
|
|
|
- border: 1px solid #e2e8f0;
|
|
|
+ border-radius: 12px;
|
|
|
+ box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
|
|
|
+ border: 1px solid #e8ecf0;
|
|
|
}
|
|
|
|
|
|
.pagination {
|
|
|
- width: 80%;
|
|
|
- padding: 0 10px 0 20px;
|
|
|
+ width: 100%;
|
|
|
+ padding: 20px;
|
|
|
+ border-top: 1px solid #f0f2f5;
|
|
|
+ background: #fafbfc;
|
|
|
+ border-radius: 0 0 12px 12px;
|
|
|
}
|
|
|
|
|
|
.tasks {
|
|
|
box-sizing: border-box;
|
|
|
width: 100%;
|
|
|
- padding: 0 5px 0 20px;
|
|
|
+ padding: 20px;
|
|
|
+ flex: 1;
|
|
|
+ overflow-y: auto;
|
|
|
}
|
|
|
|
|
|
.task-item {
|
|
|
box-sizing: border-box;
|
|
|
- padding: 16px 20px;
|
|
|
- margin-bottom: 12px;
|
|
|
+ padding: 18px 20px;
|
|
|
+ margin-bottom: 8px;
|
|
|
background: white;
|
|
|
- border-radius: 8px;
|
|
|
+ border-radius: 10px;
|
|
|
cursor: pointer;
|
|
|
transition: all 0.3s ease;
|
|
|
border: 2px solid transparent;
|
|
|
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
|
|
|
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
|
|
|
+ position: relative;
|
|
|
}
|
|
|
|
|
|
.task-item:hover {
|
|
|
- border-color: rgba(138, 147, 228, 0.4);
|
|
|
- box-shadow: 0 4px 12px rgba(138, 147, 228, 0.15);
|
|
|
- transform: translateY(-2px);
|
|
|
+ border-color: rgba(138, 147, 228, 0.3);
|
|
|
+ box-shadow: 0 4px 16px rgba(138, 147, 228, 0.12);
|
|
|
+ transform: translateY(-1px);
|
|
|
}
|
|
|
|
|
|
.task-item-selected {
|
|
|
- background: rgba(138, 147, 228, 0.3);
|
|
|
- border-color: rgb(138, 147, 228);
|
|
|
- box-shadow: 0 4px 12px rgba(138, 147, 228, 0.25);
|
|
|
+ background: linear-gradient(135deg, rgba(138, 147, 228, 0.1) 0%, rgba(138, 147, 228, 0.05) 100%);
|
|
|
+ border-color: rgba(138, 147, 228, 0.4);
|
|
|
+ box-shadow: 0 4px 16px rgba(138, 147, 228, 0.15);
|
|
|
}
|
|
|
|
|
|
.task-item-selected:hover {
|
|
|
- background: rgba(138, 147, 228, 0.15);
|
|
|
+ background: linear-gradient(135deg, rgba(138, 147, 228, 0.15) 0%, rgba(138, 147, 228, 0.08) 100%);
|
|
|
+}
|
|
|
+
|
|
|
+.task-item-selected::before {
|
|
|
+ content: '';
|
|
|
+ position: absolute;
|
|
|
+ left: 0;
|
|
|
+ top: 0;
|
|
|
+ bottom: 0;
|
|
|
+ width: 4px;
|
|
|
+ background: linear-gradient(to bottom, #8a93e4, #6b73d1);
|
|
|
+ border-radius: 0 2px 2px 0;
|
|
|
}
|
|
|
|
|
|
.task-question {
|
|
|
- font-size: 16px;
|
|
|
- color: #333;
|
|
|
+ font-size: 15px;
|
|
|
+ color: #2c3e50;
|
|
|
line-height: 1.6;
|
|
|
font-weight: 500;
|
|
|
+ margin: 0;
|
|
|
}
|
|
|
|
|
|
.query-data-container {
|
|
|
- padding: 16px;
|
|
|
- min-height: 100px;
|
|
|
+ padding: 20px;
|
|
|
+ min-height: 120px;
|
|
|
}
|
|
|
|
|
|
.query-data-content {
|
|
|
font-size: 14px;
|
|
|
- color: #333;
|
|
|
+ color: #2c3e50;
|
|
|
line-height: 1.8;
|
|
|
white-space: pre-wrap;
|
|
|
word-wrap: break-word;
|
|
|
- background: #f8f9fa;
|
|
|
- padding: 16px;
|
|
|
- border-radius: 6px;
|
|
|
- border-left: 3px solid rgba(138, 147, 228, 0.6);
|
|
|
+ background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f4 100%);
|
|
|
+ padding: 20px;
|
|
|
+ border-radius: 8px;
|
|
|
+ border-left: 4px solid #8a93e4;
|
|
|
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
|
|
|
}
|
|
|
|
|
|
.query-data-empty {
|
|
|
text-align: center;
|
|
|
- color: #999;
|
|
|
+ color: #95a5a6;
|
|
|
font-size: 14px;
|
|
|
padding: 40px;
|
|
|
+ background: #f8f9fa;
|
|
|
+ border-radius: 8px;
|
|
|
+ border: 2px dashed #e9ecef;
|
|
|
}
|
|
|
|
|
|
.task-detail-container :deep(.el-descriptions__title) {
|
|
|
- font-size: 18px;
|
|
|
+ font-size: 20px;
|
|
|
line-height: 1.6;
|
|
|
+ font-weight: 600;
|
|
|
+ color: #2c3e50;
|
|
|
+ margin: 0 0 20px 0;
|
|
|
+ padding-bottom: 12px;
|
|
|
+ border-bottom: 2px solid #f0f2f5;
|
|
|
+}
|
|
|
+
|
|
|
+.task-detail-container :deep(.el-descriptions) {
|
|
|
+ margin-bottom: 30px;
|
|
|
+}
|
|
|
+
|
|
|
+.task-detail-container :deep(.el-descriptions__body) {
|
|
|
+ background: #fafbfc;
|
|
|
+ border-radius: 8px;
|
|
|
+}
|
|
|
+
|
|
|
+.task-detail-container :deep(.el-descriptions-item__label) {
|
|
|
+ font-weight: 600;
|
|
|
+ color: #5a6c7d;
|
|
|
+}
|
|
|
+
|
|
|
+.task-detail-container :deep(.el-descriptions-item__content) {
|
|
|
+ color: #2c3e50;
|
|
|
font-weight: 500;
|
|
|
- color: #666;
|
|
|
- margin: 10px 0 0;
|
|
|
}
|
|
|
|
|
|
.querys-header {
|
|
|
- font-size: 18px;
|
|
|
+ font-size: 20px;
|
|
|
line-height: 1.6;
|
|
|
- font-weight: 500;
|
|
|
- color: #666;
|
|
|
- margin: 25px 0 15px 0;
|
|
|
+ font-weight: 600;
|
|
|
+ color: #2c3e50;
|
|
|
+ margin: 0 0 20px 0;
|
|
|
+ padding-bottom: 12px;
|
|
|
+ border-bottom: 2px solid #f0f2f5;
|
|
|
}
|
|
|
|
|
|
.query-title :deep(.el-collapse-item__header) {
|
|
|
font-size: 15px;
|
|
|
- color: #333;
|
|
|
+ color: #2c3e50;
|
|
|
+ font-weight: 500;
|
|
|
+ padding: 16px 20px;
|
|
|
+ background: #f8f9fa;
|
|
|
+ border-radius: 8px;
|
|
|
+ margin-bottom: 8px;
|
|
|
+ transition: all 0.3s ease;
|
|
|
+}
|
|
|
+
|
|
|
+.query-title :deep(.el-collapse-item__header:hover) {
|
|
|
+ background: #f0f2f5;
|
|
|
+ color: #8a93e4;
|
|
|
+}
|
|
|
+
|
|
|
+.query-title :deep(.el-collapse-item__wrap) {
|
|
|
+ border: none;
|
|
|
+ background: transparent;
|
|
|
+}
|
|
|
+
|
|
|
+.query-title :deep(.el-collapse-item__content) {
|
|
|
+ padding: 0;
|
|
|
+ background: transparent;
|
|
|
+}
|
|
|
+
|
|
|
+.query-title :deep(.el-collapse-item__arrow) {
|
|
|
+ color: #8a93e4;
|
|
|
+ font-weight: bold;
|
|
|
}
|
|
|
</style>
|