周立森 5 years ago
parent
commit
488ada4fbf
1 changed files with 15 additions and 2 deletions
  1. 15
    2
      src/pages/activity/drainage/DrainageList.jsx

+ 15
- 2
src/pages/activity/drainage/DrainageList.jsx View File

198
       });
198
       });
199
     }
199
     }
200
 
200
 
201
+    const tailFormItemLayout = {
202
+      wrapperCol: {
203
+        xs: {
204
+          span: 24,
205
+          offset: 0,
206
+        },
207
+        sm: {
208
+          span: 16,
209
+          offset: 8,
210
+        },
211
+      },
212
+    };
213
+
201
     const formItemLayout = {
214
     const formItemLayout = {
202
       labelCol: {
215
       labelCol: {
203
         xs: { span: 24 },
216
         xs: { span: 24 },
231
           />,
244
           />,
232
         )}
245
         )}
233
       </Form.Item>
246
       </Form.Item>
234
-      <Form.Item>
247
+      <Form.Item {...tailFormItemLayout}>
235
         <AuthButton name="admin.taDrainage.id.put" noRight={null}>
248
         <AuthButton name="admin.taDrainage.id.put" noRight={null}>
236
           <Button type="primary" htmlType="submit" className={styles.searchBtn} onClick>
249
           <Button type="primary" htmlType="submit" className={styles.searchBtn} onClick>
237
             确定
250
             确定
346
               />,
359
               />,
347
             )}
360
             )}
348
           </Form.Item>
361
           </Form.Item>
349
-          <Form.Item>
362
+          <Form.Item >
350
             <Button type="primary" htmlType="submit" className={styles.searchBtn} onClick>
363
             <Button type="primary" htmlType="submit" className={styles.searchBtn} onClick>
351
               搜索
364
               搜索
352
           </Button>
365
           </Button>