wjx 3 hafta önce
ebeveyn
işleme
8277b17a87

+ 12 - 2
src/global.less

@@ -392,11 +392,21 @@ body {
 
 // 应用端数据
 .appColorClass {
-  background-color: #ffd6e7;
+  background-color: #fff0f6;
 
   &.ant-table-cell-fix-left,
   &.ant-table-cell-fix-right {
-    background-color: #ffd6e7;
+    background-color: #fff0f6;
+  }
+}
+
+// 广告端数据
+.adColorClass {
+  background-color: #e6fffb;
+
+  &.ant-table-cell-fix-left,
+  &.ant-table-cell-fix-right {
+    background-color: #e6fffb;
   }
 }
 

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

@@ -289,41 +289,42 @@ function columns12(): { label: string, fieldSHow?: { label: string, saveField: s
             ]
         },
         {
-            label: '广告数据',
+            label: '广告数据(颜色:明青)',
+            bcColor: '#e6fffb',
             data: [
                 {
-                    title: '累计消耗(广告端)', dataIndex: 'totalCost', label: '广告数据', align: 'right', width: 110, sorter: true, 
+                    title: '累计消耗(广告端)', dataIndex: 'totalCost', label: '广告数据', align: 'right', width: 110, sorter: true, className: 'adColorClass',
                     render: (a: string) => <Statistic value={a || 0} precision={2} />
                 },
                 {
-                    title: '广告端累计变现收入(广告端)', dataIndex: 'adTotalIncome', label: '广告数据', align: 'right', width: 95, sorter: true, 
+                    title: '广告端累计变现收入(广告端)', dataIndex: 'adTotalIncome', label: '广告数据', align: 'right', width: 95, sorter: true, className: 'adColorClass',
                     render: (a: string) => <Statistic value={a || 0} precision={2} />
                 },
                 {
-                    title: '广告端累计回收(广告端)', dataIndex: 'adTotalRecycle', label: '广告数据', align: 'right', width: 90, sorter: true, 
+                    title: '广告端累计回收(广告端)', dataIndex: 'adTotalRecycle', label: '广告数据', align: 'right', width: 90, sorter: true, className: 'adColorClass',
                     render: (a: number) => <Statistic value={a ? a * 100 : 0} precision={2} valueStyle={!a ? {} : a >= 50 ? { color: 'red' } : { color: '#0f990f' }} suffix="%" />
                 },
                 {
-                    title: '广告端变现累计利润(广告端)', dataIndex: 'adTotalRate', label: '广告数据', align: 'right', width: 95, sorter: true, 
+                    title: '广告端变现累计利润(广告端)', dataIndex: 'adTotalRate', label: '广告数据', align: 'right', width: 95, sorter: true, className: 'adColorClass',
                     render: (a: string) => <Statistic value={a || 0} precision={2} />
                 },
                 {
-                    title: '广告端变现利润率(广告端)', dataIndex: 'appTotalProfitRate', tips: '计算公式:(广告端累计变现收入-累计消耗)/累计消耗*100%', label: '广告数据', align: 'center', width: 110, sorter: true, 
+                    title: '广告端变现利润率(广告端)', dataIndex: 'appTotalProfitRate', tips: '计算公式:(广告端累计变现收入-累计消耗)/累计消耗*100%', label: '广告数据', align: 'center', width: 110, sorter: true, className: 'adColorClass',
                     render: (a: number) => <Statistic value={a ? a * 100 : 0} precision={2} valueStyle={!a ? {} : a >= 50 ? { color: 'red' } : { color: '#0f990f' }} suffix="%" />
                 },
                 {
-                    title: '广告新增ARPU(广告端)', dataIndex: 'adNewArpu', tips: ' 计算公式:广告端变现收入/每日新增注册人数', label: '广告数据', align: 'center', width: 105, sorter: true, 
+                    title: '广告新增ARPU(广告端)', dataIndex: 'adNewArpu', tips: ' 计算公式:广告端变现收入/每日新增注册人数', label: '广告数据', align: 'center', width: 105, sorter: true, className: 'adColorClass',
                     render: (a: number) => <Statistic value={a || 0} precision={2} />
                 },
                 {
-                    title: '广告总ARPU(广告端)', dataIndex: 'adTotalArpu', tips: '计算公式:广告端累计变现收入/累计注册人数', label: '广告数据', align: 'center', width: 105, sorter: true,
+                    title: '广告总ARPU(广告端)', dataIndex: 'adTotalArpu', tips: '计算公式:广告端累计变现收入/累计注册人数', label: '广告数据', align: 'center', width: 105, sorter: true, className: 'adColorClass',
                     render: (a: number) => <Statistic value={a || 0} precision={2} />
                 }
             ]
         },
         {
             label: '应用数据(颜色:法式洋红)',
-            bcColor: '#ffd6e7',
+            bcColor: '#fff0f6',
             data: [
                 {
                     title: '点击数(应用端)', dataIndex: 'appClickCount', label: '应用数据', align: 'center', width: 80, sorter: true, className: 'appColorClass',

+ 1 - 1
src/pages/iaaData/novel/tencent/pitcherPayTrend/tableConfig.tsx

@@ -113,7 +113,7 @@ function columns12(): { label: string, fieldSHow?: { label: string, saveField: s
                     render: (a: number) => <Statistic value={a || 0} precision={2} />
                 },
                 {
-                    title: '广告变现金额', dataIndex: 'appAdPayingAmount', label: '基本信息', align: 'center', width: 110, default: 12, sorter: true,
+                    title: '广告变现金额', dataIndex: 'appAdPayingAmount', label: '基本信息', align: 'right', width: 110, default: 12, sorter: true,
                     render: (a: number) => <Statistic value={a || 0} precision={2} />
                 },
                 {