Commit b4997d7c authored by 翁佳瑞's avatar 翁佳瑞

ui更改

parent 4d0e82f3
.analy-content{
.operate-content{
display: flex;
justify-content: space-between;
.form-item{
flex: 1;
}
.search-group{
width: 200px;
margin-left: 30px;
}
}
.export{
display: flex;
justify-content: flex-end;
}
}
......@@ -154,8 +154,8 @@ const OrderList: React.FC = () => {
<BasicPage>
<div className="analy-content">
<Form {...formItemLayout} form={form} onFinish={onFinish}>
<Row {...{ gutter: { xs: 8, sm: 16, md: 24 } }}>
<Col span="6">
<div className="operate-content">
<div className="form-item">
<FormItem label="已购课程名称:" name="class_name">
<Input
placeholder="请输入"
......@@ -164,8 +164,8 @@ const OrderList: React.FC = () => {
}}
/>
</FormItem>
</Col>
<Col span="6">
</div>
<div className="form-item">
<FormItem label="用户姓名:" name="userName">
<Input
placeholder="请输入"
......@@ -174,8 +174,8 @@ const OrderList: React.FC = () => {
}}
/>
</FormItem>
</Col>
<Col span="6">
</div>
<div className="form-item">
<FormItem label="下单时间:" name="dates">
<RangePicker
locale={locale}
......@@ -184,22 +184,8 @@ const OrderList: React.FC = () => {
}}
/>
</FormItem>
</Col>
</Row>
<Row
style={{ padding: '12px 0' }}
{...{ gutter: { xs: 8, sm: 16, md: 24 } }}
>
<Col md={12} sm={24}>
<Button
type="primary"
style={{ marginRight: '12px' }}
onClick={download}
>
导出订单信息表
</Button>
</Col>
<Col md={12} sm={24} style={{ textAlign: 'right' }}>
</div>
<div className="search-group">
<Form.Item>
<Button
type="primary"
......@@ -212,8 +198,19 @@ const OrderList: React.FC = () => {
重置
</Button>
</Form.Item>
</Col>
</Row>
</div>
</div>
<div className="export">
<Button
type="primary"
style={{ marginRight: '30px' }}
onClick={download}
>
导出订单信息表
</Button>
</div>
</Form>
</div>
<List
......
import React from 'react';
import { Table } from 'antd';
import { ColumnsType } from 'antd/es/table';
import tableColumnsSetting from './tableColumnsSetting'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment