mirror of
https://github.com/m1ngsama/FUJI.git
synced 2025-12-24 10:51:27 +00:00
update style
This commit is contained in:
parent
5e12d7051e
commit
928162ece2
2 changed files with 6 additions and 6 deletions
|
|
@ -27,8 +27,8 @@ makeLogtoClient().getIdTokenClaims().then((claims) => {
|
||||||
<div class="h-full flex items-center justify-between text-lg max-w-[1024px] mx-auto px-[22px]">
|
<div class="h-full flex items-center justify-between text-lg max-w-[1024px] mx-auto px-[22px]">
|
||||||
<span id="repair-header" class="font-semibold select-none cursor-default">维修</span>
|
<span id="repair-header" class="font-semibold select-none cursor-default">维修</span>
|
||||||
<div class="flex items-center">
|
<div class="flex items-center">
|
||||||
<div class="flex items-center gap-2 mr-4 text-sm text-gray-500">
|
<div class="flex items-center gap-2 mr-4 text-xs text-gray-400">
|
||||||
<a class="hidden text-gray-500" id="repair-admin" href="/repair/admin" class="appearance-none text-gray-500 cursor-pointer">维修管理</a>
|
<a class="hidden text-gray-500 hover:text-gray-700 appearance-none cursor-pointer" id="repair-admin" href="/repair/admin" style="text-decoration:none">维修管理</a>
|
||||||
</div>
|
</div>
|
||||||
<NavigationUser client:load />
|
<NavigationUser client:load />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -387,16 +387,16 @@ export default function App() {
|
||||||
}
|
}
|
||||||
}, [])
|
}, [])
|
||||||
return (
|
return (
|
||||||
<section className="box-border mb-24">
|
<section className="box-border max-w-[1024px] mx-auto px-[22px] mb-24">
|
||||||
<div className="section-content mt-6 flex justify-between items-center">
|
<div className="mt-6 flex justify-between items-center">
|
||||||
<h2 className="text-2xl font-bold">维修管理</h2>
|
<div className="text-2xl font-bold">维修管理</div>
|
||||||
{
|
{
|
||||||
userInfo?.roles?.find(v => v.toLowerCase() == "repair admin")
|
userInfo?.roles?.find(v => v.toLowerCase() == "repair admin")
|
||||||
? <ExportExcelModal></ExportExcelModal>
|
? <ExportExcelModal></ExportExcelModal>
|
||||||
: <></>
|
: <></>
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
<div className="section-content my-8 flex flex-col gap-4">
|
<div className="my-8 flex flex-col gap-4">
|
||||||
<Table
|
<Table
|
||||||
aria-label="Example table with dynamic content"
|
aria-label="Example table with dynamic content"
|
||||||
sortDescriptor={list.sortDescriptor}
|
sortDescriptor={list.sortDescriptor}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue