feat: add mine page and secondary pages
This commit is contained in:
26
src/pages/profile/index.tsx
Normal file
26
src/pages/profile/index.tsx
Normal file
@@ -0,0 +1,26 @@
|
||||
import SecondaryPage, { type SecondaryPageSection } from "../../components/secondary-page";
|
||||
import "./index.scss";
|
||||
|
||||
const sections: SecondaryPageSection[] = [
|
||||
{
|
||||
title: "资料编辑",
|
||||
items: [
|
||||
{ label: "头像", value: "支持后续替换" },
|
||||
{ label: "昵称", value: "张天爱" },
|
||||
{ label: "手机号", value: "135****2598" },
|
||||
{ label: "修改密码", value: "待接入" }
|
||||
]
|
||||
}
|
||||
];
|
||||
|
||||
export default function ProfilePage() {
|
||||
return (
|
||||
<SecondaryPage
|
||||
eyebrow="PROFILE"
|
||||
title="个人信息"
|
||||
description="这里先保留资料编辑骨架,后续接入真实账号体系时可以直接补上头像上传、昵称编辑和密码修改。"
|
||||
sections={sections}
|
||||
footerTip="当前页面以结构预留为主,暂不提交真实修改。"
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user