fix:优化配置存储
This commit is contained in:
@@ -5,6 +5,7 @@ import pythoncom
|
||||
from loguru import logger
|
||||
from nicegui import ui
|
||||
|
||||
from ui.views.templates.back_home import backHome
|
||||
from utils.file_utils import open_folder
|
||||
|
||||
progress_bar = None
|
||||
@@ -85,18 +86,7 @@ def create_convert_pdf_page(folder: str = ""):
|
||||
)
|
||||
|
||||
with ui.header().classes("app-header items-center justify-between shadow-md"):
|
||||
# 左侧:图标和标题
|
||||
with ui.row().classes("items-center gap-2"):
|
||||
ui.image("/assets/icon.ico").classes("w-8 h-8").props("fit=contain")
|
||||
ui.label("尚城幼儿园成长报告助手").classes("text-xl font-bold")
|
||||
# 右侧:署名 + 配置按钮
|
||||
with ui.row().classes("items-center gap-4"):
|
||||
ui.label("By 寒寒 | 这里的每一份评语都充满爱意").classes(
|
||||
"text-xs opacity-90"
|
||||
)
|
||||
ui.button(icon="home", on_click=lambda: ui.navigate.to("/")).props(
|
||||
"flat round color=white"
|
||||
)
|
||||
backHome()
|
||||
|
||||
with ui.card().classes("w-full"):
|
||||
with ui.row().classes("w-full justify-between"):
|
||||
|
||||
Reference in New Issue
Block a user