|
@@ -27,13 +27,14 @@ const BannerEdit = (props) => {
|
27
|
27
|
|
28
|
28
|
return (
|
29
|
29
|
<PageContainer
|
30
|
|
- header={{
|
31
|
|
- extra: [
|
32
|
|
- <Button key="1" onClick={() => history.go('-1')}>
|
33
|
|
- 返回
|
34
|
|
- </Button>,
|
35
|
|
- ],
|
36
|
|
- }}>
|
|
30
|
+ header={{
|
|
31
|
+ extra: [
|
|
32
|
+ <Button key="1" onClick={() => history.go('-1')}>
|
|
33
|
+ 返回
|
|
34
|
+ </Button>,
|
|
35
|
+ ],
|
|
36
|
+ }}
|
|
37
|
+ >
|
37
|
38
|
<Container loading={loading}>
|
38
|
39
|
{/* <div style={{ textAlign: 'right' }}>
|
39
|
40
|
{' '}
|
|
@@ -41,20 +42,21 @@ const BannerEdit = (props) => {
|
41
|
42
|
</div> */}
|
42
|
43
|
|
43
|
44
|
<Card bordered={false}>
|
44
|
|
- {/* <div style={{ display: 'flex' }}>
|
45
|
|
- <div>
|
46
|
|
- <Image src={data.avatar} width={200}></Image>
|
47
|
|
- </div> */}
|
|
45
|
+ <div style={{ display: 'flex' }}>
|
|
46
|
+ <div style={{ marginRight: 40 }}>
|
|
47
|
+ {/* <Avatar src={data.avatar} size="large" /> */}
|
|
48
|
+ <Image src={data.avatar} preview={false} width={120}></Image>
|
|
49
|
+ </div>
|
48
|
50
|
|
49
|
51
|
<Descriptions title="学生信息" style={{ marginBottom: 32 }}>
|
50
|
52
|
<Descriptions.Item label="姓名">{data.name}</Descriptions.Item>
|
51
|
|
- <Descriptions.Item label="性别">{data.sex}</Descriptions.Item>
|
52
|
|
- <Descriptions.Item label="积分">{data.createDate}</Descriptions.Item>
|
|
53
|
+ <Descriptions.Item label="性别">{data.sex === 1 ? '男':'女'}</Descriptions.Item>
|
|
54
|
+ <Descriptions.Item label="积分">{data.personData?.pointNum}</Descriptions.Item>
|
53
|
55
|
<Descriptions.Item label="微信昵称">{data.nickName}</Descriptions.Item>
|
54
|
56
|
<Descriptions.Item label="联系方式">{data.phone}</Descriptions.Item>
|
55
|
57
|
<Descriptions.Item label="邮箱">{data.email}</Descriptions.Item>
|
56
|
58
|
</Descriptions>
|
57
|
|
- {/* </div> */}
|
|
59
|
+ </div>
|
58
|
60
|
|
59
|
61
|
<Divider style={{ marginBottom: 32 }} />
|
60
|
62
|
<Descriptions title="学校信息" style={{ marginBottom: 32 }}>
|