我的账单页面取消退款和操作列 & 后台Header添加返回首页功能

This commit is contained in:
Eamon-meng
2026-03-12 15:46:54 +08:00
parent bce7e41adf
commit d83ad11241
2 changed files with 16 additions and 9 deletions

View File

@@ -99,7 +99,7 @@ export default function BillsPage(props: BillsPageProps) {
<SelectItem value="all"></SelectItem> <SelectItem value="all"></SelectItem>
<SelectItem value="3"></SelectItem> <SelectItem value="3"></SelectItem>
<SelectItem value="1"></SelectItem> <SelectItem value="1"></SelectItem>
<SelectItem value="2">退</SelectItem> {/* <SelectItem value="2">退款</SelectItem> */}
</SelectContent> </SelectContent>
</Select> </Select>
)} )}
@@ -284,13 +284,13 @@ export default function BillsPage(props: BillsPageProps) {
format(new Date(row.original.created_at), 'yyyy-MM-dd HH:mm') format(new Date(row.original.created_at), 'yyyy-MM-dd HH:mm')
), ),
}, },
{ // {
accessorKey: 'action', header: `操作`, cell: item => ( // accessorKey: 'action', header: `操作`, cell: item => (
<div className="flex gap-2"> // <div className="flex gap-2">
- // -
</div> // </div>
), // ),
}, // },
]} ]}
/> />
</Page> </Page>

View File

@@ -116,7 +116,14 @@ export function Header() {
</div> </div>
{/* right */} {/* right */}
<div className="flex-none flex items-center justify-end pr-4"> <div className="flex-none flex items-center justify-end pr-4 max-md:hidden gap-2">
<Link
href="/"
className={merge(
`flex-none h-16 flex items-center justify-center`,
)}>
</Link>
<Suspense> <Suspense>
<HeaderUserCenter/> <HeaderUserCenter/>
</Suspense> </Suspense>