refactor(components): 优化多个组件的样式和功能

-调整 AdminPanel 组件的样式,移除 max-h-[70vh] 类
- 更新 Header组件的参数类型
- 在 QRLoginButton 组件中添加日志输出
- 重构 qr-login 页面的导航栏,目前已被注释掉
This commit is contained in:
2025-09-01 16:09:16 +08:00
parent 23f7e72d3d
commit d43977f0b7
8 changed files with 44 additions and 135 deletions

View File

@@ -3,7 +3,6 @@ import { View, Text } from '@tarojs/components';
import { Button } from '@nutui/nutui-react-taro';
import { Scan, Setting, User, Shop } from '@nutui/icons-react-taro';
import navTo from '@/utils/common';
import './AdminPanel.scss';
export interface AdminPanelProps {
/** 是否显示面板 */
@@ -95,7 +94,7 @@ const AdminPanel: React.FC<AdminPanelProps> = ({
/>
{/* 面板内容 */}
<View className="fixed bottom-0 left-0 right-0 bg-white rounded-t-3xl z-50 max-h-[70vh] overflow-hidden">
<View className="fixed bottom-0 left-0 right-0 bg-white rounded-t-3xl z-50 overflow-hidden">
{/* 面板头部 */}
<View className="flex items-center justify-between p-4 border-b border-gray-100">
<View className="flex items-center">