unipay/wwwroot/transfer_info.ui
yumoqing e64bfe81ea feat(unipay): transfer popup displays bank_name and bank_branch from env vars
- init.py: add BANK_NAME/BANK_BRANCH to CONF_ENV['transfer']
- transfer.py: TransferGateway accepts and forwards bank_name/bank_branch
- transfer_info.ui: conditionally display 收款银行/开户行 rows
2026-07-16 12:06:01 +08:00

92 lines
2.3 KiB
XML

{
"widgettype": "VBox",
"options": {
"width": "100%",
"height": "100%",
"padding": "20px"
},
"subwidgets": [
{
"widgettype": "Title3",
"options": {
"text": "线下转账充值",
"color": "var(--sage-text-primary)"
}
},
{
"widgettype": "Text",
"options": {
"text": "请向以下账户转账,并在附言中填写转账码:"
}
},
{
"widgettype": "VBox",
"options": {
"css": "card",
"padding": "16px",
"width": "100%"
},
"subwidgets": [
{% if params_kw.bank_name %}
{
"widgettype": "HBox",
"options": {},
"subwidgets": [
{"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",
"options": {},
"subwidgets": [
{"widgettype": "Text", "options": {"text": "转账金额", "cwidth": 8}},
{"widgettype": "Text", "options": {"text": "{{params_kw.amount}} 元", "cwidth": 16}}
]
},
{
"widgettype": "HBox",
"options": {},
"subwidgets": [
{"widgettype": "Text", "options": {"text": "转账码", "cwidth": 8}},
{"widgettype": "Text", "options": {"text": "{{params_kw.tcode}}", "cwidth": 16, "cfontsize": 1.5}}
]
},
{
"widgettype": "HBox",
"options": {},
"subwidgets": [
{"widgettype": "Text", "options": {"text": "日期", "cwidth": 8}},
{"widgettype": "Text", "options": {"text": "{{params_kw.curdate}}", "cwidth": 16}}
]
}
]
},
{
"widgettype": "Text",
"options": {
"text": "转账完成后,系统将自动匹配转账码并完成充值。如有疑问请联系客服。"
}
}
]
}