fix:修复一些BUG

This commit is contained in:
2025-12-19 21:37:44 +08:00
parent 14b8c19dfe
commit 842a7cce64
13 changed files with 88 additions and 203 deletions

View File

@@ -27,12 +27,12 @@ def create_config_page():
with ui.header().classes('app-header items-center justify-between shadow-md'):
# 左侧:图标和标题
with ui.row().classes('items-center gap-2'):
ui.button(icon='arrow_back', on_click=lambda: ui.navigate.to('/')).props('flat round color=white')
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')
# 修改点 3使用 flex 布局撑满
with ui.card().classes('w-full max-w-5xl mx-auto shadow-lg main-card p-0'):