|
@@ -1,35 +1,22 @@
|
1
|
1
|
import React from 'react'
|
2
|
|
-import { Button } from 'antd'
|
3
|
|
-import Zmage from 'react-zmage'
|
|
2
|
+import { Col, Row, Button } from 'antd'
|
|
3
|
+import ZmageImg from '../../../components/ZmageImg/ZmageImg'
|
4
|
4
|
|
5
|
5
|
function body(props) {
|
6
|
6
|
return (
|
7
|
7
|
<>
|
8
|
|
- <Zmage
|
9
|
|
- style={{ width: '300px', height: '400px' }}
|
10
|
|
- src={props.src}
|
11
|
|
- // alt="0"
|
12
|
|
- backdrop="linear-gradient(90deg, rgba(86,81,81,0.7) 0%, rgba(86,81,81, 0.7) 100%)"
|
13
|
|
- radius={5}
|
14
|
|
- edge={20}
|
15
|
|
- animate={{
|
16
|
|
- flip: 'fade',
|
17
|
|
- }}
|
18
|
|
- controller={{
|
19
|
|
- // 关闭按钮
|
20
|
|
- close: false,
|
21
|
|
- // 缩放按钮
|
22
|
|
- zoom: false,
|
23
|
|
- // 下载按钮
|
24
|
|
- download: false,
|
25
|
|
- // 旋转按钮
|
26
|
|
- rotate: false,
|
27
|
|
- // 翻页按钮
|
28
|
|
- flip: true,
|
29
|
|
- // 多页指示
|
30
|
|
- pagination: true,
|
31
|
|
- }}
|
32
|
|
- />
|
|
8
|
+ <div style={{ background: '#ECECEC', padding: '30px' }}>
|
|
9
|
+ <Row gutter={16}>
|
|
10
|
+ <Col span={6}>
|
|
11
|
+ <ZmageImg style={{ width: '300px', height: '400px' }} src="https://estateagents.oss-cn-shanghai.aliyuncs.com/miniapp/upload/images/1571303731819-1.jpg" />
|
|
12
|
+ </Col>
|
|
13
|
+ </Row>
|
|
14
|
+ </div>
|
|
15
|
+ <div style={{ marginTop: '10px', display: 'flex', justifyContent: 'center' }}>
|
|
16
|
+ <Button type="primary">通过</Button>
|
|
17
|
+
|
|
18
|
+ <Button>不通过</Button>
|
|
19
|
+ </div>
|
33
|
20
|
</>
|
34
|
21
|
)
|
35
|
22
|
}
|