feat(components): 调整 QRLoginButton 默认属性并优化用户卡片布局

- 修改 QRLoginButton 组件的默认 type 为 'default',size为 'small'
- 在 UserCard 组件中注释掉 QRLoginButton 的引入和使用- 使用 Space 组件优化用户卡片中的按钮布局
- 替换原有条件渲染逻辑,统一使用按钮展示“扫码核销”功能
- 样式微调与代码格式化```
This commit is contained in:
2025-09-22 10:58:42 +08:00
parent 16559c76ed
commit 92bd00ea44
4 changed files with 36 additions and 16 deletions

View File

@@ -28,8 +28,8 @@ export interface QRLoginButtonProps {
* 扫码登录按钮组件
*/
const QRLoginButton: React.FC<QRLoginButtonProps> = ({
type = 'primary',
size = 'normal',
type = 'default',
size = 'small',
text = '扫码登录',
showIcon = true,
onSuccess,