@cniot/android-pda-components 2.0.0-beta.1 → 2.0.0-beta.3

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.
package/build/index.html CHANGED
@@ -27,8 +27,8 @@
27
27
  </style>
28
28
  <script src="https://g.alicdn.com/code/lib/react/17.0.2/umd/react.production.min.js"></script>
29
29
  <script src="https://g.alicdn.com/code/lib/react-dom/17.0.2/umd/react-dom.production.min.js"></script>
30
- <script type="module" crossorigin src="./assets/index.bccda3e0.js"></script>
31
- <link rel="stylesheet" href="./assets/index.6824d354.css">
30
+ <script type="module" crossorigin src="./assets/index.a23c2347.js"></script>
31
+ <link rel="stylesheet" href="./assets/index.87e75c31.css">
32
32
  </head>
33
33
 
34
34
  <body>
@@ -22,6 +22,7 @@ import {
22
22
  InputV2,
23
23
  TableV2,
24
24
  PageFlowSystemPagesV2,
25
+ DatePickerV2,
25
26
  } from '../../packages';
26
27
  import { Button, List } from "antd-mobile";
27
28
  import './index.less'
@@ -159,6 +160,7 @@ export default function (props) {
159
160
  ImageUploaderV2: true,
160
161
  TableV2: true,
161
162
  PageFlowSystemPagesV2: true,
163
+ DatePickerV2: true,
162
164
  }
163
165
  const ImageUploaderV2Component = () => {
164
166
  const [images, setImg] = React.useState([]);
@@ -245,12 +247,21 @@ export default function (props) {
245
247
  // style={{ '--text-align': 'right' }}
246
248
  /></>,
247
249
 
250
+ DatePickerV2: <>时间选择器<DatePickerV2 className='aaaaaaa'
251
+ placeholder='请选择时间'
252
+ value={new Date('2024-08-26')}
253
+ onChange={(val) => { console.log(`val:======时间`, val, typeof val); }}
254
+ format='YY-MM-DD'
255
+ // showFormat='YYYY-MM-DD'
256
+ // defaultValue={new Date('2024-08-26')}
257
+ /></>,
258
+
248
259
  ProgressBarV2: <div style={{ backgroundColor: '#ffffff', padding: 10, margin: '10px 0' }}>
249
260
  ProgressBarV2
250
261
  <ProgressBarV2 percent={40} />
251
262
  </div>,
252
263
 
253
- SelectV2: <>下拉选择<SelectV2
264
+ SelectV2: <>下拉选择<SelectV2 readOnly disabled value='1'
254
265
  label="Select Reason"
255
266
  placeholder="Please select"
256
267
  dataSource={[