From 7c7b72caddc41ca5e6953138065e278b1519c821 Mon Sep 17 00:00:00 2001 From: duxingchen Date: Thu, 6 Aug 2026 11:53:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=91=E7=9A=84=E4=BB=BB=E5=8A=A1=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E5=8A=A0=E5=88=86=E6=94=AF=E6=A0=87=E7=AD=BE:=20?= =?UTF-8?q?=E4=B8=BB=E5=88=86=E6=94=AF(=E8=93=9D)/=E5=8D=8F=E5=8A=A9?= =?UTF-8?q?=E5=88=86=E6=94=AF(=E7=B4=AB)=20=E2=80=94=20parent=5Ftask=5Fid?= =?UTF-8?q?=E5=88=A4=E8=A1=80=E7=BC=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- track-uniapp/src/pages/tasks/index.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/track-uniapp/src/pages/tasks/index.vue b/track-uniapp/src/pages/tasks/index.vue index 04c77ad..8b83743 100644 --- a/track-uniapp/src/pages/tasks/index.vue +++ b/track-uniapp/src/pages/tasks/index.vue @@ -20,7 +20,10 @@ - {{ task.task_name }} + + {{ task.parent_task_id ? '协助分支' : '主分支' }} + {{ task.task_name }} + {{ statusLabel(task.status) }} @@ -135,7 +138,10 @@ export default { .card { background: #fff; border-radius: 12px; padding: 14px; margin-bottom: 10px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); } .card-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; } -.card-name { font-size: 15px; font-weight: 700; color: #1f2937; } +.card-name { font-size: 15px; font-weight: 700; color: #1f2937; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } +.tag-badge { display: inline-block; padding: 2rpx 12rpx; font-size: 20rpx; border-radius: 6rpx; font-weight: bold; flex-shrink: 0; } +.tag-main { background-color: #dbeafe; color: #1e40af; } +.tag-sub { background-color: #f3e8ff; color: #6b21a8; } .card-status { font-size: 11px; padding: 2px 10px; border-radius: 20px; font-weight: 600; } .s-yellow { background: #fef3c7; color: #b45309; } .s-blue { background: #dbeafe; color: #1d4ed8; }