feat: 優化中央後台 UI (用語調整、移除連結) 與實作 RWD 支援
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 44s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped

This commit is contained in:
2026-01-16 10:14:59 +08:00
parent 8a9b8135bd
commit aa4143ccf1
6 changed files with 72 additions and 51 deletions

View File

@@ -26,17 +26,17 @@ export default function TenantEdit({ tenant }: Props) {
};
return (
<LandlordLayout title="編輯戶">
<LandlordLayout title="編輯戶">
<div className="max-w-2xl">
<div className="mb-6">
<h1 className="text-2xl font-bold text-slate-900"></h1>
<p className="text-slate-500 mt-1"> {tenant.id} </p>
<h1 className="text-2xl font-bold text-slate-900"></h1>
<p className="text-slate-500 mt-1"> {tenant.id} </p>
</div>
<form onSubmit={handleSubmit} className="bg-white rounded-xl border border-slate-200 p-6 space-y-6">
<div>
<label className="block text-sm font-medium text-slate-700 mb-2">
ID
ID
</label>
<input
type="text"
@@ -44,12 +44,12 @@ export default function TenantEdit({ tenant }: Props) {
disabled
className="w-full px-4 py-2 border border-slate-200 rounded-lg bg-slate-50 text-slate-500"
/>
<p className="mt-1 text-sm text-slate-500"> ID </p>
<p className="mt-1 text-sm text-slate-500"> ID </p>
</div>
<div>
<label className="block text-sm font-medium text-slate-700 mb-2">
<span className="text-red-500">*</span>
<span className="text-red-500">*</span>
</label>
<input
type="text"
@@ -81,7 +81,7 @@ export default function TenantEdit({ tenant }: Props) {
onChange={(e) => setData("is_active", e.target.checked)}
className="w-4 h-4 rounded border-slate-300 text-primary-main focus:ring-primary-main"
/>
<span className="text-sm font-medium text-slate-700"></span>
<span className="text-sm font-medium text-slate-700"></span>
</label>
</div>