浏览代码

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

魏熙美 5 年前
父节点
当前提交
31200a23c3
共有 1 个文件被更改,包括 15 次插入2 次删除
  1. 15
    2
      src/pages/activity/drainage/DrainageList.jsx

+ 15
- 2
src/pages/activity/drainage/DrainageList.jsx 查看文件

@@ -198,6 +198,19 @@ const header = (props) => {
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 214
     const formItemLayout = {
202 215
       labelCol: {
203 216
         xs: { span: 24 },
@@ -231,7 +244,7 @@ const header = (props) => {
231 244
           />,
232 245
         )}
233 246
       </Form.Item>
234
-      <Form.Item>
247
+      <Form.Item {...tailFormItemLayout}>
235 248
         <AuthButton name="admin.taDrainage.id.put" noRight={null}>
236 249
           <Button type="primary" htmlType="submit" className={styles.searchBtn} onClick>
237 250
             确定
@@ -346,7 +359,7 @@ const header = (props) => {
346 359
               />,
347 360
             )}
348 361
           </Form.Item>
349
-          <Form.Item>
362
+          <Form.Item >
350 363
             <Button type="primary" htmlType="submit" className={styles.searchBtn} onClick>
351 364
               搜索
352 365
           </Button>