@cniot/android-pda-components 0.2.21 → 0.2.25

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 (109) hide show
  1. package/build/assets/{index.b428d9a3.js → index.44dba996.js} +1 -1
  2. package/build/index.html +1 -1
  3. package/doc/index.jsx +0 -2
  4. package/es/index.cjs.js +7 -0
  5. package/es/index.es.js +2201 -0
  6. package/es/style.css +1 -0
  7. package/package.json +1 -1
  8. package/packages/AppList/doc.jsx +0 -138
  9. package/packages/AppList/index.jsx +0 -33
  10. package/packages/AppList/index.less +0 -52
  11. package/packages/BaseLayout/BarcodeScan.jsx +0 -88
  12. package/packages/BaseLayout/BaseLayoutContainer.jsx +0 -208
  13. package/packages/BaseLayout/RfidOnce.jsx +0 -106
  14. package/packages/BaseLayout/RfidScan.jsx +0 -118
  15. package/packages/BaseLayout/doc.jsx +0 -177
  16. package/packages/BaseLayout/index.jsx +0 -52
  17. package/packages/BaseLayout/index.less +0 -47
  18. package/packages/Button/doc.jsx +0 -62
  19. package/packages/Button/index.jsx +0 -27
  20. package/packages/Button/index.less +0 -62
  21. package/packages/Confirm/doc.jsx +0 -147
  22. package/packages/Confirm/index.jsx +0 -71
  23. package/packages/Confirm/index.less +0 -55
  24. package/packages/Header/doc.jsx +0 -171
  25. package/packages/Header/index.jsx +0 -191
  26. package/packages/Header/index.less +0 -71
  27. package/packages/InfoCard/doc.jsx +0 -244
  28. package/packages/InfoCard/index.jsx +0 -67
  29. package/packages/InfoCard/index.less +0 -111
  30. package/packages/List/doc.jsx +0 -89
  31. package/packages/List/index.jsx +0 -54
  32. package/packages/List/index.less +0 -43
  33. package/packages/Overlay/doc.jsx +0 -103
  34. package/packages/Overlay/index.jsx +0 -42
  35. package/packages/Overlay/index.less +0 -28
  36. package/packages/PdaActionSheet/doc.jsx +0 -193
  37. package/packages/PdaActionSheet/index.jsx +0 -44
  38. package/packages/PdaActionSheet/index.less +0 -65
  39. package/packages/PdaDistanceCard/doc.jsx +0 -62
  40. package/packages/PdaDistanceCard/index.jsx +0 -35
  41. package/packages/PdaDistanceCard/index.less +0 -42
  42. package/packages/PdaFinishCard/doc.jsx +0 -111
  43. package/packages/PdaFinishCard/index.jsx +0 -62
  44. package/packages/PdaFinishCard/index.less +0 -62
  45. package/packages/PdaInfiniteScroll/doc.jsx +0 -121
  46. package/packages/PdaInfiniteScroll/index.jsx +0 -114
  47. package/packages/PdaInfiniteScroll/index.less +0 -12
  48. package/packages/PdaInfiniteScroll/utils.jsx +0 -25
  49. package/packages/PdaSteps/PdaStep/index.jsx +0 -38
  50. package/packages/PdaSteps/PdaStep/index.less +0 -70
  51. package/packages/PdaSteps/PdaSteps/index.jsx +0 -33
  52. package/packages/PdaSteps/PdaSteps/index.less +0 -0
  53. package/packages/PdaSteps/doc.jsx +0 -131
  54. package/packages/PdaSteps/index.jsx +0 -5
  55. package/packages/PdaTitle/doc.jsx +0 -102
  56. package/packages/PdaTitle/index.jsx +0 -51
  57. package/packages/Presentation/doc.jsx +0 -72
  58. package/packages/Presentation/index.jsx +0 -25
  59. package/packages/Presentation/index.less +0 -31
  60. package/packages/SelectCard/doc.jsx +0 -57
  61. package/packages/SelectCard/index.jsx +0 -13
  62. package/packages/SelectCard/index.less +0 -30
  63. package/packages/SimpleCard/doc.jsx +0 -59
  64. package/packages/SimpleCard/index.jsx +0 -13
  65. package/packages/SimpleCard/index.less +0 -38
  66. package/packages/SimpleCardBlock/doc.jsx +0 -77
  67. package/packages/SimpleCardBlock/index.jsx +0 -43
  68. package/packages/SimpleCardBlock/index.less +0 -26
  69. package/packages/SubCard/doc.jsx +0 -63
  70. package/packages/SubCard/index.jsx +0 -28
  71. package/packages/SubCard/index.less +0 -64
  72. package/packages/Tag/doc.jsx +0 -47
  73. package/packages/Tag/index.jsx +0 -12
  74. package/packages/Tag/index.less +0 -22
  75. package/packages/TaskCard/doc.jsx +0 -151
  76. package/packages/TaskCard/index.jsx +0 -65
  77. package/packages/TaskCard/index.less +0 -101
  78. package/packages/Toast/doc.jsx +0 -112
  79. package/packages/Toast/index.jsx +0 -7
  80. package/packages/Toast/index.less +0 -23
  81. package/packages/Toast/methods.jsx +0 -77
  82. package/packages/Toast/toast.jsx +0 -96
  83. package/packages/WakeKeyborard/doc.jsx +0 -170
  84. package/packages/WakeKeyborard/index.jsx +0 -61
  85. package/packages/WakeKeyborard/index.less +0 -55
  86. package/packages/WakeKeyborard/keyborard.jsx +0 -61
  87. package/packages/doc.jsx +0 -19
  88. package/packages/global.less +0 -7
  89. package/packages/index.jsx +0 -60
  90. package/packages/index.less +0 -3
  91. package/packages/pageflow-system-pages/alert/doc.jsx +0 -70
  92. package/packages/pageflow-system-pages/alert/index.jsx +0 -22
  93. package/packages/pageflow-system-pages/confirm/doc.jsx +0 -118
  94. package/packages/pageflow-system-pages/confirm/index.jsx +0 -31
  95. package/packages/pageflow-system-pages/debug/index.jsx +0 -27
  96. package/packages/pageflow-system-pages/debug/index.less +0 -5
  97. package/packages/pageflow-system-pages/index.jsx +0 -38
  98. package/packages/pageflow-system-pages/loading/index.jsx +0 -37
  99. package/packages/pageflow-system-pages/not-found/index.jsx +0 -12
  100. package/packages/pageflow-system-pages/not-found/index.less +0 -26
  101. package/packages/pageflow-system-pages/prompt/doc.jsx +0 -95
  102. package/packages/pageflow-system-pages/prompt/index.jsx +0 -43
  103. package/packages/pageflow-system-pages/prompt/index.less +0 -44
  104. package/packages/pageflow-system-pages/start/index.jsx +0 -28
  105. package/packages/pageflow-system-pages/start/index.less +0 -12
  106. package/packages/pageflow-system-pages/toast/doc.jsx +0 -76
  107. package/packages/pageflow-system-pages/toast/index.jsx +0 -42
  108. package/packages/utils/index.js +0 -56
  109. package/packages/variable.less +0 -4
@@ -1,244 +0,0 @@
1
- import React from "react";
2
- import InfoCard from "./index";
3
- export default function () {
4
- return (
5
- <div>
6
- <h1>InfoCard</h1>
7
- <p>InfoCard</p>
8
- <h2>示例</h2>
9
- {/* const { className, title, highlightInfo, highlightInfoCN, highlightSubInfo, highlightSubInfoCN, boldInfo, infoList = [], style={}, theme='light' } = this.props; */}
10
- <div className="light-block" style={{width:480, display:"block"}} >
11
- <InfoCard
12
- title="待拣件数"
13
- highlightInfo="800"
14
- highlightInfoCN = "件"
15
- highlightSubInfo="/800"
16
- highlightSubInfoCN="件"
17
- percentage={0.64}
18
- boldInfo="加粗显示:512/五厂综包一楼,这是加粗显示的货品名称可能有多行"
19
- infoList={
20
- [
21
- {label: '商品条码', content: '623126388798'},
22
- {label: '截止日期', content: '2022-07-25'},
23
- {label: '产品名称', content: '商品的名称'},
24
- {label: '品号', content: '12398765423'},
25
- ]
26
- }
27
- />
28
- <InfoCard
29
- title="待拣件数"
30
- highlightInfo="800"
31
- highlightInfoCN = "件"
32
- highlightSubInfo="/800"
33
- highlightSubInfoCN="件"
34
- percentage={0.64}
35
- boldInfo="加粗显示:512/五厂综包一楼,这是加粗显示的货品名称可能有多行"
36
- theme='dark'
37
- infoList={
38
- [
39
- {label: '商品条码', content: '623126388798'},
40
- {label: '截止日期', content: '2022-07-25'},
41
- {label: '产品名称', content: '商品的名称'},
42
- {label: '品号', content: '12398765423'},
43
- ]
44
- }
45
- />
46
- </div>
47
- <code className="code">{`
48
- <InfoCard
49
- title="待拣件数"
50
- highlightInfo="800"
51
- highlightInfoCN = "件"
52
- highlightSubInfo="/800"
53
- highlightSubInfoCN="件"
54
- percentage={0.64}
55
- boldInfo="加粗显示:512/五厂综包一楼,这是加粗显示的货品名称可能有多行"
56
- infoList={
57
- [
58
- {label: '商品条码', content: '623126388798'},
59
- {label: '截止日期', content: '2022-07-25'},
60
- {label: '产品名称', content: '商品的名称'},
61
- {label: '品号', content: '12398765423'},
62
- ]
63
- }
64
- />`}
65
- </code>
66
-
67
- <div className="light-block" style={{width:480, display:"block"}}>
68
- <InfoCard
69
- title="待拣件数"
70
- highlightInfo="800"
71
- highlightInfoCN = "件"
72
- highlightSubInfo="/800"
73
- highlightSubInfoCN="件"
74
- tagText="少货2"
75
- boldInfo="加粗显示:512/五厂综包一楼,这是加粗显示的货品名称可能有多行"
76
- theme='dark'
77
- infoList={
78
- [
79
- {label: '商品条码', content: '623126388798'},
80
- {label: '截止日期', content: '2022-07-25'},
81
- {label: '产品名称', content: '商品的名称'},
82
- {label: '品号', content: '12398765423'},
83
- ]
84
- }
85
- />
86
- </div>
87
- <code className="code">{`
88
- <InfoCard
89
- title="待拣件数"
90
- highlightInfo="800"
91
- highlightInfoCN = "件"
92
- highlightSubInfo="/800"
93
- highlightSubInfoCN="件"
94
- tagText="少货2"
95
- boldInfo="加粗显示:512/五厂综包一楼,这是加粗显示的货品名称可能有多行"
96
- theme='dark'
97
- infoList={
98
- [
99
- {label: '商品条码', content: '623126388798'},
100
- {label: '截止日期', content: '2022-07-25'},
101
- {label: '产品名称', content: '商品的名称'},
102
- {label: '品号', content: '12398765423'},
103
- ]
104
- }
105
- />`}
106
- </code>
107
- <div className="light-block" style={{width:480, display:"block"}}>
108
- <InfoCard
109
- title="漏扫箱数/识别总箱数"
110
- highlightInfo="0"
111
- highlightSubInfo="/40"
112
- infoImage={InfoCard.IMAGE_1}
113
- />
114
- </div>
115
- <code className="code">{`
116
- <InfoCard
117
- title="漏扫箱数/识别总箱数"
118
- highlightInfo="0"
119
- highlightSubInfo="/40"
120
- infoImage={InfoCard.IMAGE_1}
121
- />`}
122
- </code>
123
- <div className="light-block" style={{width:480, display:"block"}}>
124
- <InfoCard
125
- title="识别箱数(CS)"
126
- highlightInfo="0"
127
- highlightSubInfo="/50"
128
- subTitle="识别个数(EA)"
129
- subHighlightInfo="40"
130
- subHighlightSubInfo="/50"
131
- infoImage={InfoCard.IMAGE_1}
132
- />
133
- </div>
134
- <code className="code">{`
135
- <InfoCard
136
- title="识别箱数(CS)"
137
- highlightInfo="0"
138
- highlightSubInfo="/50"
139
- subTitle="识别个数(EA)"
140
- subHighlightInfo="40"
141
- subHighlightSubInfo="/50"
142
- infoImage={InfoCard.IMAGE_1}
143
- />`}
144
- </code>
145
- <h2>参数</h2>
146
- <table className="pure-table pure-table-bordered">
147
- <thead>
148
- <tr>
149
- <th>属性</th>
150
- <th>说明</th>
151
- <th>类型</th>
152
- <th>默认值</th>
153
- </tr>
154
- </thead>
155
- <tbody>
156
- <tr>
157
- <td>title</td>
158
- <td>标题</td>
159
- <td>string</td>
160
- <td></td>
161
- </tr>
162
- <tr>
163
- <td>highlightInfo</td>
164
- <td>高亮文本</td>
165
- <td>string</td>
166
- <td></td>
167
- </tr>
168
- <tr>
169
- <td>highlightInfoCN</td>
170
- <td>高亮文本(中文)</td>
171
- <td>string</td>
172
- <td></td>
173
- </tr>
174
- <tr>
175
- <td>highlightSubInfo</td>
176
- <td>高亮副文本</td>
177
- <td>string</td>
178
- <td></td>
179
- </tr>
180
- <tr>
181
- <td>highlightSubInfoCN</td>
182
- <td>高亮副文本(中文)</td>
183
- <td>string</td>
184
- <td></td>
185
- </tr>
186
- <tr>
187
- <td>subTitle</td>
188
- <td>副标题</td>
189
- <td>string</td>
190
- <td></td>
191
- </tr>
192
- <tr>
193
- <td>subHighlightInfo</td>
194
- <td>副高亮文本</td>
195
- <td>string</td>
196
- <td></td>
197
- </tr>
198
- <tr>
199
- <td>subHighlightSubInfo</td>
200
- <td>副高亮副文本</td>
201
- <td>string</td>
202
- <td></td>
203
- </tr>
204
- <tr>
205
- <td>boldInfo</td>
206
- <td>加粗文本</td>
207
- <td>string</td>
208
- <td></td>
209
- </tr>
210
- <tr>
211
- <td>theme</td>
212
- <td>主题</td>
213
- <td>string: light | dark</td>
214
- <td>light</td>
215
- </tr>
216
- <tr>
217
- <td>infoList</td>
218
- <td>更多信息</td>
219
- <td>object[]</td>
220
- <td></td>
221
- </tr>
222
- <tr>
223
- <td>percentage</td>
224
- <td>进度条百分比,传值时显示进度条</td>
225
- <td>number</td>
226
- <td></td>
227
- </tr>
228
- <tr>
229
- <td>tagText</td>
230
- <td> 右上角 tag 文本,传值时显示 tag</td>
231
- <td>string</td>
232
- <td></td>
233
- </tr>
234
- <tr>
235
- <td>infoImage</td>
236
- <td>左侧图片地址</td>
237
- <td>string</td>
238
- <td>可以使用 InfoCard.IMAGE_1 1张内置图片</td>
239
- </tr>
240
- </tbody>
241
- </table>
242
- </div>
243
- );
244
- }
@@ -1,67 +0,0 @@
1
- import React from "react";
2
- // import OPInput from "../OPInput";
3
- import "./index.less";
4
- import classNames from "classnames";
5
-
6
- export default class PdaInfoCard extends React.Component {
7
- constructor(props) {
8
- super(props);
9
- }
10
-
11
- render() {
12
- const { className = '', title, highlightInfo, subTitle, subHighlightInfo, subHighlightSubInfo, infoImage, tagText, highlightInfoCN, highlightSubInfo, percentage, highlightSubInfoCN, boldInfo, infoList = [], style={}, theme='light' } = this.props;
13
- return (
14
- <div className={classNames({[className]: true, 'pda-info-card': true, 'pda-info-card-dark': theme === 'dark'})} style={style}>
15
- <div className="pda-info-card-title-section">
16
- <div className="pda-info-card-title">{title}</div>
17
- {
18
- tagText ? <div className="pda-info-card-tag">
19
- <div className="pda-info-card-tag-text">{tagText}</div>
20
- </div> : null
21
- }
22
- </div>
23
- <div className="pda-info-card-highlight-section">
24
- <div>
25
- <div className="pda-info-card-highlight">
26
- <span className="pda-info-card-highlight1">{highlightInfo}</span>
27
- <span className="pda-info-card-highlight1CN">{highlightInfoCN}</span>
28
- <span className="pda-info-card-highlight2">{highlightSubInfo}</span>
29
- <span className="pda-info-card-highlight2CN">{highlightSubInfoCN}</span>
30
- </div>
31
- {
32
- subTitle ? <div className="pda-info-card-title">{subTitle}</div> : null
33
- }
34
- {
35
- subHighlightInfo ? <div className="pda-info-card-highlight">
36
- <span className="pda-info-card-highlight1">{subHighlightInfo}</span>
37
- <span className="pda-info-card-highlight2">{subHighlightSubInfo}</span>
38
- </div> : null
39
- }
40
- </div>
41
- {
42
- infoImage ? <img src={infoImage} width={150} height={150} /> : null
43
- }
44
- </div>
45
- {
46
- percentage !== undefined ? <div className="pda-info-card-progress">
47
- <div className="pda-info-card-progress-inside" style={{width: `${percentage * 100}%`}}/>
48
- </div> : null
49
- }
50
- <div className="pda-info-card-bold">{boldInfo}</div>
51
- {
52
- infoList.map((item, index) => {
53
- return (
54
- <div key={index} className="pda-info-card-list">
55
- <span>{item.label || ''}</span>
56
- &nbsp;&nbsp;
57
- <span>{item.content || ''}</span>
58
- </div>
59
- )
60
- })
61
- }
62
- </div>
63
- )
64
- }
65
- }
66
-
67
- PdaInfoCard.IMAGE_1 = "https://img.alicdn.com/imgextra/i2/O1CN01qYuxip1ME9zhdL9XG_!!6000000001402-2-tps-150-150.png";
@@ -1,111 +0,0 @@
1
- .pda-info-card {
2
- border-radius: 16px;
3
- padding: 16px;
4
- background-color: white;
5
- word-break: break-word;
6
- .divda-info-card-title{
7
- font-size: 32px;
8
- line-height: 32px;
9
- }
10
- .pda-info-card-title-section {
11
- display: flex;
12
- flex-direction: row;
13
- justify-content: space-between;
14
- align-items: center;
15
- .pda-info-card-title {
16
- font-size: 32px;
17
- color: #666666;
18
- // margin: 0;
19
- // margin-bottom: 16px;
20
- }
21
- .pda-info-card-tag {
22
- display: flex;
23
- align-items: center;
24
- justify-content: center;
25
- height: 36px;
26
- padding: 0 8px;
27
- background-color: #FFCC00;
28
- border-radius: 8px;
29
- }
30
- }
31
-
32
- .pda-info-card-highlight-section{
33
- display: flex;
34
- flex-direction: row;
35
- justify-content: space-between;
36
- align-items: flex-start;
37
- .pda-info-card-title {
38
- font-size: 32px;
39
- color: #666666;
40
- margin-top: 20px;
41
- }
42
- .pda-info-card-highlight {
43
- font-size: 80px;
44
- line-height: 64px;
45
- color: #0091EA;
46
- font-weight: bold;
47
- // margin: 0;
48
- // vertical-align: text-bottom;
49
-
50
- display: flex;
51
- flex-direction: row;
52
- align-items: flex-end;
53
-
54
- .pda-info-card-highlight1CN {
55
- font-size: 64px;
56
- }
57
- .pda-info-card-highlight2 {
58
- font-size: 50px;
59
- line-height: 40px;
60
- }
61
- .pda-info-card-highlight2CN {
62
- font-size: 40px;
63
- line-height: 40px;
64
- }
65
- }
66
- }
67
- .pda-info-card-bold {
68
- font-weight: bold;
69
- font-size: 40px;
70
- line-height: 48px;
71
- // margin: 0;
72
- color: black;
73
- margin-top: 16px;
74
- }
75
- .pda-info-card-list {
76
- margin-top: 12px;
77
- color: #4A4A4A;
78
- font-size: 32px;
79
- line-height: 32px;
80
- word-break: break-all;
81
- }
82
- }
83
- .pda-info-card-progress {
84
- background-color: #F3F4F8;
85
- height: 12px;
86
- border-radius: 6px;
87
- margin-top: 16px;
88
- .pda-info-card-progress-inside {
89
- background-color: #0091EA;
90
- height: 12px;
91
- border-radius: 6px;
92
- }
93
- }
94
-
95
-
96
- .pda-info-card.pda-info-card-dark {
97
- background-color: black;
98
- .pda-info-card-title {
99
- color: #999999;
100
- }
101
-
102
- .pda-info-card-highlight {
103
- color: #FFFFFF;
104
- }
105
- .pda-info-card-bold {
106
- color: #FFFFFF;
107
- }
108
- .pda-info-card-list {
109
- color: #999999;
110
- }
111
- }
@@ -1,89 +0,0 @@
1
- import React from "react";
2
- import List from "./index";
3
- const dataSource = [{
4
- title: "hello world",
5
- subTitle:"sub title",
6
- extra:"11111",
7
- tags:[1,2,3,4]
8
- },{
9
- title: "hello world",
10
- subTitle:"sub title",
11
- extra:"",
12
- tags:[1,2,3,4]
13
- },{
14
- title: "hello world",
15
- subTitle:"sub title",
16
- },{
17
- title: "hello world",
18
- subTitle:"sub title",
19
- extra:"11111",
20
- }];
21
-
22
- export default function () {
23
- return (
24
- <div>
25
- <h1>List</h1>
26
- <p>列表组件,通常要配合不同的 List Item 来使用</p>
27
- <h2>示例</h2>
28
- <div className="light-block">
29
- <List
30
- onClickItem={console.log}
31
- dataSource={dataSource}
32
- >
33
- </List>
34
- </div>
35
- <code className="code">{`
36
- const dataSource = [{
37
- title: "hello world",
38
- subTitle:"sub title",
39
- extra:"11111",
40
- tags:[1,2,3,4]
41
- },{
42
- title: "hello world",
43
- subTitle:"sub title",
44
- extra:"",
45
- tags:[1,2,3,4]
46
- },{
47
- title: "hello world",
48
- subTitle:"sub title",
49
- },{
50
- title: "hello world",
51
- subTitle:"sub title",
52
- extra:"11111",
53
- }];
54
- <List
55
- onClickItem={console.log}
56
- tabIndex={0}
57
- dataSource={dataSource}
58
- >
59
- </List>
60
- `}</code>
61
-
62
- <h2>List</h2>
63
- <table className="pure-table pure-table-bordered">
64
- <thead>
65
- <tr>
66
- <th>属性</th>
67
- <th>说明</th>
68
- <th>类型</th>
69
- <th>默认值</th>
70
- </tr>
71
- </thead>
72
- <tbody>
73
- <tr>
74
- <td>onClickItem</td>
75
- <td>Item 点击回调,参数 dataSource[i]</td>
76
- <td>Function</td>
77
- <td>-</td>
78
- </tr>
79
- <tr>
80
- <td>dataSource</td>
81
- <td>{`Array({title, subTitle, extra, tags})`}</td>
82
- <td>Array</td>
83
- <td>-</td>
84
- </tr>
85
- </tbody>
86
- </table>
87
- </div>
88
- );
89
- }
@@ -1,54 +0,0 @@
1
- import React from "react";
2
- import "./index.less";
3
-
4
- function empty(){}
5
-
6
- export default function List(props) {
7
- // onItemClick 兼容老的方法
8
- const { dataSource=[], onClickItem, onItemClick=empty} = props;
9
- return (
10
- <div className="android-pda-list" >
11
- {
12
- dataSource.map((item, index)=>{
13
- return <DefaultItem key={item.key || index} dataSource={item} onClick={onClickItem || onItemClick} ></DefaultItem>
14
- })
15
- }
16
- {
17
- props.children
18
- }
19
- </div>
20
- );
21
- }
22
-
23
-
24
- // 默认 item
25
- function DefaultItem(props){
26
- // 兼容老的用法,直接用 List.Item
27
- const dataSource = props.dataSource || {
28
- title: props.title,
29
- subTitle: props.subTitle,
30
- extra: props.extra,
31
- tags: props.tags
32
- };
33
- const { title, subTitle, extra, tags=[], tabIndex} = dataSource;
34
- const { onClick } = props;
35
- return <div className="default-item" onClick={()=>{ onClick(props.dataSource) }} tabIndex={tabIndex} >
36
- <div className="text">
37
- <div>{title}</div>
38
- <div className="sub-text">
39
- {subTitle}
40
- </div>
41
- <div className="sub-tags">
42
- {
43
- tags.map((text)=>{
44
- return <div className="sub-tag-item" key={text} >{text}</div>
45
- })
46
- }
47
- </div>
48
- </div>
49
- <div className="extra">{extra}</div>
50
- </div>
51
- }
52
-
53
- //
54
- List.Item = DefaultItem;
@@ -1,43 +0,0 @@
1
- .android-pda-list{
2
- .default-item{
3
- background-color:#282828;
4
- font-size:36px;
5
- padding:10px 10px;
6
- border-radius: 6px;
7
- color:#ffffff;
8
- display: flex;
9
- justify-content: space-between;
10
- align-items:center;
11
- cursor: pointer;
12
- margin-bottom:10px;
13
- &:hover,&:active,&:focus{
14
- background-color:#686868;
15
- }
16
- .text{
17
- flex:1;
18
- }
19
- .sub-text{
20
- font-size:80%;
21
- opacity:0.7;
22
- }
23
- .sub-tags{
24
- display: flex;
25
- .sub-tag-item{
26
- background-color:#00FF00;
27
- padding:2px;
28
- font-size:60%;
29
- margin-right:3px;
30
- border-radius:2px;
31
- color:#000000;
32
- line-height:1em;
33
- }
34
- .sub-tag-item:first-child{
35
- margin-left:0;
36
- }
37
- }
38
- .extra{
39
- font-size:80%;
40
- opacity:0.7;
41
- }
42
- }
43
- }