fix(主题): 我的信用额度/充值错帐处理去硬编码暗色——卡片改css:card、金额盒改css:subcard、文字颜色继承data-theme双主题;保留语义色(状态徽章/进度条阈值色)两主题通用

This commit is contained in:
yumoqing 2026-09-08 15:48:20 +08:00
parent 985e044dd5
commit 51ee9ed234
2 changed files with 12 additions and 27 deletions

View File

@ -11,10 +11,8 @@
{
"widgettype": "VBox",
"options": {
"bgcolor": "#1E293B",
"css": "card",
"padding": "40px",
"borderRadius": "10px",
"border": "1px solid #334155",
"alignItems": "center"
},
"subwidgets": [
@ -22,8 +20,7 @@
"widgettype": "Text",
"options": {
"text": "暂无信用额度记录",
"fontSize": "16px",
"color": "#94A3B8"
"fontSize": "16px"
}
},
{
@ -31,7 +28,6 @@
"options": {
"text": "请联系您的分销商销售人员为您设置信用额度",
"fontSize": "13px",
"color": "#64748B",
"marginTop": "8px"
}
}
@ -42,10 +38,8 @@
{
"widgettype": "VBox",
"options": {
"bgcolor": "#1E293B",
"css": "card",
"padding": "16px",
"borderRadius": "10px",
"border": "1px solid #334155",
"gap": "12px"
},
"subwidgets": [
@ -65,16 +59,14 @@
"options": {
"text": "{{c.orgname_text or '未知客户'}}",
"fontSize": "16px",
"fontWeight": "600",
"color": "#F1F5F9"
"fontWeight": "600"
}
},
{
"widgettype": "Text",
"options": {
"text": "{{c.subject_name or ''}} | 账户: {{c.accountid}}",
"fontSize": "12px",
"color": "#64748B"
"fontSize": "12px"
}
}
]
@ -119,8 +111,7 @@
"widgettype": "Text",
"options": {
"text": "额度使用",
"fontSize": "12px",
"color": "#94A3B8"
"fontSize": "12px"
}
},
{
@ -137,7 +128,7 @@
{
"widgettype": "HBox",
"options": {
"bgcolor": "#334155",
"css": "subcard",
"borderRadius": "4px",
"height": "8px",
"width": "100%"
@ -169,7 +160,7 @@
"widgettype": "VBox",
"options": {
"flex": "1",
"bgcolor": "#0F172A",
"css": "subcard",
"padding": "10px",
"borderRadius": "6px",
"alignItems": "center"
@ -189,7 +180,6 @@
"options": {
"text": "授信额度",
"fontSize": "11px",
"color": "#64748B",
"marginTop": "2px"
}
}
@ -199,7 +189,7 @@
"widgettype": "VBox",
"options": {
"flex": "1",
"bgcolor": "#0F172A",
"css": "subcard",
"padding": "10px",
"borderRadius": "6px",
"alignItems": "center"
@ -219,7 +209,6 @@
"options": {
"text": "已用额度",
"fontSize": "11px",
"color": "#64748B",
"marginTop": "2px"
}
}
@ -229,7 +218,7 @@
"widgettype": "VBox",
"options": {
"flex": "1",
"bgcolor": "#0F172A",
"css": "subcard",
"padding": "10px",
"borderRadius": "6px",
"alignItems": "center"
@ -249,7 +238,6 @@
"options": {
"text": "剩余额度",
"fontSize": "11px",
"color": "#64748B",
"marginTop": "2px"
}
}
@ -267,16 +255,14 @@
"widgettype": "Text",
"options": {
"text": "有效期: {{c.valid_from or '不限'}} ~ {{c.valid_to or '不限'}}",
"fontSize": "11px",
"color": "#64748B"
"fontSize": "11px"
}
},
{
"widgettype": "Text",
"options": {
"text": "更新于 {{c.updated_at}}",
"fontSize": "11px",
"color": "#475569"
"fontSize": "11px"
}
}
]

View File

@ -15,7 +15,6 @@
"widgettype": "Text",
"options": {
"text": "选中错帐的充值账单点击「冲正」:引擎自动翻转原记账借贷方向(客户余额相应扣回),冲正单以 REV:原账单ID 记账、同一笔不可重复冲正、操作记入审计。分销商财务角色仅能处理自己名下客户的充值账单。",
"color": "#94A3B8",
"cfontsize": 0.9,
"halign": "left",
"wrap": true