wjx 1 month ago
parent
commit
a176db241a

+ 13 - 2
src/global.less

@@ -153,6 +153,17 @@ ol {
   font-weight: 600;
 }
 
+.css-dark,
+.css-light {
+  &>.ant-pro-layout-bg-list {
+    // background-color: rgba(232, 234, 237, 1);
+    background: linear-gradient(#ebecef, #e7eaed 20%);
+  }
+
+  .ant-table-tbody-virtual-scrollbar-thumb {
+    background-color: #a3a3a3 !important;
+  }
+}
 
 // 自定义拂晓蓝xiao 样式
 .css-dark {
@@ -255,8 +266,8 @@ ol {
 ::-webkit-scrollbar-thumb {
   border-radius: 4px;
   -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
-  background-color: #ddd;
-  background: rgba(0, 0, 0, 0);
+  background-color: #a3a3a3;
+  // background: rgba(0, 0, 0, 0);
 }
 
 :hover::-webkit-scrollbar-thumb {

+ 3 - 3
src/pages/dataStatisticsNovel/book/payTrend/tableConfig.tsx

@@ -80,7 +80,7 @@ function columns12(): NOVEL_DATA_API.ColumnsProps[] {
                     render: (a: number) => (<Statistic value={a || 0} precision={2} valueStyle={{ lineHeight }} />)
                 },
                 {
-                    title: '毛利额', dataIndex: 'profit', label: '基本信息', align: 'right', width: 95, sorter: true, default: 10,
+                    title: '毛利额', dataIndex: 'profit', label: '基本信息', align: 'right', width: 110, sorter: true, default: 10,
                     render: (a: number) => (<Statistic value={a || 0} precision={2} valueStyle={{ lineHeight }} />)
                 },
                 {
@@ -96,7 +96,7 @@ function columns12(): NOVEL_DATA_API.ColumnsProps[] {
                     render: (a: number) => <Statistic value={a ? (a * 100) : 0} precision={2} valueStyle={!a ? { lineHeight } : a <= 0.08 ? { color: '#0f990f', fontWeight: 600, lineHeight } : a >= 1 ? { color: 'red', fontWeight: 600, lineHeight } : { lineHeight }} suffix="%" />
                 },
                 {
-                    title: '曝光量', dataIndex: 'view_count', label: '基本信息', align: 'center', width: 90, sorter: true, default: 14,
+                    title: '曝光量', dataIndex: 'view_count', label: '基本信息', align: 'center', width: 105, sorter: true, default: 14,
                     render: (a: number) => (<Statistic value={a || 0} valueStyle={{ lineHeight }} />)
                 },
                 {
@@ -120,7 +120,7 @@ function columns12(): NOVEL_DATA_API.ColumnsProps[] {
                     render: (a: number) => (<Statistic value={a || 0} precision={2} valueStyle={{ lineHeight }} />)
                 },
                 {
-                    title: '充值成本', dataIndex: 'order_cost', label: '基本信息', align: 'right', width: 60, sorter: true, default: 20,
+                    title: '充值成本', dataIndex: 'order_cost', label: '基本信息', align: 'right', width: 75, sorter: true, default: 20,
                     render: (a: number) => (<Statistic value={a || 0} precision={2} valueStyle={{ lineHeight }} />)
                 },
                 {

+ 1 - 1
src/pages/dataStatisticsNovel/pitcher/pitcherChannel/tableConfig.tsx

@@ -52,7 +52,7 @@ function columns12(): NOVEL_DATA_API.ColumnsProps[] {
                     render: (a: number) => (<Statistic value={a || 0} precision={2} valueStyle={a < 0 ? { color: '#0f990f', fontWeight: 600 } : {}} />)
                 },
                 {
-                    title: '回本率', dataIndex: 'roi', label: '基本信息', align: 'center', width: 80, default: 12, sorter: true,
+                    title: '回本率', dataIndex: 'roi', label: '基本信息', align: 'center', width: 110, default: 12, sorter: true,
                     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="%" />
                 },
                 {