feat: add mine page and secondary pages
This commit is contained in:
28
src/pages/repair/index.tsx
Normal file
28
src/pages/repair/index.tsx
Normal file
@@ -0,0 +1,28 @@
|
||||
import SecondaryPage, { type SecondaryPageSection } from "../../components/secondary-page";
|
||||
import "./index.scss";
|
||||
|
||||
const sections: SecondaryPageSection[] = [
|
||||
{
|
||||
title: "报修申请",
|
||||
items: [
|
||||
{ label: "提交报修申请" },
|
||||
{ label: "上传故障图片", value: "待接入上传能力" },
|
||||
{ label: "填写设备问题", value: "待接入表单" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "售后进度",
|
||||
items: [{ label: "维修进度查询", value: "后续接接口" }]
|
||||
}
|
||||
];
|
||||
|
||||
export default function RepairPage() {
|
||||
return (
|
||||
<SecondaryPage
|
||||
eyebrow="REPAIR"
|
||||
title="设备报修"
|
||||
description="这个页面先把报修流程的主要节点放齐,后面接图片上传和工单接口时改动会比较小。"
|
||||
sections={sections}
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user