This commit is contained in:
‘Liammcl’
2024-12-28 15:53:26 +08:00
18 changed files with 5018 additions and 421 deletions

View File

@@ -229,7 +229,7 @@ const ServicePage = () => {
return (
<div className="bg-gray-50 p-4 rounded-lg">
{record.attributes.sections.map((section) => (
<div key={section.key} className="mb-6 bg-white rounded-lg shadow-sm p-4">
<div key={section.key} className="mb-6 rounded-lg shadow-sm p-4">
<div className="flex items-center justify-between mb-3 border-b pb-2">
<h3 className="text-lg font-medium text-gray-800">{section.sectionName}</h3>
<Popconfirm
@@ -586,7 +586,7 @@ const ServicePage = () => {
pageSize: 10,
showTotal: (total) => `${total}`,
}}
className="bg-white rounded-lg"
className="rounded-lg"
/>
{/* 添加模板类型选择弹窗 */}

View File

@@ -264,7 +264,7 @@ const Classify = ({activeType,typeList}) => {
</div>
</div>
<div className="bg-white rounded-lg shadow-sm">
<div className="rounded-lg shadow-sm">
<Form form={form}>
<Table
scroll={{ x: true }}

View File

@@ -36,12 +36,12 @@ const ResourceManagement = () => {
},[activeType])
return (
<div className="p-6 bg-gray-50 min-h-screen">
<div className="p-6 min-h-screen">
<Tabs
activeKey={activeType}
onChange={setActiveType}
type="card"
className="bg-white rounded-lg shadow-sm"
className="rounded-lg shadow-sm"
items={TEMPLATE_TYPES.map(type => {
return ({
key: type.key,

View File

@@ -223,7 +223,7 @@ const UnitManagement = ({ activeType, typeList }) => {
return (
<div className="p-6 bg-gray-50">
<div className="bg-white rounded-lg shadow-sm mb-6 p-4">
<div className="rounded-lg shadow-sm mb-6 p-4">
<div className="flex flex-col sm:flex-row justify-between items-start sm:items-center gap-4">
<div className="flex items-center gap-2">
<Button
@@ -261,7 +261,7 @@ const UnitManagement = ({ activeType, typeList }) => {
</div>
</div>
<div className="bg-white rounded-lg shadow-sm">
<div className="rounded-lg shadow-sm">
<Form form={form}>
<Table
scroll={{ x: true }}