forked from gxwebsoft/mp-10550
```
feat(components): 调整 QRLoginButton 默认属性并优化用户卡片布局 - 修改 QRLoginButton 组件的默认 type 为 'default',size为 'small' - 在 UserCard 组件中注释掉 QRLoginButton 的引入和使用- 使用 Space 组件优化用户卡片中的按钮布局 - 替换原有条件渲染逻辑,统一使用按钮展示“扫码核销”功能 - 样式微调与代码格式化```
This commit is contained in:
@@ -11,7 +11,8 @@ import {
|
||||
People,
|
||||
AfterSaleService,
|
||||
Logout,
|
||||
ShoppingAdd, ShoppingRemove, Service
|
||||
ShoppingAdd,
|
||||
Service
|
||||
} from '@nutui/icons-react-taro'
|
||||
import {useUser} from "@/hooks/useUser";
|
||||
|
||||
@@ -102,7 +103,7 @@ const UserCell = () => {
|
||||
</View>
|
||||
</Grid.Item>
|
||||
|
||||
<Grid.Item text={'管理中心'} onClick={() => navTo('/admin/index', true)}>
|
||||
<Grid.Item text={'扫码登录'} onClick={() => navTo('/admin/index', true)}>
|
||||
<View className="text-center">
|
||||
<View className="w-12 h-12 bg-red-50 rounded-xl flex items-center justify-center mx-auto mb-2">
|
||||
<AfterSaleService className={'text-red-500'} size="20"/>
|
||||
|
||||
Reference in New Issue
Block a user