✨ feat: 发货单对接70%

This commit is contained in:
xuan
2022-09-20 19:40:05 +08:00
parent 078f3e79b7
commit 5ae01087ab
20 changed files with 662 additions and 324 deletions
@@ -57,6 +57,9 @@
}
}
&--text {
display: flex;
flex-flow: row nowrap;
align-items: center;
color: currentColor;
}
// active 伪类
+3 -1
View File
@@ -17,6 +17,7 @@ interface PropsType {
onClick?: Function
customClassName?: string
customStyles?: React.CSSProperties
customTextClassName?: string
}
const NormalButton: FC<PropsType> = (props) => {
@@ -31,6 +32,7 @@ const NormalButton: FC<PropsType> = (props) => {
circle = false,
customStyles = {},
customClassName = '',
customTextClassName = ''
} = props
const getClassName = () => {
const classObject = {
@@ -54,7 +56,7 @@ const NormalButton: FC<PropsType> = (props) => {
return (
<View className={classnames(styles['button'], getClassName(), customClassName)} style={customStyles} onClick={handleClick}>
<Text className={styles['button--text']}>{children}</Text>
<View className={classnames(styles['button--text'], customTextClassName)}>{children}</View>
</View>
)
}