wjx 1 month ago
parent
commit
20d3019ab8

+ 6 - 0
src/app.tsx

@@ -297,6 +297,12 @@ export const layout: RunTimeLayoutConfig = ({ initialState, setInitialState }) =
             Table: {
               colorBorderSecondary: '#e0e0e0',
               headerBg: '#F5F5F5'
+            },
+            Menu: {
+              fontSizeSM: 20,
+              fontSizeXL: 20,
+              fontSize: 20,
+              fontSizeLG: 20
             }
           }
         }}

+ 2 - 2
src/global.less

@@ -66,11 +66,11 @@ ol {
 .ant-layout-sider {
 
   .ant-pro-base-menu-inline-item-title {
-    font-size: 13px;
+    // font-size: 13px;
   }
 
   .ant-menu-title-content .anticon {
-    font-size: 13px !important;
+    // font-size: 13px !important;
     min-width: 13px !important;
   }
 

+ 1 - 1
src/pages/dataStatisticsNovel/weChat/payTrendCom/tableConfig.tsx

@@ -110,7 +110,7 @@ function columns12(handlePay: (data: any) => void): NOVEL_DATA_API.ColumnsProps[
                     render: (a: number) => (<Statistic value={a || 0} precision={2} valueStyle={{ lineHeight }} />)
                 },
                 {
-                    title: '回本率', dataIndex: 'roi', label: '基本信息', align: 'center', width: 90, default: 16, sorter: true,
+                    title: '回本率', dataIndex: 'roi', label: '基本信息', align: 'center', width: 100, default: 16, sorter: true,
                     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="%" />
                 },
                 {