feat: 本次提交更新内容如下

存一版样式问题
This commit is contained in:
笔记本里的永平
2025-07-07 16:34:06 +08:00
parent 289947e68f
commit 6543da9167
5 changed files with 2909 additions and 59 deletions

View File

@@ -5,6 +5,8 @@ import { fetchWechatAccountList, transformWechatAccount } from '@/api/wechat-acc
import { useToast } from '@/components/ui/toast';
import { useWechatAccount } from '@/contexts/WechatAccountContext';
import PageHeader from '@/components/PageHeader';
import Layout from '@/components/Layout';
import '@/components/Layout.css';
interface WechatAccount {
id: string;
@@ -149,14 +151,15 @@ export default function WechatAccounts() {
};
return (
<div className="min-h-screen bg-gray-50">
<PageHeader
title="微信号"
defaultBackPath="/"
/>
{/* 内容区域 */}
<div className="pt-14 pb-20">
<Layout
header={
<PageHeader
title="微信号"
defaultBackPath="/"
/>
}
>
<div className="bg-gray-50">
<div className="p-4">
{/* 搜索和操作栏 */}
<div className="bg-white p-4 rounded-xl shadow-sm border border-gray-100 mb-4 ">
@@ -349,7 +352,6 @@ export default function WechatAccounts() {
)}
</div>
</div>
{/* 好友转移确认对话框 */}
{isTransferDialogOpen && (
<div className="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 p-4">
@@ -376,6 +378,6 @@ export default function WechatAccounts() {
</div>
</div>
)}
</div>
</Layout>
);
}