From 7479b83f1337c244a50718aeb67d035eaee188d6 Mon Sep 17 00:00:00 2001 From: Eamon <17516219072@163.com> Date: Mon, 30 Mar 2026 16:14:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A7=E5=93=81=E7=AE=A1=E7=90=86=E4=BB=B7?= =?UTF-8?q?=E6=A0=BC=E5=81=9A=E4=BF=9D=E7=95=992=E4=BD=8D=E5=B0=8F?= =?UTF-8?q?=E6=95=B0=20=20&=20=E8=B4=A6=E5=8D=95=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E5=88=97=E6=B7=BB=E5=8A=A0=E5=85=85=E5=80=BC=E6=B6=88=E8=B4=B9?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/(root)/billing/page.tsx | 37 +++++++++++++++++++++++++++++++++ src/app/(root)/product/page.tsx | 10 +++++---- 2 files changed, 43 insertions(+), 4 deletions(-) diff --git a/src/app/(root)/billing/page.tsx b/src/app/(root)/billing/page.tsx index c378957..4ea2ca0 100644 --- a/src/app/(root)/billing/page.tsx +++ b/src/app/(root)/billing/page.tsx @@ -1,6 +1,7 @@ "use client" import { zodResolver } from "@hookform/resolvers/zod" import { format } from "date-fns" +import { CreditCard } from "lucide-react" import { Suspense, useEffect, useState } from "react" import { Controller, useForm } from "react-hook-form" import { toast } from "sonner" @@ -342,6 +343,42 @@ export default function BillingPage() { { header: "ID", accessorKey: "id" }, { header: "会员号", accessorFn: row => row.user?.phone || "-" }, { header: "套餐号", accessorKey: "resource.resource_no" }, + { + header: "账单详情", + accessorKey: "info", + cell: ({ row }) => { + const bill = row.original + + return ( +