feat(workbench): 首页对齐原型并重构趋势与待办数据口径

This commit is contained in:
yelan
2026-09-30 17:39:00 +08:00
parent 661700d7da
commit 74cb192e4c
8 changed files with 402 additions and 134 deletions
@@ -147,18 +147,20 @@ function getHint(item: HomeTodoItem) {
.todo-list {
display: flex;
flex-direction: column;
gap: 8px;
/* 原型 .titem 是 margin-bottom:10px */
gap: 10px;
}
.todo-item {
display: block;
width: 100%;
padding: 9px 11px;
/* 原型 .titem:padding 11px 13px + 圆角 10px */
padding: 11px 13px;
color: var(--ink);
text-align: left;
background: #fff;
border: 1px solid var(--line);
border-radius: 9px;
border-radius: 10px;
transition:
border-color 0.15s ease,
background 0.15s ease;
@@ -195,8 +197,9 @@ function getHint(item: HomeTodoItem) {
.todo-status {
flex-shrink: 0;
padding: 2px 8px;
font-size: 11px;
/* 原型 .tag:padding 2px 10px / 11.5px / 圆角 20px */
padding: 2px 10px;
font-size: 11.5px;
font-weight: 700;
border-radius: 20px;
}
@@ -227,15 +230,18 @@ function getHint(item: HomeTodoItem) {
background: var(--ok-l);
}
/* 原型 .tg-void */
.todo-status--muted {
color: var(--mut);
background: #eef3f5;
color: #8a9aa3;
background: #eceef0;
}
.todo-row--detail {
margin-top: 5px;
gap: 12px;
flex-wrap: wrap;
color: var(--mut);
font-size: 12px;
font-size: 12.5px;
}
.todo-document {
@@ -247,7 +253,6 @@ function getHint(item: HomeTodoItem) {
.todo-hint {
flex-shrink: 0;
margin-left: auto;
white-space: nowrap;
}