style(user): 调整用户卡片中的扫描图标样式

-为 Scan 组件添加 className 和 size 属性
- 设置文本颜色为 gray-900
- 设置图标大小为 24
This commit is contained in:
2025-09-02 10:24:49 +08:00
parent dd5f626edd
commit a4a200fd8a

View File

@@ -205,7 +205,7 @@ const UserCard = forwardRef<any, any>((_, ref) => {
) : ''}
</View>
</View>
{isAdmin() && <Scan onClick={() => navTo('/user/store/verification', true)} />}
{isAdmin() && <Scan className={'text-gray-900'} size={24} onClick={() => navTo('/user/store/verification', true)} />}
<View className={'mr-4 text-sm px-3 py-1 text-black border-gray-400 border-solid border-2 rounded-3xl'}
onClick={() => navTo('/user/profile/profile', true)}>
{'个人资料'}