فهرست منبع

style: 调整样式

outaozhen 4 سال پیش
والد
کامیت
ef926de854

+ 1 - 19
src/pages/Customer/Company/components/CompanyDetail/SyncClient.jsx

@@ -50,18 +50,12 @@ const SyncClient = ({ customer, client }) => {
       dataIndex: 'clientName',
       dataIndex: 'clientName',
       title: '客户名称',
       title: '客户名称',
       width: '15%',
       width: '15%',
-      headerCellStyle: {
-        backgroundColor: '#fff'
-      },
       ellipsis: true
       ellipsis: true
     },
     },
     {
     {
       dataIndex: 'districtName',
       dataIndex: 'districtName',
       title: '客户地区',
       title: '客户地区',
       width: '15%',
       width: '15%',
-      headerCellStyle: {
-        backgroundColor: '#fff'
-      },
       ellipsis: true,
       ellipsis: true,
       renderText: text => text?.replaceAll(' / ', ',')
       renderText: text => text?.replaceAll(' / ', ',')
     },
     },
@@ -69,35 +63,23 @@ const SyncClient = ({ customer, client }) => {
       dataIndex: 'address',
       dataIndex: 'address',
       title: '地址',
       title: '地址',
       width: '20%',
       width: '20%',
-      headerCellStyle: {
-        backgroundColor: '#fff'
-      },
       ellipsis: true
       ellipsis: true
     },
     },
     {
     {
       dataIndex: 'ride',
       dataIndex: 'ride',
       title: '乘车路线',
       title: '乘车路线',
       width: '20%',
       width: '20%',
-      headerCellStyle: {
-        backgroundColor: '#fff'
-      },
       ellipsis: true
       ellipsis: true
     },
     },
     {
     {
       dataIndex: 'landmarks',
       dataIndex: 'landmarks',
       title: '地标建筑',
       title: '地标建筑',
       width: '15%',
       width: '15%',
-      headerCellStyle: {
-        backgroundColor: '#fff'
-      },
       ellipsis: true
       ellipsis: true
     },
     },
     {
     {
       dataIndex: 'stay',
       dataIndex: 'stay',
       title: '参考住宿',
       title: '参考住宿',
-      headerCellStyle: {
-        backgroundColor: '#fff'
-      },
       // width: '15%',
       // width: '15%',
       ellipsis: true
       ellipsis: true
     }
     }
@@ -161,7 +143,7 @@ const SyncClient = ({ customer, client }) => {
             </div>
             </div>
           </Checkbox.Group>
           </Checkbox.Group>
         </div>
         </div>
-        <div className={styles.tableCont}>
+        <div className={styles.tableSyncClient}>
           <Table
           <Table
             virtualized
             virtualized
             rowKey="id"
             rowKey="id"

+ 9 - 0
src/pages/Customer/Company/components/CompanyDetail/index.less

@@ -18,3 +18,12 @@
     background-color: #886ab5;
     background-color: #886ab5;
   }
   }
 }
 }
+
+.tableSyncClient {
+  :global(.arco-checkbox-indeterminate .arco-checkbox-mask) {
+    background-color: #886ab5;
+  }
+  :global(.arco-checkbox-checked .arco-checkbox-mask) {
+    background-color: #886ab5;
+  }
+}