fix: 改进

This commit is contained in:
2025-12-06 13:51:46 +08:00
parent 07d23bd268
commit c98f3a4418
8 changed files with 24 additions and 12 deletions

View File

@@ -18,13 +18,15 @@ import heurams.services.version as version
import heurams.services.timer as timer
from .preparation import PreparationScreen
import pathlib
class DashboardScreen(Screen):
def compose(self) -> ComposeResult:
yield Header(show_clock=True)
yield Container(
Label(f'欢迎使用 "潜进" 启发式先进记忆调度器', classes="title-label"),
Label(f"当前 UNIX 日时间戳: {timer.get_daystamp()}"),
Label(f"当前 UNIX 日时间戳: {timer.get_daystamp()}"),
Label(f'时区修正: UTC+{config_var.get()["timezone_offset"] / 3600}'),
Label("选择待学习或待修改的记忆单元集:", classes="title-label"),
ListView(id="union-list", classes="union-list-view"),
@@ -91,4 +93,4 @@ class DashboardScreen(Screen):
self.app.push_screen(precache_screen)
def action_quit_app(self) -> None:
self.app.exit()
self.app.exit()