feat: 统一页面布局与字体样式
This commit is contained in:
@@ -44,7 +44,13 @@ export default function Settings() {
|
||||
|
||||
return (
|
||||
<div className="space-y-3">
|
||||
<h1 className="text-xs font-medium">系统设置</h1>
|
||||
<div className="flex items-center gap-2">
|
||||
<Building2 className="h-5 w-5 text-primary" />
|
||||
<div>
|
||||
<h1 className="text-base font-semibold">系统设置</h1>
|
||||
<p className="mt-1 text-sm text-gray-500">配置企业资料、用户权限、套餐与通知偏好</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="flex gap-1 border-b">
|
||||
{sections.map((s) => {
|
||||
@@ -53,7 +59,7 @@ export default function Settings() {
|
||||
<button
|
||||
key={s.key}
|
||||
onClick={() => setActiveSection(s.key)}
|
||||
className={`flex items-center gap-1.5 px-3 py-1.5 text-xs font-medium border-b-2 transition-colors ${
|
||||
className={`flex items-center gap-1.5 px-4 py-2 text-sm font-medium border-b-2 transition-colors ${
|
||||
activeSection === s.key ? 'border-primary text-primary' : 'border-transparent text-gray-500 hover:text-gray-700'
|
||||
}`}
|
||||
>
|
||||
@@ -158,9 +164,9 @@ function UserSettings({ usersData }: { usersData: any }) {
|
||||
</Button>
|
||||
</div>
|
||||
<div className="overflow-x-auto">
|
||||
<table className="w-full text-xs">
|
||||
<table className="w-full text-sm">
|
||||
<thead>
|
||||
<tr className="border-b text-left text-gray-500">
|
||||
<tr className="border-b text-left text-xs text-gray-500">
|
||||
<th className="py-2 px-3 font-medium">姓名</th>
|
||||
<th className="py-2 px-3 font-medium">手机号</th>
|
||||
<th className="py-2 px-3 font-medium">角色</th>
|
||||
@@ -652,13 +658,13 @@ function ImportSettings() {
|
||||
<div className="flex gap-1 border-b">
|
||||
<button
|
||||
onClick={() => setImportType('init')}
|
||||
className={`px-3 py-1.5 text-xs font-medium border-b-2 transition-colors ${importType === 'init' ? 'border-primary text-primary' : 'border-transparent text-gray-500 hover:text-gray-700'}`}
|
||||
className={`px-4 py-2 text-sm font-medium border-b-2 transition-colors ${importType === 'init' ? 'border-primary text-primary' : 'border-transparent text-gray-500 hover:text-gray-700'}`}
|
||||
>
|
||||
初始化导入
|
||||
</button>
|
||||
<button
|
||||
onClick={() => setImportType('monthly')}
|
||||
className={`px-3 py-1.5 text-xs font-medium border-b-2 transition-colors ${importType === 'monthly' ? 'border-primary text-primary' : 'border-transparent text-gray-500 hover:text-gray-700'}`}
|
||||
className={`px-4 py-2 text-sm font-medium border-b-2 transition-colors ${importType === 'monthly' ? 'border-primary text-primary' : 'border-transparent text-gray-500 hover:text-gray-700'}`}
|
||||
>
|
||||
月度导入
|
||||
</button>
|
||||
@@ -830,9 +836,9 @@ function InitImport() {
|
||||
})}
|
||||
</div>
|
||||
<div className="overflow-x-auto max-h-60 overflow-y-auto">
|
||||
<table className="w-full text-xs">
|
||||
<table className="w-full text-sm">
|
||||
<thead className="sticky top-0 bg-white">
|
||||
<tr className="border-b text-left text-gray-500">
|
||||
<tr className="border-b text-left text-xs text-gray-500">
|
||||
<th className="py-1 px-2">行号</th>
|
||||
<th className="py-1 px-2">姓名</th>
|
||||
<th className="py-1 px-2">状态</th>
|
||||
|
||||
Reference in New Issue
Block a user