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

View File

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