🌈 style(Tag): 调整Tag组件的plain样式

This commit is contained in:
xuan
2022-09-29 10:26:44 +08:00
parent a619b24e6b
commit 4b00a2b4fa
5 changed files with 39 additions and 28 deletions
@@ -191,7 +191,7 @@ export default memo<PropsType>(props => {
<View className={styles.topItem}>
<View className='flex-row items-center'>
<View className={styles.topTitle}>{itemData?.purchaser_name}</View>
<Tag type='info' size='normal' circle plain>
<Tag type='info' size='normal' circle customStyle={{ backgroundColor: '#f0f0f0',borderColor: 'transparent' }} plain>
{itemData?.sale_user_name}
</Tag>
</View>
@@ -200,10 +200,6 @@ export default memo<PropsType>(props => {
已选 {materialChecked} 种面料,{colorChecked} 个颜色,共{' '}
{selected === EnumSaleMode.Bulk ? `${lengthOrRollChecked} 条` : `${lengthOrRollChecked} 米`}
</Text>
{/* <Text>
已选 {0} 种面料,{0} 个颜色,共{' '}
{selected === EnumSaleMode.Bulk ? `${0} 条` : `${0} 米`}
</Text> */}
</View>
</View>
<DrawerButton isOpen={openDetail} />
@@ -240,7 +236,7 @@ export default memo<PropsType>(props => {
<Divider customClassName={styles.line}></Divider>
<View className={classnames(styles.orderTitle, 'justify-between')}>
<Text>布料颜色</Text>
<Tag type='danger' size='normal' circle plain={false}>
<Tag type='danger' size='normal' circle plain>
{selectList[selected].title}单位:{selectList[selected].unit}
</Tag>
</View>
+1 -1
View File
@@ -141,7 +141,7 @@ const UserInfo: FC = () => {
</View>
</View>
<View className={styles.bottomBar}>
<Tag type='primary' size='normal' circle customStyle={{ marginRight: '10px' }}>
<Tag type='primary' size='normal' circle plain customStyle={{ marginRight: '10px' }}>
{userInfo.userInfo.department_name}
</Tag>
<Divider direction='vertical'></Divider>