色彩优化

This commit is contained in:
‘Liammcl’
2024-12-26 22:10:19 +08:00
parent 6a86447029
commit bde0a8fd65
9 changed files with 129 additions and 188 deletions

View File

@@ -311,21 +311,21 @@ const ServicePage = () => {
</Paragraph>
),
},
{
title: "总金额",
dataIndex: ["attributes", "totalAmount"],
key: "totalAmount",
className: "min-w-[150px] text-right",
render: (amount) => (
<span style={{ color: "#f50", fontWeight: "bold" }}>
¥
{amount?.toLocaleString("zh-CN", {
minimumFractionDigits: 2,
maximumFractionDigits: 2,
}) || "0.00"}
</span>
),
},
// {
// title: "总金额",
// dataIndex: ["attributes", "totalAmount"],
// key: "totalAmount",
// className: "min-w-[150px] text-right",
// render: (amount) => (
// <span style={{ color: "#f50", fontWeight: "bold" }}>
// ¥
// {amount?.toLocaleString("zh-CN", {
// minimumFractionDigits: 2,
// maximumFractionDigits: 2,
// }) || "0.00"}
// </span>
// ),
// },
{
title: "操作",
key: "action",