feat: 自动学习功能,后台定时发送心跳积累学时

This commit is contained in:
2026-11-15 01:01:45 +08:00
parent 2acf310e0c
commit ffa563d97c
13 changed files with 959 additions and 16 deletions
+73
View File
@@ -405,6 +405,64 @@ select {
color: var(--muted);
}
.home-target {
display: flex;
align-items: center;
gap: 12px;
padding-top: 16px;
border-top: 1px solid var(--line);
}
.home-target label {
flex: none;
font-size: 13px;
color: var(--muted);
}
.target-control {
display: flex;
align-items: center;
gap: 6px;
}
.target-control .n-input-number {
width: 120px;
}
.target-unit {
color: var(--muted);
font-size: 13px;
}
.home-study-status {
display: flex;
align-items: center;
gap: 8px;
padding-top: 12px;
border-top: 1px solid var(--line);
}
.study-indicator {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--muted);
flex: none;
}
.study-indicator.active {
background: #3fb950;
box-shadow: 0 0 6px rgba(63, 185, 80, 0.5);
}
.study-text {
font-size: 13px;
}
.study-text.muted {
color: var(--muted);
}
.profile {
display: flex;
align-items: center;
@@ -959,6 +1017,21 @@ select {
color: var(--muted);
}
.form-section {
margin: 20px 0 8px;
font-size: 13px;
font-weight: 600;
color: var(--muted);
letter-spacing: 0.04em;
}
.form-hint {
margin: 0;
padding: 2px 0 0 160px;
font-size: 12px;
color: var(--muted);
}
.admin-table {
width: 100%;
min-width: 820px;