wjx hace 1 semana
padre
commit
2d5617f40f

+ 2 - 2
src/pages/iaaData/novel/tencent/appEveryDayData/tableConfig.tsx

@@ -426,7 +426,7 @@ function columns12(): { label: string, fieldSHow?: { label: string, saveField: s
                 },
                 {
                     title: '今日账面混变回收率', dataIndex: 'appOrderIncomeRate', label: '充值数据', align: 'center', width: 110, sorter: true,
-                    render: (a: number) => <Statistic value={a ? a * 100 : 0} precision={2} valueStyle={!a ? {} : a >= 50 ? { color: 'red' } : { color: '#0f990f' }} suffix="%" />
+                    render: (a: number) => <Statistic value={a ? a * 100 : 0} precision={2} valueStyle={!a ? {} : a >= 0.5 ? { color: 'red' } : { color: '#0f990f' }} suffix="%" />
                 },
                 {
                     title: '累计账面混变收入(变现+充值)', dataIndex: 'totalAppOrderIncome', label: '充值数据', align: 'center', width: 115, sorter: true,
@@ -434,7 +434,7 @@ function columns12(): { label: string, fieldSHow?: { label: string, saveField: s
                 },
                 {
                     title: '累计账面混变回收率', dataIndex: 'totalAppOrderIncomeRate', label: '充值数据', align: 'center', width: 110, sorter: true,
-                    render: (a: number) => <Statistic value={a ? a * 100 : 0} precision={2} valueStyle={!a ? {} : a >= 50 ? { color: 'red' } : { color: '#0f990f' }} suffix="%" />
+                    render: (a: number) => <Statistic value={a ? a * 100 : 0} precision={2} valueStyle={!a ? {} : a >= 0.5 ? { color: 'red' } : { color: '#0f990f' }} suffix="%" />
                 },
             ]
         }