cfel-base-components 2.5.30 → 2.5.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cfel-base-components",
3
- "version": "2.5.30",
3
+ "version": "2.5.32",
4
4
  "description": "cfel-base-components",
5
5
  "main": "/src/index.tsx",
6
6
  "types": "src/index.d.ts",
@@ -32,7 +32,6 @@
32
32
  "less-loader": "^11.1.3",
33
33
  "lodash": "^4.17.21",
34
34
  "mini-css-extract-plugin": "^2.7.6",
35
- "node-sass": "^9.0.0",
36
35
  "postcss": "^8.4.24",
37
36
  "postcss-loader": "^7.3.3",
38
37
  "postcss-preset-env": "^8.5.1",
@@ -49,11 +48,12 @@
49
48
  "peerDependencies": {
50
49
  "@ant-design/icons": "^5.1.4",
51
50
  "@ant-design/pro-components": "^2.6.12",
52
- "antd": "^5.5.2"
51
+ "antd": "^5.16.1"
53
52
  },
54
53
  "dependencies": {
55
54
  "dayjs": "^1.11.9",
56
55
  "html2canvas": "^1.4.1",
57
- "qrcode.react": "^3.1.0"
56
+ "qrcode.react": "^3.1.0",
57
+ "sass": "^1.77.6"
58
58
  }
59
59
  }
@@ -1,4 +1,6 @@
1
1
  .pagination {
2
+ display: flex;
3
+ justify-content: flex-end;
2
4
  text-align: right;
3
5
  padding-right: 24px;
4
- }
6
+ }
@@ -1,22 +1,20 @@
1
- import React from 'react';
2
- import { Pagination, PaginationProps } from 'antd';
3
- import classnames from 'classnames/bind';
4
- import styles from "./index.module.less"
5
- const cx = classnames.bind(styles);
1
+ import React from 'react'
2
+ import { Pagination, PaginationProps } from 'antd'
3
+ import classnames from 'classnames/bind'
4
+ import styles from './index.module.less'
5
+ const cx = classnames.bind(styles)
6
6
 
7
- export default function PaginationComponent({
8
- className,
9
- ...restFileds
10
- }: PaginationProps | any) {
11
- return (<Pagination
12
- className={cx({
13
- pagination: true,
14
- [className]: true
15
- })}
16
- showQuickJumper
17
- showSizeChanger
18
- showTotal={(total) => `共 ${total} 条`}
19
- {...restFileds}
20
- />
7
+ export default function PaginationComponent({ className, ...restFileds }: PaginationProps | any) {
8
+ return (
9
+ <Pagination
10
+ className={cx({
11
+ pagination: true,
12
+ [className]: true,
13
+ })}
14
+ showQuickJumper
15
+ showSizeChanger
16
+ showTotal={(total) => `共 ${total} 条`}
17
+ {...restFileds}
18
+ />
21
19
  )
22
- }
20
+ }
@@ -131,25 +131,21 @@ export default function UserCard({
131
131
  <div className="lios-keyMare">租户</div>
132
132
  <div className="lios-valueMare" title={tenant?.name}>{tenant?.name}</div>
133
133
  </div>
134
- </div>
135
-
136
-
137
- <div className='userInfo'
138
- >
139
- <div className='lios-li li-flex'>
140
- <div className='lios-keyMare'>资金账户</div>
141
- <div className='lios-valueMare'>
142
- <a
143
- onClick={() => {
144
- location.href = '/web/capital-wallet'
145
- }}
146
- >
147
- 跳转
148
- </a>
134
+ <div className='lios-li li-flex'>
135
+ <div className='lios-keyMare'>资金账户</div>
136
+ <div className='lios-valueMare'>
137
+ <a
138
+ onClick={() => {
139
+ location.href = '/web/capital-wallet'
140
+ }}
141
+ >
142
+ 跳转
143
+ </a>
144
+ </div>
149
145
  </div>
150
- </div>
151
146
  </div>
152
147
 
148
+
153
149
  <div className="lios-logoutBox">
154
150
  <div
155
151
  className="lios-logout"