From 5986b3996be1b0c1b3d88371b68e0975619c1dde Mon Sep 17 00:00:00 2001 From: cat_shark <1716967236@qq.com> Date: Sat, 4 Jul 2026 23:58:53 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E4=BB=BB=E5=8A=A1=E5=88=97=E8=A1=A8)?= =?UTF-8?q?=EF=BC=9A=E6=98=BE=E7=A4=BA=E4=BB=BB=E5=8A=A1=E4=BC=98=E5=85=88?= =?UTF-8?q?=E7=BA=A7=E5=88=86=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 每个任务项左侧增加绿色圆形 priority 徽标,直观展示计算后的优先级分数高低。 列表项行内布局增加弹性布局适配徽标 + 标题并排显示。 --- src/components/Study.vue | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/src/components/Study.vue b/src/components/Study.vue index 89dfdba..764daf0 100644 --- a/src/components/Study.vue +++ b/src/components/Study.vue @@ -292,7 +292,10 @@ onMounted(() => { :class="{ active: selectedTaskId === item.taskId }" @click="selectedTaskId = item.taskId" > -

{{ item.title }}

+

+ {{ item.priority }} + {{ item.title }} +

状态:{{ item.lastLearningStatus }}

@@ -528,6 +531,23 @@ onMounted(() => { margin: 0; font-size: 15px; font-weight: 600; + display: flex; + align-items: center; + gap: 8px; +} + +.task-priority { + flex-shrink: 0; + width: 28px; + height: 28px; + border-radius: 8px; + background: var(--green-600); + color: #fff; + font-size: 12px; + font-weight: 700; + display: inline-flex; + align-items: center; + justify-content: center; } .task-meta {