feat: 添加线下转账充值信息展示页 transfer_info.ui

This commit is contained in:
yumoqing 2026-07-16 15:31:38 +08:00
parent 067510df65
commit 4ba232805b

View File

@ -2,15 +2,11 @@
"widgettype": "VBox", "widgettype": "VBox",
"options": { "options": {
"width": "100%", "width": "100%",
"height": "100%", "children": [
"padding": "20px"
},
"subwidgets": [
{ {
"widgettype": "Title3", "widgettype": "Title",
"options": { "options": {
"text": "线下转账充值", "text": "线下转账充值"
"color": "var(--sage-text-primary)"
} }
}, },
{ {
@ -20,66 +16,42 @@
} }
}, },
{ {
"widgettype": "VBox", "widgettype": "Form",
"options": { "options": {
"css": "card", "readonly": true,
"padding": "16px", "fields": [
"width": "100%"
},
"subwidgets": [
{% if params_kw.bank_name %}
{ {
"widgettype": "HBox", "name": "bank_name",
"options": {}, "label": "开户银行",
"subwidgets": [ "uitype": "str"
{"widgettype": "Text", "options": {"text": "收款银行", "cwidth": 8}},
{"widgettype": "Text", "options": {"text": {{json.dumps(params_kw.bank_name)}}, "cwidth": 16, "cfontsize": 1.1}}
]
},
{% endif %}
{% if params_kw.bank_branch %}
{
"widgettype": "HBox",
"options": {},
"subwidgets": [
{"widgettype": "Text", "options": {"text": "开户行", "cwidth": 8}},
{"widgettype": "Text", "options": {"text": {{json.dumps(params_kw.bank_branch)}}, "cwidth": 16, "cfontsize": 1.1}}
]
},
{% endif %}
{
"widgettype": "HBox",
"options": {},
"subwidgets": [
{"widgettype": "Text", "options": {"text": "收款账号", "cwidth": 8}},
{"widgettype": "Text", "options": {"text": "{{params_kw.account_no}}", "cwidth": 16}}
]
}, },
{ {
"widgettype": "HBox", "name": "bank_branch",
"options": {}, "label": "开户支行",
"subwidgets": [ "uitype": "str"
{"widgettype": "Text", "options": {"text": "转账金额", "cwidth": 8}},
{"widgettype": "Text", "options": {"text": "{{params_kw.amount}} 元", "cwidth": 16}}
]
}, },
{ {
"widgettype": "HBox", "name": "account_no",
"options": {}, "label": "收款账号",
"subwidgets": [ "uitype": "str"
{"widgettype": "Text", "options": {"text": "转账码", "cwidth": 8}},
{"widgettype": "Text", "options": {"text": "{{params_kw.tcode}}", "cwidth": 16, "cfontsize": 1.5}}
]
}, },
{ {
"widgettype": "HBox", "name": "amount",
"options": {}, "label": "转账金额",
"subwidgets": [ "uitype": "str"
{"widgettype": "Text", "options": {"text": "日期", "cwidth": 8}}, },
{"widgettype": "Text", "options": {"text": "{{params_kw.curdate}}", "cwidth": 16}} {
] "name": "tcode",
"label": "转账码",
"uitype": "str"
},
{
"name": "curdate",
"label": "日期",
"uitype": "str"
} }
] ]
}
}, },
{ {
"widgettype": "Text", "widgettype": "Text",
@ -88,4 +60,5 @@
} }
} }
] ]
}
} }