fix: Filler→VBox定价区,同show_llms_cards

This commit is contained in:
yumoqing 2026-07-06 15:46:25 +08:00
parent b5a63d412c
commit c0097b7735

View File

@ -30,30 +30,21 @@
"subwidgets":[ "subwidgets":[
{ {
"widgettype":"HBox", "widgettype":"HBox",
"options":{ "options":{"cheight":2},
"cheight":2
},
"subwidgets":[ "subwidgets":[
{ {
"widgettype":"Svg", "widgettype":"Svg",
"options":{ "options":{"rate":1.5,"url":"{{entire_url('/appbase/show_icon.dspy')}}?id={{llm.iconid}}"}
"rate":1.5,
"url":"{{entire_url('/appbase/show_icon.dspy')}}?id={{llm.iconid}}"
}
}, },
{ {
"widgettype":"Title6", "widgettype":"Title6",
"options":{ "options":{"text":"{{llm.name}}"}
"text":"{{llm.name}}"
}
} }
] ]
}, },
{ {
"widgettype":"VScrollPanel", "widgettype":"VScrollPanel",
"options":{ "options":{"css":"card-body-scroll","flex":"1"},
"css":"card-body-scroll"
},
"subwidgets":[ "subwidgets":[
{ {
"widgettype":"Text", "widgettype":"Text",
@ -62,12 +53,12 @@
"wrap":true, "wrap":true,
"halign":"left" "halign":"left"
} }
}
]
}, },
{ {
"widgettype":"Filler", "widgettype":"VBox",
"options":{ "options":{"css":"pricing-box","cheight":4},
"css":"pricing-box"
},
"subwidgets":[ "subwidgets":[
{% for pricing_text in llm.pricing_display %} {% for pricing_text in llm.pricing_display %}
{ {
@ -82,8 +73,6 @@
{% endfor %} {% endfor %}
] ]
} }
]
}
], ],
"binds":[ "binds":[
{ {
@ -102,9 +91,7 @@
{% endif %} {% endif %}
}, },
"options":{ "options":{
"params":{ "params":{"id":"{{llm.id}}"},
"id":"{{llm.id}}"
},
"url":"{{entire_url('./llm_dialog.ui')}}" "url":"{{entire_url('./llm_dialog.ui')}}"
} }
} }