@aks-dev/easyui 1.0.71 → 1.0.72

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.
@@ -2,8 +2,8 @@
2
2
  * @Author: shiguo
3
3
  * @Date: 2022-04-21 14:40:29
4
4
  * @LastEditors: shiguo
5
- * @LastEditTime: 2022-04-26 14:05:59
6
- * @FilePath: /@aks/easy/lib/Badge/Badge.tsx
5
+ * @LastEditTime: 2022-07-08 14:27:25
6
+ * @FilePath: /@aks-dev/easyui/lib/Badge/Badge.tsx
7
7
  */
8
8
  import React from 'react'
9
9
  import { View, Text, } from 'react-native'
@@ -22,16 +22,17 @@ export const Badge: React.FC<BadgeProps> = (props) => {
22
22
  [
23
23
  {
24
24
  flexGrow: 0, flexShrink: 1, zIndex: 1,
25
- paddingHorizontal: px2dp(4),
25
+ // paddingHorizontal: px2dp(0),
26
26
  height: px2dp(16), minWidth: px2dp(16), borderRadius: px2dp(8),
27
- justifyContent: 'center', alignItems: 'center', backgroundColor: 'red'
27
+ justifyContent: 'center', alignItems: 'center',
28
+ backgroundColor: 'red'
28
29
  },
29
30
  props.style
30
31
  ]
31
32
  } >
32
33
 
33
34
 
34
- <Text style={{ fontSize: px2sp(12), color: 'white', lineHeight: px2dp(16), textAlign: 'center' }}> {props.count > 99 ? '+99' : props.count} </Text>
35
+ <Text style={{ fontSize: px2sp(12), color: 'white', textAlign: 'center' }}> {props.count > 99 ? '+99' : props.count} </Text>
35
36
 
36
37
  </View>
37
38
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aks-dev/easyui",
3
- "version": "1.0.71",
3
+ "version": "1.0.72",
4
4
  "description": "移动端App开发工具包",
5
5
  "main": "./src/index.ts",
6
6
  "typings": "./src/index.d.ts",