feat: 统一页面布局与字体样式
This commit is contained in:
@@ -29,7 +29,10 @@ export default function Money() {
|
||||
<div className="space-y-4">
|
||||
<div className="flex items-center gap-2">
|
||||
<Wallet className="w-5 h-5 text-primary" />
|
||||
<h1 className="text-base font-semibold">薪税管理</h1>
|
||||
<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 overflow-x-auto">
|
||||
@@ -644,9 +647,9 @@ function BatchDetail({ batchId, onBack }: { batchId: string; onBack: () => void
|
||||
<Pagination page={page} pageSize={pageSize} total={batch.entries.length} onPageChange={setPage} onPageSizeChange={(s) => { setPageSize(s); setPage(1) }} />
|
||||
)}
|
||||
<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-2">员工</th>
|
||||
<th className="py-2 px-2 text-right">基本工资</th>
|
||||
<th className="py-2 px-2 text-right">加班费</th>
|
||||
@@ -875,9 +878,9 @@ function TemplateManager() {
|
||||
<div className="text-center py-4 text-gray-500">加载中...</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-2">序号</th>
|
||||
<th className="py-2 px-2">名称</th>
|
||||
<th className="py-2 px-2">字段代码</th>
|
||||
@@ -1268,9 +1271,9 @@ function OvertimeCalculator() {
|
||||
<div className="border-t pt-3 space-y-3">
|
||||
<div className="text-xs font-medium text-gray-700">预览({previewData.length}条)</div>
|
||||
<div className="overflow-x-auto">
|
||||
<table className="w-full text-xs">
|
||||
<table className="w-full text-sm">
|
||||
<thead>
|
||||
<tr className="border-b text-gray-500">
|
||||
<tr className="border-b text-xs text-gray-500">
|
||||
<th className="py-2 text-left">员工</th>
|
||||
<th className="py-2 text-left">部门</th>
|
||||
<th className="py-2 text-right">工作日(h)</th>
|
||||
@@ -1324,9 +1327,9 @@ function OvertimeCalculator() {
|
||||
<div className="text-center py-8 text-gray-500">该月暂无加班记录,请先导入考勤数据</div>
|
||||
) : (
|
||||
<div className="overflow-x-auto">
|
||||
<table className="w-full text-xs">
|
||||
<table className="w-full text-sm">
|
||||
<thead>
|
||||
<tr className="border-b text-gray-500">
|
||||
<tr className="border-b text-xs text-gray-500">
|
||||
<th className="py-2 text-left">员工</th>
|
||||
<th className="py-2 text-left">部门</th>
|
||||
<th className="py-2 text-right">工作日(h)</th>
|
||||
@@ -1535,9 +1538,9 @@ function PayslipManager() {
|
||||
<Card>
|
||||
<Pagination page={page} pageSize={pageSize} total={payslips.length} onPageChange={setPage} onPageSizeChange={(s) => { setPageSize(s); setPage(1) }} />
|
||||
<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-2">员工</th>
|
||||
<th className="py-2 px-2">部门</th>
|
||||
<th className="py-2 px-2 text-right">基本工资</th>
|
||||
|
||||
Reference in New Issue
Block a user