@cniot/android-pda-components 0.2.30 → 0.2.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/build/assets/index.51a8714a.css +1 -0
  2. package/build/assets/{index.96f23a3d.js → index.7a87ca33.js} +16 -16
  3. package/build/index.html +2 -2
  4. package/doc/index.jsx +3 -2
  5. package/es/index.cjs.js +1 -1
  6. package/es/index.es.js +11 -5
  7. package/es/style.css +1 -1
  8. package/package.json +1 -1
  9. package/build/assets/index.248cb4f2.css +0 -1
  10. package/packages/AppList/doc.jsx +0 -138
  11. package/packages/AppList/index.jsx +0 -33
  12. package/packages/AppList/index.less +0 -52
  13. package/packages/BaseLayout/BarcodeScan.jsx +0 -88
  14. package/packages/BaseLayout/BaseLayoutContainer.jsx +0 -208
  15. package/packages/BaseLayout/RfidOnce.jsx +0 -106
  16. package/packages/BaseLayout/RfidScan.jsx +0 -118
  17. package/packages/BaseLayout/doc.jsx +0 -177
  18. package/packages/BaseLayout/index.jsx +0 -52
  19. package/packages/BaseLayout/index.less +0 -47
  20. package/packages/Button/doc.jsx +0 -62
  21. package/packages/Button/index.jsx +0 -27
  22. package/packages/Button/index.less +0 -62
  23. package/packages/Confirm/doc.jsx +0 -147
  24. package/packages/Confirm/index.jsx +0 -71
  25. package/packages/Confirm/index.less +0 -55
  26. package/packages/Header/doc.jsx +0 -155
  27. package/packages/Header/index.jsx +0 -184
  28. package/packages/Header/index.less +0 -68
  29. package/packages/InfoCard/doc.jsx +0 -244
  30. package/packages/InfoCard/index.jsx +0 -67
  31. package/packages/InfoCard/index.less +0 -111
  32. package/packages/List/doc.jsx +0 -89
  33. package/packages/List/index.jsx +0 -54
  34. package/packages/List/index.less +0 -43
  35. package/packages/Overlay/doc.jsx +0 -103
  36. package/packages/Overlay/index.jsx +0 -42
  37. package/packages/Overlay/index.less +0 -28
  38. package/packages/PdaActionSheet/doc.jsx +0 -193
  39. package/packages/PdaActionSheet/index.jsx +0 -44
  40. package/packages/PdaActionSheet/index.less +0 -65
  41. package/packages/PdaDistanceCard/doc.jsx +0 -62
  42. package/packages/PdaDistanceCard/index.jsx +0 -35
  43. package/packages/PdaDistanceCard/index.less +0 -42
  44. package/packages/PdaFinishCard/doc.jsx +0 -111
  45. package/packages/PdaFinishCard/index.jsx +0 -62
  46. package/packages/PdaFinishCard/index.less +0 -62
  47. package/packages/PdaInfiniteScroll/doc.jsx +0 -121
  48. package/packages/PdaInfiniteScroll/index.jsx +0 -114
  49. package/packages/PdaInfiniteScroll/index.less +0 -12
  50. package/packages/PdaInfiniteScroll/utils.jsx +0 -25
  51. package/packages/PdaSteps/PdaStep/index.jsx +0 -38
  52. package/packages/PdaSteps/PdaStep/index.less +0 -70
  53. package/packages/PdaSteps/PdaSteps/index.jsx +0 -33
  54. package/packages/PdaSteps/PdaSteps/index.less +0 -0
  55. package/packages/PdaSteps/doc.jsx +0 -131
  56. package/packages/PdaSteps/index.jsx +0 -5
  57. package/packages/PdaTitle/doc.jsx +0 -102
  58. package/packages/PdaTitle/index.jsx +0 -51
  59. package/packages/PdaTitle/index.less +0 -65
  60. package/packages/Presentation/doc.jsx +0 -72
  61. package/packages/Presentation/index.jsx +0 -25
  62. package/packages/Presentation/index.less +0 -31
  63. package/packages/SelectCard/doc.jsx +0 -57
  64. package/packages/SelectCard/index.jsx +0 -13
  65. package/packages/SelectCard/index.less +0 -30
  66. package/packages/SimpleCard/doc.jsx +0 -59
  67. package/packages/SimpleCard/index.jsx +0 -13
  68. package/packages/SimpleCard/index.less +0 -38
  69. package/packages/SimpleCardBlock/doc.jsx +0 -77
  70. package/packages/SimpleCardBlock/index.jsx +0 -43
  71. package/packages/SimpleCardBlock/index.less +0 -26
  72. package/packages/SubCard/doc.jsx +0 -63
  73. package/packages/SubCard/index.jsx +0 -28
  74. package/packages/SubCard/index.less +0 -64
  75. package/packages/Tag/doc.jsx +0 -47
  76. package/packages/Tag/index.jsx +0 -12
  77. package/packages/Tag/index.less +0 -22
  78. package/packages/TaskCard/doc.jsx +0 -151
  79. package/packages/TaskCard/index.jsx +0 -65
  80. package/packages/TaskCard/index.less +0 -101
  81. package/packages/Toast/doc.jsx +0 -112
  82. package/packages/Toast/index.jsx +0 -7
  83. package/packages/Toast/index.less +0 -23
  84. package/packages/Toast/methods.jsx +0 -77
  85. package/packages/Toast/toast.jsx +0 -96
  86. package/packages/WakeKeyborard/doc.jsx +0 -170
  87. package/packages/WakeKeyborard/index.jsx +0 -61
  88. package/packages/WakeKeyborard/index.less +0 -55
  89. package/packages/WakeKeyborard/keyborard.jsx +0 -61
  90. package/packages/doc.jsx +0 -19
  91. package/packages/global.less +0 -7
  92. package/packages/index.jsx +0 -60
  93. package/packages/index.less +0 -3
  94. package/packages/pageflow-system-pages/alert/doc.jsx +0 -70
  95. package/packages/pageflow-system-pages/alert/index.jsx +0 -22
  96. package/packages/pageflow-system-pages/confirm/doc.jsx +0 -118
  97. package/packages/pageflow-system-pages/confirm/index.jsx +0 -31
  98. package/packages/pageflow-system-pages/debug/index.jsx +0 -27
  99. package/packages/pageflow-system-pages/debug/index.less +0 -5
  100. package/packages/pageflow-system-pages/index.jsx +0 -38
  101. package/packages/pageflow-system-pages/loading/index.jsx +0 -37
  102. package/packages/pageflow-system-pages/not-found/index.jsx +0 -12
  103. package/packages/pageflow-system-pages/not-found/index.less +0 -26
  104. package/packages/pageflow-system-pages/prompt/doc.jsx +0 -95
  105. package/packages/pageflow-system-pages/prompt/index.jsx +0 -43
  106. package/packages/pageflow-system-pages/prompt/index.less +0 -44
  107. package/packages/pageflow-system-pages/start/index.jsx +0 -28
  108. package/packages/pageflow-system-pages/start/index.less +0 -12
  109. package/packages/pageflow-system-pages/toast/doc.jsx +0 -76
  110. package/packages/pageflow-system-pages/toast/index.jsx +0 -42
  111. package/packages/utils/index.js +0 -56
  112. package/packages/variable.less +0 -4
@@ -1,193 +0,0 @@
1
- import React, { useState } from "react";
2
- import ActionSheet from "./index";
3
- import Button from "../Button"
4
- export default function () {
5
- const [visible, setVisible] = useState(false);
6
- return (
7
- <div>
8
- <h1>ActionSheet</h1>
9
- <p>弹窗组件</p>
10
- <h2>示例</h2>
11
- <div className="light-block">
12
- <div style={{ height: "600px", width: "300px", position: "relative", backgroundColor: "#fff", display: "flex", alignItems: "flex-end", overflow: "hidden" }}>
13
- <Button type="dark" style={{ margin: '12px' }} onClick={() => { setVisible(!visible) }}>切换模式</Button>
14
- <ActionSheet
15
- visible={visible}
16
- infiniteScroll={{
17
- hasMore: true,
18
- loadMore: () => {console.log("loadMore!")}
19
- }}
20
- actions={[
21
- {
22
- key: "total",
23
- title: "切换为整箱识别",
24
- onClick: () => { }
25
- },
26
- {
27
- key: "seperate",
28
- title: "切换为散箱识别",
29
- onClick: () => { }
30
- },
31
- {
32
- key: "cancel",
33
- title: "取消",
34
- onClick: () => {
35
- setVisible(false)
36
- }
37
- },
38
- {
39
- key: "total",
40
- title: "切换为整箱识别",
41
- onClick: () => { }
42
- },
43
- {
44
- key: "seperate",
45
- title: "切换为散箱识别",
46
- onClick: () => { }
47
- },
48
- {
49
- key: "cancel",
50
- title: "取消",
51
- onClick: () => {
52
- setVisible(false)
53
- }
54
- },
55
- {
56
- key: "total",
57
- title: "切换为整箱识别",
58
- onClick: () => { }
59
- },
60
- {
61
- key: "seperate",
62
- title: "切换为散箱识别",
63
- onClick: () => { }
64
- },
65
- {
66
- key: "cancel",
67
- title: "取消",
68
- onClick: () => {
69
- setVisible(false)
70
- }
71
- },
72
- {
73
- key: "total",
74
- title: "切换为整箱识别",
75
- onClick: () => { }
76
- },
77
- {
78
- key: "seperate",
79
- title: "切换为散箱识别",
80
- onClick: () => { }
81
- },
82
- {
83
- key: "cancel",
84
- title: "取消",
85
- onClick: () => {
86
- setVisible(false)
87
- }
88
- },
89
- ]}
90
- stickyToBottomActions={[
91
- {
92
- key: "cancel",
93
- title: "取消",
94
- onClick: () => {
95
- setVisible(false)
96
- }
97
- },
98
- {
99
- key: "cancel",
100
- title: "取消",
101
- onClick: () => {
102
- setVisible(false)
103
- }
104
- },
105
- ]}
106
- />
107
- </div>
108
- </div>
109
- <code className="code">{`
110
- <div style={{height: "600px", width: "300px", position: "relative", backgroundColor: "#fff", display: "flex", alignItems: "flex-end"}}>
111
- <Button type="dark" style={{margin: '12px'}} onClick={() => {setVisible(!visible)}}>切换模式</Button>
112
- <ActionSheet
113
- visible = {visible}
114
- actions = {[{
115
- key: "total",
116
- title: "切换为整箱识别",
117
- onClick: () => {}
118
- }, {
119
- key: "seperate",
120
- title: "切换为散箱识别",
121
- onClick: () => {}
122
- }, {
123
- key: "cancel",
124
- title: "取消",
125
- onClick: () => {
126
- setVisible(false)
127
- }
128
- }]}
129
- infiniteScroll={{
130
- hasMore: true,
131
- loadMore: () => {console.log("loadMore!")}
132
- }}
133
- stickyToBottomActions={[
134
- {
135
- key: "cancel",
136
- title: "取消",
137
- onClick: () => {
138
- setVisible(false)
139
- }
140
- },
141
- {
142
- key: "cancel",
143
- title: "取消",
144
- onClick: () => {
145
- setVisible(false)
146
- }
147
- },
148
- ]}
149
- />
150
- `}</code>
151
- <h2>参数</h2>
152
- <table className="pure-table pure-table-bordered">
153
- <thead>
154
- <tr>
155
- <th>属性</th>
156
- <th>说明</th>
157
- <th>类型</th>
158
- <th>默认值</th>
159
- </tr>
160
- </thead>
161
- <tbody>
162
- <tr>
163
- <td>visible</td>
164
- <td>是否显示</td>
165
- <td>boolean</td>
166
- <td>false</td>
167
-
168
-
169
- </tr>
170
- <tr>
171
- <td>actions</td>
172
- <td>操作列表</td>
173
- <td>object[]</td>
174
- <td></td>
175
- </tr>
176
- <tr>
177
- <td>stickyToBottomActions</td>
178
- <td>吸底操作列表</td>
179
- <td>object[]</td>
180
- <td></td>
181
- </tr>
182
- <tr>
183
- <td>infiniteScroll</td>
184
- <td>是否下拉加载更多</td>
185
- <td>{JSON.stringify({})}</td>
186
- <td><a href="/#InfiniteScroll">参考 InfiniteScroll</a></td>
187
- </tr>
188
-
189
- </tbody>
190
- </table>
191
- </div>
192
- );
193
- }
@@ -1,44 +0,0 @@
1
- import React, { useState, useEffect } from "react";
2
- import "./index.less";
3
- import classNames from "classnames";
4
- import InfiniteScroll from "../PdaInfiniteScroll";
5
-
6
- export default function ActionSheet(props) {
7
- const { className = "", visible, actions = [], stickyToBottomActions = [], stickyToBottomDirection = 'column', infiniteScroll = null, } = props;
8
-
9
- return (
10
- <div className={classNames({ [className]: true, 'action-sheet': true, 'show': visible })} >
11
- <div className="action-sheet-container">
12
- {/* {
13
- actions.length > 0 ? (
14
-
15
- ) : null
16
- } */}
17
- <div className="action-sheet-body">
18
- {
19
- actions.map((item, index) => {
20
- return <div onClick={() => { item.onClick(item.key) }} className="action-sheet-item" key={index}>{item.title}</div>
21
- })
22
- }
23
- {
24
- infiniteScroll ? (
25
- <InfiniteScroll {...infiniteScroll} />
26
- ) : null
27
- }
28
- </div>
29
- {
30
- stickyToBottomActions.length > 0 ? (
31
- <div className={classNames({"action-sheet-sticky-bottom": true, ['action-sheet-sticky-bottom-' + stickyToBottomDirection]: true})}>
32
- {
33
- stickyToBottomActions.map((item, index) => {
34
- return <div onClick={() => { item.onClick(item.key) }} className="action-sheet-item" key={index}>{item.title}</div>
35
- })
36
- }
37
- </div>
38
- ) : null
39
- }
40
-
41
- </div>
42
- </div>
43
- )
44
- }
@@ -1,65 +0,0 @@
1
- .action-sheet {
2
- position: absolute;
3
- z-index: 1000;
4
- width: 100%;
5
- height: 100%;
6
- background-color: rgba(0, 0, 0, 0.35);
7
- display: none;
8
- .action-sheet-container {
9
- position: absolute;
10
- background-color: #ffffff;
11
- z-index: 1010;
12
- width: 100%;
13
- bottom: 0;
14
- left: 0;
15
- max-height: 80%;
16
- border-radius: 15px * 0.66 15px * 0.66 0 0;
17
- padding-bottom: 16px * 0.66;
18
- display: flex;
19
- flex-direction: column;
20
-
21
- .action-sheet-body {
22
- flex: 1;
23
- overflow-y: auto;
24
- }
25
- .action-sheet-sticky-bottom {
26
- border-top: 2px solid #F2F2F2;
27
- }
28
-
29
- .action-sheet-item {
30
- margin: 16px * 0.66 24px * 0.66 0 24px * 0.66;
31
- background-color: #f3f4f8;
32
- height: 54px;
33
- display: flex;
34
- align-items: center;
35
- justify-content: center;
36
- font-size: 24px;
37
- border-radius: 15px * 0.66;
38
- }
39
-
40
- .action-sheet-sticky-bottom-row {
41
- display: flex;
42
- &>* {
43
- // width: ;
44
- }
45
- }
46
- }
47
-
48
- &.show {
49
- display: block;
50
- .action-sheet-container {
51
- animation: slide-in 0.3s ease-out;
52
- }
53
- }
54
- }
55
-
56
- @keyframes slide-in {
57
- 0% {
58
- transform: translateY(100%);
59
- opacity: 0;
60
- }
61
- 100% {
62
- transform: translateY(0%);
63
- opacity: 1;
64
- }
65
- }
@@ -1,62 +0,0 @@
1
- import React from "react";
2
- import DistanceCard from "./index";
3
- export default function () {
4
- return (
5
- <div>
6
- <h1>DistanceCard</h1>
7
- <p>距离组件</p>
8
- <h2>示例</h2>
9
- <div className="light-block" style={{display: 'flex', flexDirection: 'row'}}>
10
- <DistanceCard
11
- title="货物在附近.."
12
- infoText="离目标货距离"
13
- style={{
14
- width: '400px'
15
- }}
16
- percentage={0.56}
17
- />
18
- </div>
19
- <code className="code">{`
20
- <DistanceCard
21
- title="货物在附近.."
22
- infoText="离目标货距离"
23
- style={{
24
- width: '400px'
25
- }}
26
- percentage={0.56}
27
- />
28
- `}</code>
29
- <h2>参数</h2>
30
- <table className="pure-table pure-table-bordered">
31
- <thead>
32
- <tr>
33
- <th>属性</th>
34
- <th>说明</th>
35
- <th>类型</th>
36
- <th>默认值</th>
37
- </tr>
38
- </thead>
39
- <tbody>
40
- <tr>
41
- <td>title</td>
42
- <td>标题</td>
43
- <td>string</td>
44
- <td></td>
45
- </tr>
46
- <tr>
47
- <td>infoText</td>
48
- <td>提示文本</td>
49
- <td>string</td>
50
- <td></td>
51
- </tr>
52
- <tr>
53
- <td>percentage</td>
54
- <td>进度条百分比</td>
55
- <td>number</td>
56
- <td></td>
57
- </tr>
58
- </tbody>
59
- </table>
60
- </div>
61
- );
62
- }
@@ -1,35 +0,0 @@
1
- import React from "react";
2
- import "./index.less";
3
- import classNames from "classnames";
4
-
5
- export default class PdaDistanceCard extends React.Component {
6
- constructor(props) {
7
- super(props);
8
- }
9
-
10
- render() {
11
- const { className, title, infoText, percentage = 0, style={} } = this.props;
12
- const distanceImg= 'https://img.alicdn.com/imgextra/i3/O1CN01EFksWL1DBZCu0H1JH_!!6000000000178-2-tps-21-30.png'
13
- const indictorImg= 'https://img.alicdn.com/imgextra/i1/O1CN01YEhCSg1aObe8UZq7K_!!6000000003320-2-tps-379-17.png'
14
-
15
- return (
16
- <div className={classNames({[className]: true, 'pda-distance-card': true})} style={style}>
17
- <p className="pda-distance-card-highlight">
18
- <span className="pda-distance-card-highlight1">{title}</span>
19
- </p>
20
- <div className="pda-distance-indictor">
21
- <img src={distanceImg} width={20} height={29} />
22
- <p>{infoText}</p>
23
- </div>
24
- <div className="pda-distance-card-progress">
25
- <div className="pda-distance-card-progress-inside" style={{width: `${percentage * 100}%`}}/>
26
- <img className="pda-distance-card-progress-indictor" src={indictorImg} />
27
- </div>
28
- <div className="pda-distance-label">
29
- <p>远</p>
30
- <p>近</p>
31
- </div>
32
- </div>
33
- )
34
- }
35
- }
@@ -1,42 +0,0 @@
1
- .pda-distance-card {
2
- border-radius: 16px;
3
- padding: 36px 16px;
4
- background-color: #fff;
5
- & p {
6
- margin: 0;
7
- font-size: 28px;
8
- color: #738399;
9
- }
10
- .pda-distance-card-highlight {
11
- font-size: 60px;
12
- line-height: 64px;
13
- color: #0091EA;
14
- }
15
- .pda-distance-indictor {
16
- margin-top: 36px;
17
- display: flex;
18
- }
19
- .pda-distance-card-progress {
20
- background-color: #EBECF2;
21
- height: 34px;
22
- border-radius: 6px;
23
- border: 4px solid #D9D9D9;
24
- margin-top: 8px;
25
- position: relative;
26
-
27
- .pda-distance-card-progress-indictor{
28
- position: absolute;
29
- bottom: 0;
30
- left: 5px;
31
- }
32
- .pda-distance-card-progress-inside {
33
- background-color: #0091EA;
34
- height: 26px;
35
- border-radius: 6px 0px 0px 6px;
36
- }
37
- }
38
- .pda-distance-label {
39
- display: flex;
40
- justify-content: space-between;
41
- }
42
- }
@@ -1,111 +0,0 @@
1
- import React from "react";
2
- import FinishCard from "./index";
3
- export default function () {
4
- return (
5
- <div>
6
- <h1>FinishCard</h1>
7
- <p> 完成组件</p>
8
- <h2>示例</h2>
9
- <div className="dark-block" style={{display: 'flex', flexDirection: 'row', position: 'relative', width: 480, height: 800}}>
10
- <FinishCard
11
- title="更换栈板码完成"
12
- isError
13
- infoList={
14
- [
15
- {label: '新栈板码:', content: '234982093'},
16
- {label: '新栈板码:', content: '23498209323498209123'},
17
- {label: '原栈板码:', content: '234982093'},
18
- ]
19
- }
20
- okText="返回首页"
21
- onClick={(isConfirm)=>{
22
- console.log("isConfirm", isConfirm);
23
- }}
24
- />
25
- </div>
26
- <div className="dark-block" style={{display: 'flex', flexDirection: 'row', position: 'relative', width: 480, height: 800}}>
27
- <FinishCard
28
- title="更换栈板码完成更换栈板码完成更换栈板码完成"
29
- infoList={
30
- [
31
- {label: '新栈板码:', content: '234982093'},
32
- {label: '原栈板码:', content: '234982093'},
33
- ]
34
- }
35
- buttonMultiLines
36
- okText="返回首页"
37
- cancelText={<span>返回<br />暂存任务</span>}
38
- onClick={(isConfirm)=>{
39
- console.log("isConfirm", isConfirm);
40
- }}
41
- />
42
- </div>
43
- <code className="code">{`
44
- <FinishCard
45
- title="更换栈板码完成"
46
- infoList={
47
- [
48
- {label: '新栈板码:', content: '234982093'},
49
- {label: '原栈板码:', content: '234982093'},
50
- ]
51
- }
52
- buttonMultiLines
53
- okText="返回首页"
54
- cancelText={<span>返回<br />暂存任务</span>}
55
- onClick={(isConfirm)=>{
56
- console.log("isConfirm", isConfirm);
57
- }}
58
- />
59
- `}</code>
60
- <h2>参数</h2>
61
- <table className="pure-table pure-table-bordered">
62
- <thead>
63
- <tr>
64
- <th>属性</th>
65
- <th>说明</th>
66
- <th>类型</th>
67
- <th>默认值</th>
68
- </tr>
69
- </thead>
70
- <tbody>
71
- <tr>
72
- <td>title</td>
73
- <td>标题</td>
74
- <td>string</td>
75
- <td></td>
76
- </tr>
77
- <tr>
78
- <td>isError</td>
79
- <td>是否异常完成</td>
80
- <td>Boolean</td>
81
- <td>false</td>
82
- </tr>
83
- <tr>
84
- <td>infoList</td>
85
- <td>更多信息</td>
86
- <td>object[]</td>
87
- <td></td>
88
- </tr>
89
- <tr>
90
- <td>okText</td>
91
- <td>确认按钮文本</td>
92
- <td>string</td>
93
- <td>返回首页</td>
94
- </tr>
95
- <tr>
96
- <td>buttonMultiLines</td>
97
- <td>按钮是否多行</td>
98
- <td>boolean</td>
99
- <td>false</td>
100
- </tr>
101
- <tr>
102
- <td>onClick</td>
103
- <td>按钮点击回调</td>
104
- <td>(isConfirm) => </td>
105
- <td></td>
106
- </tr>
107
- </tbody>
108
- </table>
109
- </div>
110
- );
111
- }
@@ -1,62 +0,0 @@
1
- import React from "react";
2
- // import OPInput from "../OPInput";
3
- import "./index.less";
4
- import classNames from "classnames";
5
- import BaseLayout from '../BaseLayout'
6
- import Button from "../Button";
7
- import { playSound } from "../utils";
8
-
9
- export default class PdaFinishCard extends React.Component {
10
- constructor(props) {
11
- super(props);
12
- }
13
- componentDidMount() {
14
- if(this.props.isError) {
15
- playSound('success3');
16
- } else {
17
- playSound('success2');
18
- }
19
- }
20
-
21
- render() {
22
- const { className, title, infoList = [], isError=false, buttonMultiLines = false, style={}, onClick=()=>{}, okText="返回首页", cancelText = null } = this.props;
23
- const footer = (
24
- <Button.Group>
25
- {
26
- cancelText ? <Button style={buttonMultiLines ? {height: "auto", lineHeight: "50px"} : {}} type='dark' onClick={()=> onClick(false)}>{cancelText}</Button> : null
27
- }
28
- <Button type="primary" style={buttonMultiLines ? {height: "auto", lineHeight: "normal"} : {}} onClick={()=> onClick(true)}>{okText}</Button>
29
- </Button.Group>
30
- )
31
-
32
- return (
33
- <BaseLayout
34
- footer={footer}
35
- >
36
- <div className="pda-finish-card-top">
37
- <img
38
- className="pda-finish-card-img"
39
- // width={isError? 370 : 400}
40
- // height={269}
41
- src={isError ? PdaFinishCard.ERROR_SUCCESS : PdaFinishCard.SUCCESS}
42
- />
43
- <p className="pda-finish-card-title">{title}</p>
44
- {
45
- infoList.map((item, index) => {
46
- return (
47
- <p key={index} className="pda-finish-card-list">
48
- <span>{item.label || ''}</span>
49
- <span>{item.content || ''}</span>
50
- </p>
51
- )
52
- })
53
- }
54
- </div>
55
- </BaseLayout>
56
- )
57
- }
58
- }
59
-
60
- // PdaFinishCard.SUCCESS="https://img.alicdn.com/imgextra/i2/O1CN01yYwwSx1uNV0M1gHlQ_!!6000000006025-1-tps-630-436.gif"
61
- PdaFinishCard.SUCCESS="https://img.alicdn.com/imgextra/i3/O1CN01OL2UYg24792knbTtC_!!6000000007343-1-tps-506-415.gif"
62
- PdaFinishCard.ERROR_SUCCESS="https://img.alicdn.com/imgextra/i3/O1CN01p5Oc5t1VMFWtBomQc_!!6000000002638-1-tps-600-456.gif"
@@ -1,62 +0,0 @@
1
- // .pda-finish-card {
2
- // display: flex;
3
- // flex-direction: column;
4
- // align-items: center;
5
- // justify-content: space-between;
6
- // padding: 24px;
7
- // background-color: #000;
8
- // & p {
9
- // margin: 0;
10
- // }
11
- // .pda-finish-card-top{
12
- // display: flex;
13
- // flex-direction: column;
14
- // align-items: center;
15
- // .pda-finish-card-img {
16
- // margin-top: 60px;
17
- // }
18
- // .pda-finish-card-title {
19
- // font-size: 32px;
20
- // color: #fff;
21
- // font-weight: 500;
22
- // margin-bottom: 16px;
23
- // }
24
- // }
25
-
26
- // .pda-finish-card-list {
27
- // margin-top: 16px;
28
- // color: #FFFFFF80;
29
- // font-size: 32px;
30
- // line-height: 32px;
31
- // }
32
- // }
33
- .pda-finish-card-top {
34
- // height: 100%;
35
- display: flex;
36
- flex-direction: column;
37
- align-items: center;
38
- color: white;
39
-
40
- .pda-finish-card-img {
41
- width: 100%;
42
- // margin-top: 100px;
43
- margin: 50px auto 0;
44
- }
45
-
46
- .pda-finish-card-title {
47
- font-size: 50px;
48
- line-height: 50px;
49
- color: #fff;
50
- font-weight: 500;
51
- margin-bottom: 16px;
52
- text-align: center;
53
- }
54
- .pda-finish-card-list {
55
- margin-top: 12px;
56
- // color: #FFFFFF80;
57
- color: #999999;
58
- font-size: 32px;
59
- line-height: 30px;
60
- text-align: center;
61
- }
62
- }