调整收支明细“消费”和“充值”tab的前后
This commit is contained in:
parent
b1bd9b861d
commit
dc16e096af
|
@ -9,16 +9,6 @@ export default function BillLayout({ children }) {
|
|||
<section className="flex flex-1 flex-col container px-4 py-2">
|
||||
<div className="flex h-10">
|
||||
<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
|
||||
className={`tab basis-1/4 ${
|
||||
pathname === "/bill/recharge"
|
||||
|
@ -29,6 +19,16 @@ export default function BillLayout({ children }) {
|
|||
>
|
||||
充值
|
||||
</Link>
|
||||
<Link
|
||||
className={`tab basis-1/4 ${
|
||||
pathname === "/bill/cost"
|
||||
? "tab-active text-[#FF669E] bg-[#FF61B030] rounded-full"
|
||||
: "text-[#FFFFFF80]"
|
||||
}`}
|
||||
href="cost"
|
||||
>
|
||||
消费
|
||||
</Link>
|
||||
<Link
|
||||
className={`tab basis-1/4 ${
|
||||
pathname === "/bill/income"
|
||||
|
|
Loading…
Reference in New Issue