wjx 1 주 전
부모
커밋
14e59bb805
2개의 변경된 파일27개의 추가작업 그리고 8개의 파일을 삭제
  1. 10 0
      src/global.less
  2. 17 8
      src/pages/iaaData/novel/tencent/appEveryDayData/tableConfig.tsx

+ 10 - 0
src/global.less

@@ -410,6 +410,16 @@ body {
   }
 }
 
+// 充值数据
+.czColorClass {
+  background-color: #fff7e6;
+
+  &.ant-table-cell-fix-left,
+  &.ant-table-cell-fix-right {
+    background-color: #fff7e6;
+  }
+}
+
 .padding_0.ant-table-cell {
   padding: 0 !important;
 

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

@@ -410,32 +410,41 @@ function columns12(): { label: string, fieldSHow?: { label: string, saveField: s
             ]
         },
         {
-            label: '充值数据',
+            label: '充值数据(颜色:日暮)',
+            bcColor: '#fff7e6',
             data: [
                 {
-                    title: '今日账面充值', dataIndex: 'orderAmount', label: '充值数据', align: 'center', width: 110, sorter: true,
+                    title: '今日现金收入', dataIndex: 'orderAmount', label: '充值数据', align: 'right', width: 90, sorter: true, className: 'czColorClass', default: 31,
                     render: (a: number) => <Statistic value={a || 0} precision={2} />
                 },
                 {
-                    title: '累计充值', dataIndex: 'totalOrderAmount', label: '充值数据', align: 'center', width: 110, sorter: true,
+                    title: '今日现金收入增长率', dataIndex: 'orderAmountRate', tips: '今日现金收入/累计消耗', label: '充值数据', align: 'center', width: 90, sorter: true, className: 'czColorClass', default: 32,
+                    render: (a: number) => <Statistic value={a ? a * 100 : 0} precision={2} valueStyle={!a ? {} : a >= 0.5 ? { color: 'red' } : { color: '#0f990f' }} suffix="%" />
+                },
+                {
+                    title: '现金累计收入', dataIndex: 'totalOrderAmount', label: '充值数据', align: 'right', width: 90, sorter: true, className: 'czColorClass', default: 33,
                     render: (a: number) => <Statistic value={a || 0} precision={2} />
                 },
                 {
-                    title: '今日账面混变收入(变现+充值)', dataIndex: 'appOrderIncome', label: '充值数据', align: 'center', width: 115, sorter: true,
+                    title: '今日混变收入(现金+应用)', dataIndex: 'appOrderIncome', label: '充值数据', align: 'right', width: 90, sorter: true, className: 'czColorClass', default: 34,
                     render: (a: number) => <Statistic value={a || 0} precision={2} />
                 },
                 {
-                    title: '今日账面混变回收率', dataIndex: 'appOrderIncomeRate', label: '充值数据', align: 'center', width: 110, sorter: true,
+                    title: '今日账面混变回收率', dataIndex: 'appOrderIncomeRate', label: '充值数据', align: 'center', width: 95, sorter: true, className: 'czColorClass', default: 35,
+                    render: (a: number) => <Statistic value={a ? a * 100 : 0} precision={2} valueStyle={!a ? {} : a >= 0.5 ? { color: 'red' } : { color: '#0f990f' }} suffix="%" />
+                },
+                {
+                    title: '应用端每日变现增长率', dataIndex: 'appIncomeRate', tips: '应用端每日变现收入(应用端)/累计消耗', label: '充值数据', align: 'center', width: 100, sorter: true, className: 'czColorClass', default: 36,
                     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,
+                    title: '累计混变(现金+应用)', dataIndex: 'totalAppOrderIncome', label: '充值数据', align: 'right', width: 100, sorter: true, className: 'czColorClass', default: 37,
                     render: (a: number) => <Statistic value={a || 0} precision={2} />
                 },
                 {
-                    title: '累计账面混变回收率', dataIndex: 'totalAppOrderIncomeRate', label: '充值数据', align: 'center', width: 110, sorter: true,
+                    title: '累计混变回收率', dataIndex: 'totalAppOrderIncomeRate', tips: '累计混变/累计消耗', label: '充值数据', align: 'center', width: 90, sorter: true, className: 'czColorClass', default: 38,
                     render: (a: number) => <Statistic value={a ? a * 100 : 0} precision={2} valueStyle={!a ? {} : a >= 0.5 ? { color: 'red' } : { color: '#0f990f' }} suffix="%" />
-                },
+                }
             ]
         }
     ]