feat: 方案对比结果区域改为可折叠显示
- 将方案对比结果卡片改为可折叠的expansion组件 - 添加analytics图标,提升界面美观度 - 默认展开状态,方便用户查看 - 优化卡片样式,移除内边距并添加overflow-hidden
This commit is contained in:
8
gui.py
8
gui.py
@@ -926,10 +926,10 @@ def index():
|
||||
"text-gray-500 italic"
|
||||
)
|
||||
|
||||
with ui.card().classes("w-full p-4 shadow-md"):
|
||||
ui.label("方案对比结果 (点击行查看拓扑详情)").classes(
|
||||
"text-xl font-semibold mb-2"
|
||||
)
|
||||
with ui.card().classes("w-full p-0 shadow-md overflow-hidden"):
|
||||
with ui.expansion(
|
||||
"方案对比结果 (点击行查看拓扑详情)", icon="analytics", value=True
|
||||
).classes("w-full").props("header-class=\"text-xl font-semibold\""):
|
||||
columns = [
|
||||
{
|
||||
"name": "name",
|
||||
|
||||
Reference in New Issue
Block a user