浏览代码

Merge branch 'v3.5.1' of http://git.ycjcjy.com/zhiyuxing/estateagents-admin-manager into v3.5.1

魏超 5 年前
父节点
当前提交
1a521bd2bf

+ 4
- 3
src/pages/customer/customerlist/customerDetail.jsx 查看文件

98
     {
98
     {
99
       title: 'Name',
99
       title: 'Name',
100
       dataIndex: 'name',
100
       dataIndex: 'name',
101
-    render: (_, record) => <span width={500}>{record.buildingName}</span>,
101
+      width:500,
102
+    render: (_, record) => <span stytle={{width:'450px'}} >{record.buildingName}</span>,
102
     },
103
     },
103
     {
104
     {
104
       title: 'Address',
105
       title: 'Address',
105
       dataIndex: 'address',
106
       dataIndex: 'address',
106
-      render: (_, record) => <span style={{ marginLeft: '-100%' }}>{record.intention}</span>,
107
+      render: (_, record) => <span >{record.intention}</span>,
107
     },
108
     },
108
   ];
109
   ];
109
   return (
110
   return (
172
           </div>
173
           </div>
173
           {/* <img className={styles.touxiang} src={ data.picture && data.picture } /> */}
174
           {/* <img className={styles.touxiang} src={ data.picture && data.picture } /> */}
174
           <div className={styles.infoItem}>
175
           <div className={styles.infoItem}>
175
-          <Table columnWidth={10} showHeader={false} columns={intention} dataSource={intentionData} pagination={false} scroll={intentionData && intentionData.length >= 3 ? { y: 240 } : false}/>
176
+          <Table columnWidth={10} showHeader={false} columns={intention} dataSource={intentionData} pagination={false} scroll={intentionData && intentionData.length >= 3 ? { y: 240 } : false} width={500}/>
176
           </div>
177
           </div>
177
         </div>
178
         </div>
178
 
179
 

+ 3
- 2
src/pages/customer/customerlist/publicCustomerDetail.jsx 查看文件

99
     {
99
     {
100
       title: 'Name',
100
       title: 'Name',
101
       dataIndex: 'name',
101
       dataIndex: 'name',
102
-    render: (_, record) => <span width={500}>{record.buildingName}</span>,
102
+      width:200,
103
+    render: (_, record) => <span>{record.buildingName}</span>,
103
     },
104
     },
104
     {
105
     {
105
       title: 'Address',
106
       title: 'Address',
106
       dataIndex: 'address',
107
       dataIndex: 'address',
107
-      render: (_, record) => <span style={{ marginLeft: '-50%' }}>{record.intention}</span>,
108
+      render: (_, record) => <span style={{ marginLeft: '50%' }}>{record.intention}</span>,
108
     },
109
     },
109
   ];
110
   ];
110
 
111