wjx 1 月之前
父节点
当前提交
1ee8ae4884
共有 1 个文件被更改,包括 6 次插入6 次删除
  1. 6 6
      src/pages/dataStatisticsNovel/pitcher/dataCenter/tableConfig.tsx

+ 6 - 6
src/pages/dataStatisticsNovel/pitcher/dataCenter/tableConfig.tsx

@@ -17,8 +17,8 @@ function columns12(): NOVEL_DATA_API.ColumnsProps[] {
                     render: (a: number) => <div style={{ height: 27, position: 'relative' }} >
                         <Progress
                             strokeColor={{
-                                from: '#10c1e9',
-                                to: '#6892d0',
+                                from: '#108ee9',
+                                to: '#87d068'
                             }}
                             status="active"
                             showInfo={false}
@@ -45,11 +45,11 @@ function columns12(): NOVEL_DATA_API.ColumnsProps[] {
                 },
                 {
                     title: '日回收率', dataIndex: 'today_roi', label: '基本信息', align: 'center', width: 100, default: 7, sorter: true,
-                    render: (a: number) => <Statistic value={a ? (a * 100) : 0} precision={2} valueStyle={!a ? {} : a >= 0.5 ? { color: 'red' } : { color: '#0f990f' }} suffix="%" />
+                    render: (a: number) => <Statistic value={a ? (a * 100) : 0} precision={2} valueStyle={a <= 0.08 ? { color: '#0f990f', fontWeight: 600 } : a >= 1 ? { color: 'red', fontWeight: 600 } : {}} suffix="%" />
                 },
                 {
                     title: '毛利', dataIndex: 'profit', label: '基本信息', align: 'right', width: 110, sorter: true, default: 8,
-                    render: (a: number) => (<Statistic value={a || 0} precision={2} />)
+                    render: (a: number) => (<Statistic value={a || 0} precision={2} valueStyle={a < 0 ? { color: '#0f990f', fontWeight: 600 } : {}} />)
                 },
                 {
                     title: '真实累计充值', dataIndex: 'reg_user_coefficient_amount', label: '基本信息', align: 'right', width: 120, sorter: true, default: 9,
@@ -61,11 +61,11 @@ function columns12(): NOVEL_DATA_API.ColumnsProps[] {
                 },
                 {
                     title: '真实累计回本率', dataIndex: 'reg_user_coefficient_roi', label: '基本信息', align: 'center', width: 90, sorter: true, default: 11,
-                    render: (a: number) => <Statistic value={a ? (a * 100) : 0} precision={2} valueStyle={!a ? {} : a >= 0.5 ? { color: 'red' } : { color: '#0f990f' }} suffix="%" />
+                    render: (a: number) => <Statistic value={a ? (a * 100) : 0} precision={2} suffix="%" />
                 },
                 {
                     title: '真实首日回本率', dataIndex: 'first_user_coefficient_roi', label: '基本信息', align: 'center', width: 80, sorter: true, default: 12,
-                    render: (a: number) => <Statistic value={a ? (a * 100) : 0} precision={2} valueStyle={!a ? {} : a >= 0.5 ? { color: 'red' } : { color: '#0f990f' }} suffix="%" />
+                    render: (a: number) => <Statistic value={a ? (a * 100) : 0} precision={2} suffix="%" />
                 }
             ]
         }