dingxin 5 years ago
parent
commit
d740611b10

+ 14
- 13
src/pages/customer/customerlist/customerDetail.jsx View File

@@ -96,13 +96,13 @@ function onChange(number) {
96 96
   // 意向
97 97
   const intention = [
98 98
     {
99
-      title: 'Name',
99
+      title: <span styles={{ color: '#222', fontSize: '24px' }}>项目名称</span>,
100 100
       dataIndex: 'name',
101
-      width: 500,
101
+      width: '64%',
102 102
     render: (_, record) => <span>{record.buildingName}</span>,
103 103
     },
104 104
     {
105
-      title: 'Address',
105
+      title: <span styles={{ color: '#222', fontSize: '24px' }}>意向值</span>,
106 106
       dataIndex: 'address',
107 107
       render: (_, record) => <span >{record.intention}</span>,
108 108
     },
@@ -141,14 +141,15 @@ function onChange(number) {
141 141
             {/* <p className={styles.rightItem}>客户说明:{ data.verifyRemark }</p> */}
142 142
           </div>
143 143
         </div>
144
-        
145 144
       </div>
146 145
       <br></br>
147 146
       <div className={styles.cardBox}>
148
-        <div className={styles.rightBoxCentre}>
149
-        <p className={styles.tit}>置业顾问信息</p>
150
-          <img className={styles.touxiangphoto} src={ data.consultant && data.consultant.photo }/>
151
-          <p className={styles.infoItem}>{data.consultant && data.consultant.userName}</p>
147
+          <div className={styles.rightBoxCentre}>
148
+          <p className={styles.tit}>置业顾问信息</p>
149
+          <div>
150
+          <img className={styles.touxiangphoto}  src={ data.consultant && data.consultant.photo }/>
151
+          <p >{data.consultant && data.consultant.userName}</p>
152
+          </div>
152 153
           <div className={styles.right}>
153 154
           {/* <p className={styles.infoItem}>姓名:{ data.consultant && data.consultant.name }</p>
154 155
           <p className={styles.infoItem}>部门:{ data.consultant && data.consultant.department }</p> */}
@@ -167,14 +168,14 @@ function onChange(number) {
167 168
         </div>
168 169
         &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
169 170
         <div className={styles.leftBoxCentre}>
170
-          <div className={styles.tit}>
171
+          {/* <div className={styles.tit}>
171 172
                 <span>项目名称</span>
172 173
                 <span style={{ marginLeft: '50%' }}>意向值</span>
173
-          </div>
174
+          </div> */}
174 175
           {/* <img className={styles.touxiang} src={ data.picture && data.picture } /> */}
175
-          <div className={styles.infoItem}>
176
-          <Table columnWidth={10} showHeader={false} columns={intention} dataSource={intentionData} pagination={false} scroll={intentionData && intentionData.length >= 3 ? { y: 240 } : false} width={500}/>
177
-          </div>
176
+          {/* <div className={styles.infoItem}> */}
177
+          <Table bordered = { false } columnWidth={10} columns={intention} dataSource={intentionData} pagination={false} scroll={intentionData && intentionData.length >= 3 ? { y: 240 } : false} width={500}/>
178
+          {/* </div> */}
178 179
         </div>
179 180
 
180 181
       </div>

+ 7
- 8
src/pages/customer/customerlist/style.less View File

@@ -78,7 +78,7 @@
78 78
   display: flex;
79 79
   .leftBox{
80 80
     width:1000px;
81
-    min-width:342px;
81
+    min-width:350px;
82 82
     height:1000px;
83 83
     background:rgba(255,255,255,1);
84 84
     box-shadow:0px 0px 16px 2px rgba(0,0,0,0.12);
@@ -114,7 +114,7 @@
114 114
   }
115 115
   .rightBoxCentre{
116 116
     width:865px;
117
-    height:315px;
117
+    height:345px;
118 118
     min-width: 60%;
119 119
     background:rgba(255,255,255,1);
120 120
     box-shadow:0px 0px 16px 2px rgba(0,0,0,0.12);
@@ -126,7 +126,7 @@
126 126
   }
127 127
   .leftBoxCentre{
128 128
     width:100%;
129
-    height:315px;
129
+    height:345px;
130 130
     background:rgba(255,255,255,1);
131 131
     box-shadow:0px 0px 16px 2px rgba(0,0,0,0.12);
132 132
     border-radius:8px;
@@ -148,15 +148,14 @@
148 148
     margin: 30px 0 20px 0;
149 149
   }
150 150
   .touxiangphoto{
151
-    width: 60px;
152
-    width: 60px;
153
-    border-radius: 6px;
154
-    margin: 30px 0 0px 0;
151
+    width: 80px;
152
+    height: 80px;
153
+    margin: 38px 0 0px 0;
155 154
   }
156 155
   .infoItem{
157 156
     color:#666;
158 157
     font-size: 19px;
159
-    margin: 0 0 10px 0;
158
+    margin: 0 0 30px 0;
160 159
     
161 160
   }
162 161
   .rightItem{