调整收支明细“消费”和“充值”tab的前后

This commit is contained in:
yezian 2024-04-25 20:48:47 +08:00
parent b1bd9b861d
commit dc16e096af
1 changed files with 10 additions and 10 deletions

View File

@ -9,16 +9,6 @@ export default function BillLayout({ children }) {
<section className="flex flex-1 flex-col container px-4 py-2"> <section className="flex flex-1 flex-col container px-4 py-2">
<div className="flex h-10"> <div className="flex h-10">
<div className="tabs tab-boxed w-full"> <div className="tabs tab-boxed w-full">
<Link
className={`tab basis-1/4 ${
pathname === "/bill/cost"
? "tab-active text-[#FF669E] bg-[#FF61B030] rounded-full"
: "text-[#FFFFFF80]"
}`}
href="cost"
>
消费
</Link>
<Link <Link
className={`tab basis-1/4 ${ className={`tab basis-1/4 ${
pathname === "/bill/recharge" pathname === "/bill/recharge"
@ -29,6 +19,16 @@ export default function BillLayout({ children }) {
> >
充值 充值
</Link> </Link>
<Link
className={`tab basis-1/4 ${
pathname === "/bill/cost"
? "tab-active text-[#FF669E] bg-[#FF61B030] rounded-full"
: "text-[#FFFFFF80]"
}`}
href="cost"
>
消费
</Link>
<Link <Link
className={`tab basis-1/4 ${ className={`tab basis-1/4 ${
pathname === "/bill/income" pathname === "/bill/income"