feat: 学习进度轮询、学时依据与首页代理弹窗

This commit is contained in:
2026-11-15 05:13:48 +08:00
parent f0a2bdd854
commit 5acbea35fb
17 changed files with 921 additions and 221 deletions
+105
View File
@@ -558,10 +558,20 @@ select {
width: 88px;
}
.start-control .day-select {
width: 108px;
}
.start-control .n-time-picker {
width: 148px;
}
.day-warn {
color: #d29922;
font-size: 18px;
cursor: help;
}
.target-unit {
color: var(--muted);
font-size: 13px;
@@ -597,6 +607,97 @@ select {
color: var(--muted);
}
.study-card {
display: flex;
flex-direction: column;
}
.study-workers {
list-style: none;
margin: 12px 0 0;
padding: 0;
display: flex;
flex-direction: column;
gap: 10px;
}
.study-worker {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 12px;
align-items: center;
}
.study-worker-main {
min-width: 0;
display: flex;
flex-direction: column;
gap: 4px;
}
.study-worker-title {
font-size: 13px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.study-worker-meta {
display: flex;
align-items: center;
gap: 8px;
flex: none;
font-variant-numeric: tabular-nums;
font-size: 12px;
color: var(--muted);
}
.study-worker-pct {
width: 36px;
text-align: right;
color: var(--text);
}
.study-heartbeat {
width: 36px;
text-align: right;
}
.study-dot {
width: 8px;
height: 8px;
border-radius: 50%;
flex: none;
}
.study-dot.up {
background: #3fb950;
box-shadow: 0 0 6px rgba(63, 185, 80, 0.5);
}
.study-dot.down {
background: #f85149;
box-shadow: 0 0 6px rgba(248, 81, 73, 0.5);
}
.study-card-foot {
display: flex;
justify-content: flex-end;
margin-top: 12px;
}
.history-facts {
grid-template-columns: repeat(4, minmax(0, 1fr));
margin: 0 0 16px;
}
.probe-loading {
display: inline-flex;
align-items: center;
gap: 6px;
color: var(--muted);
}
.profile {
display: flex;
align-items: center;
@@ -1022,6 +1123,10 @@ select {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.history-facts {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.detail-facts {
grid-template-columns: minmax(0, 1fr);
}