我的账单页面取消退款和操作列 & 后台Header添加返回首页功能
This commit is contained in:
@@ -99,7 +99,7 @@ export default function BillsPage(props: BillsPageProps) {
|
||||
<SelectItem value="all">全部</SelectItem>
|
||||
<SelectItem value="3">充值</SelectItem>
|
||||
<SelectItem value="1">消费</SelectItem>
|
||||
<SelectItem value="2">退款</SelectItem>
|
||||
{/* <SelectItem value="2">退款</SelectItem> */}
|
||||
</SelectContent>
|
||||
</Select>
|
||||
)}
|
||||
@@ -284,13 +284,13 @@ export default function BillsPage(props: BillsPageProps) {
|
||||
format(new Date(row.original.created_at), 'yyyy-MM-dd HH:mm')
|
||||
),
|
||||
},
|
||||
{
|
||||
accessorKey: 'action', header: `操作`, cell: item => (
|
||||
<div className="flex gap-2">
|
||||
-
|
||||
</div>
|
||||
),
|
||||
},
|
||||
// {
|
||||
// accessorKey: 'action', header: `操作`, cell: item => (
|
||||
// <div className="flex gap-2">
|
||||
// -
|
||||
// </div>
|
||||
// ),
|
||||
// },
|
||||
]}
|
||||
/>
|
||||
</Page>
|
||||
|
||||
@@ -116,7 +116,14 @@ export function Header() {
|
||||
</div>
|
||||
|
||||
{/* 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>
|
||||
<HeaderUserCenter/>
|
||||
</Suspense>
|
||||
|
||||
Reference in New Issue
Block a user