From 0a2499ec5fc2f0cdf3156b3f614ce0aa266520d4 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 6 May 2026 17:13:33 +0800 Subject: [PATCH] bugfix --- json/pricing_program.json | 8 +------- wwwroot/test_pricing_program.ui | 26 ++++++++++++++++++++++---- 2 files changed, 23 insertions(+), 11 deletions(-) diff --git a/json/pricing_program.json b/json/pricing_program.json index 3fe6908..b771a40 100644 --- a/json/pricing_program.json +++ b/json/pricing_program.json @@ -28,14 +28,8 @@ "toolbar":{ "tools":[ { - "name": "download_pattern", - "label": "定价模版", - "selected_row": true, - "icon": "{{entire_url('/bricks/imgs/download.svg')}}" - }, - { "name": "test", - "label": "定价模版", + "label": "测试", "selected_row": true, "icon": "{{entire_url('/bricks/imgs/test.svg')}}" } diff --git a/wwwroot/test_pricing_program.ui b/wwwroot/test_pricing_program.ui index 4b0bdf3..9859ec2 100644 --- a/wwwroot/test_pricing_program.ui +++ b/wwwroot/test_pricing_program.ui @@ -1,5 +1,13 @@ +{ + "widgettype": "VScrollPanel", + "options": { + "width": "100%", + "height": "100%" + }, + "subwidgets":[ { "widgettype": "Form", + "id": "input_form", "options": { "fields": [ { @@ -15,14 +23,24 @@ } ], "width": "100%", - "height": "100%" - }, + "height": "50%" + } +}, +{ + "widgettype": "VBox", + "id": "result", + "options": { + "height": "50%", + "width": "100%" + } +} + ], "binds": [ { - "wid": "self", + "wid": "input_form", "event": "submit", "actiontype": "urldata", - "target": "show_result", + "target": "result", "options": { "url": "{{entire_url('./test_pricing_program.dspy')}}", "params":{}