Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
inclass-partners
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
趣选课
inclass-partners
Commits
b4997d7c
Commit
b4997d7c
authored
Jul 30, 2020
by
翁佳瑞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ui更改
parent
4d0e82f3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
41 additions
and
27 deletions
+41
-27
index.scss
src/pages/orderList/index.scss
+18
-0
index.tsx
src/pages/orderList/index.tsx
+23
-26
list.tsx
src/pages/orderList/list.tsx
+0
-1
No files found.
src/pages/orderList/index.scss
View file @
b4997d7c
.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
;
}
}
src/pages/orderList/index.tsx
View file @
b4997d7c
...
@@ -154,8 +154,8 @@ const OrderList: React.FC = () => {
...
@@ -154,8 +154,8 @@ const OrderList: React.FC = () => {
<
BasicPage
>
<
BasicPage
>
<
div
className=
"analy-content"
>
<
div
className=
"analy-content"
>
<
Form
{
...
formItemLayout
}
form=
{
form
}
onFinish=
{
onFinish
}
>
<
Form
{
...
formItemLayout
}
form=
{
form
}
onFinish=
{
onFinish
}
>
<
Row
{
...
{
gutter
:
{
xs
:
8,
sm
:
16,
md
:
24
}
}}
>
<
div
className=
"operate-content"
>
<
Col
span=
"6
"
>
<
div
className=
"form-item
"
>
<
FormItem
label=
"已购课程名称:"
name=
"class_name"
>
<
FormItem
label=
"已购课程名称:"
name=
"class_name"
>
<
Input
<
Input
placeholder=
"请输入"
placeholder=
"请输入"
...
@@ -164,8 +164,8 @@ const OrderList: React.FC = () => {
...
@@ -164,8 +164,8 @@ const OrderList: React.FC = () => {
}
}
}
}
/>
/>
</
FormItem
>
</
FormItem
>
</
Col
>
</
div
>
<
Col
span=
"6
"
>
<
div
className=
"form-item
"
>
<
FormItem
label=
"用户姓名:"
name=
"userName"
>
<
FormItem
label=
"用户姓名:"
name=
"userName"
>
<
Input
<
Input
placeholder=
"请输入"
placeholder=
"请输入"
...
@@ -174,8 +174,8 @@ const OrderList: React.FC = () => {
...
@@ -174,8 +174,8 @@ const OrderList: React.FC = () => {
}
}
}
}
/>
/>
</
FormItem
>
</
FormItem
>
</
Col
>
</
div
>
<
Col
span=
"6
"
>
<
div
className=
"form-item
"
>
<
FormItem
label=
"下单时间:"
name=
"dates"
>
<
FormItem
label=
"下单时间:"
name=
"dates"
>
<
RangePicker
<
RangePicker
locale=
{
locale
}
locale=
{
locale
}
...
@@ -184,22 +184,8 @@ const OrderList: React.FC = () => {
...
@@ -184,22 +184,8 @@ const OrderList: React.FC = () => {
}
}
}
}
/>
/>
</
FormItem
>
</
FormItem
>
</
Col
>
</
div
>
</
Row
>
<
div
className=
"search-group"
>
<
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'
}
}
>
<
Form
.
Item
>
<
Form
.
Item
>
<
Button
<
Button
type=
"primary"
type=
"primary"
...
@@ -207,13 +193,24 @@ const OrderList: React.FC = () => {
...
@@ -207,13 +193,24 @@ const OrderList: React.FC = () => {
style=
{
{
marginRight
:
'12px'
}
}
style=
{
{
marginRight
:
'12px'
}
}
>
>
查询
查询
</
Button
>
</
Button
>
<
Button
htmlType=
"button"
onClick=
{
resetData
}
>
<
Button
htmlType=
"button"
onClick=
{
resetData
}
>
重置
重置
</
Button
>
</
Button
>
</
Form
.
Item
>
</
Form
.
Item
>
</
Col
>
</
div
>
</
Row
>
</
div
>
<
div
className=
"export"
>
<
Button
type=
"primary"
style=
{
{
marginRight
:
'30px'
}
}
onClick=
{
download
}
>
导出订单信息表
</
Button
>
</
div
>
</
Form
>
</
Form
>
</
div
>
</
div
>
<
List
<
List
...
...
src/pages/orderList/list.tsx
View file @
b4997d7c
import
React
from
'react'
;
import
React
from
'react'
;
import
{
Table
}
from
'antd'
;
import
{
Table
}
from
'antd'
;
import
{
ColumnsType
}
from
'antd/es/table'
;
import
tableColumnsSetting
from
'./tableColumnsSetting'
import
tableColumnsSetting
from
'./tableColumnsSetting'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment