@aks-dev/easyui 1.0.19 → 1.0.22

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.
@@ -177,9 +177,10 @@ const ListFooterComponent = React.memo((props: RefreshListProps) => {
177
177
  display: 'flex',
178
178
  justifyContent: 'center', alignItems: 'center'
179
179
  }}>
180
- <TouchableOpacity onPress={() => {
181
- reload && reload()
182
- }}>
180
+ <TouchableOpacity style={{ minHeight: 44 }}
181
+ onPress={() => {
182
+ reload && reload()
183
+ }}>
183
184
  <Text style={styles.text}>{RefreshText.EmptyData}</Text>
184
185
  </TouchableOpacity>
185
186
  </View>
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * @Author: your name
3
3
  * @Date: 2022-04-20 14:56:05
4
- * @LastEditTime: 2022-04-27 14:22:01
4
+ * @LastEditTime: 2022-05-16 15:50:31
5
5
  * @LastEditors: shiguo
6
6
  * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
7
7
  * @FilePath: /@aks/easyui/lib/RefreshList/index.ts
@@ -25,9 +25,9 @@ import { IPropsSwipeListView } from 'react-native-swipe-list-view/types'
25
25
 
26
26
  type CommonProps = {
27
27
  // mode: keyof easyui.Mode;
28
- onHeaderRefresh: Function;
28
+ onHeaderRefresh: (info: any) => void;
29
29
  onFooterRefresh: (info: any) => void;
30
- reload: Function;
30
+ reload: () => void;
31
31
  refreshState: RefreshState;
32
32
  renderListEmptyComponent: () => React.ReactElement;
33
33
  }
@@ -73,7 +73,7 @@ export const RefreshText = {
73
73
  FooterRefreshing: '下拉可以加载更多',
74
74
  Failure: '服务器正在出小差,点击重新加载',
75
75
  NoMoreData: '已经全部加载完毕',
76
- EmptyData: '加载数据为空',
76
+ EmptyData: '没有数据',
77
77
  Idle: '正在加载更多的数据..',
78
78
  }
79
79
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aks-dev/easyui",
3
- "version": "1.0.19",
3
+ "version": "1.0.22",
4
4
  "description": "爱科森开发工具包",
5
5
  "main": "./src/index.ts",
6
6
  "typings": "./src/index.d.ts",
package/screen/px2dp.tsx CHANGED
@@ -1,3 +1,10 @@
1
+ /*
2
+ * @Author: shiguo
3
+ * @Date: 2022-04-18 14:32:25
4
+ * @LastEditors: shiguo
5
+ * @LastEditTime: 2022-05-16 17:46:40
6
+ * @FilePath: /@aks/easyui/screen/px2dp.tsx
7
+ */
1
8
  import { Dimensions, StatusBar, Platform } from 'react-native';
2
9
 
3
10