李志伟 3 年 前
コミット
707b4efea1
共有3 個のファイルを変更した7 個の追加6 個の削除を含む
  1. バイナリ
      src/assets/selectedImg.png
  2. 3
    2
      src/pages/Machinery/Machinery/Edit/index.jsx
  3. 4
    4
      src/pages/Machinery/Machinery/Edit/style.less

バイナリ
src/assets/selectedImg.png ファイルの表示


+ 3
- 2
src/pages/Machinery/Machinery/Edit/index.jsx ファイルの表示

@@ -338,8 +338,9 @@ export default (props) => {
338 338
                 enterButton="搜索"
339 339
                 size="middle"
340 340
                 onSearch={onSearch}
341
+                style={{ padding: '24px' }}
341 342
               />
342
-              <List split={false} style={{ margin: '16px 0', flex: 1, overflowY: 'auto' }}>
343
+              <List split={false} style={{ padding: '12px 0', flex: 1, overflowY: 'auto', background: 'rgb(240,242,245)' }}>
343 344
                 {
344 345
                   deviceList.map(item =>
345 346
                     <List.Item key={item.deviceId} onClick={() => handleSelect(item)}>
@@ -359,7 +360,7 @@ export default (props) => {
359 360
                 }
360 361
 
361 362
               </List>
362
-              <div>
363
+              <div style={{ padding: '24px' }}>
363 364
                 <Button
364 365
                   type="primary"
365 366
                   style={{ float: 'right' }}

+ 4
- 4
src/pages/Machinery/Machinery/Edit/style.less ファイルの表示

@@ -1,11 +1,11 @@
1 1
 .listCard{
2
-  position: relative;
3
-  margin-right: 24px;
4
-  margin-left: 4px;
5
-  width: 100%;
2
+  margin:0 24px;
6 3
   img{
7 4
     position: absolute;
8 5
     right: -11px;
9 6
     top: 16px;
10 7
   }
8
+}
9
+.ant-drawer-body{
10
+  padding: 0;
11 11
 }