列表操作模块优化

This commit is contained in:
禺狨 2023-03-09 17:17:02 +08:00
parent 0674a884e8
commit 273063b46e
8 changed files with 20 additions and 13 deletions

View File

@ -201,3 +201,10 @@ textarea.ant-input {
margin-bottom: 0px !important; margin-bottom: 0px !important;
} }
} }
.b-link {
padding: 0 !important;
&:hover {
color: rgba(#ff4d4f, 0.8) !important;
}
}

View File

@ -82,7 +82,7 @@ export const CoursePage = () => {
<PerButton <PerButton
type="link" type="link"
text="详情" text="详情"
class="c-red" class="b-link c-red"
icon={null} icon={null}
p="course" p="course"
onClick={() => navigate(`/course/update/${record.id}`)} onClick={() => navigate(`/course/update/${record.id}`)}
@ -97,7 +97,7 @@ export const CoursePage = () => {
<PerButton <PerButton
type="link" type="link"
text="删除" text="删除"
class="c-red" class="b-link c-red"
icon={null} icon={null}
p="course" p="course"
onClick={() => null} onClick={() => null}

View File

@ -61,7 +61,7 @@ export const DepartmentPage: React.FC = () => {
<PerButton <PerButton
type="link" type="link"
text="详情" text="详情"
class="c-red" class="b-link c-red"
icon={null} icon={null}
p="department-cud" p="department-cud"
onClick={() => navigate(`/department/update/${record.id}`)} onClick={() => navigate(`/department/update/${record.id}`)}
@ -76,7 +76,7 @@ export const DepartmentPage: React.FC = () => {
<PerButton <PerButton
type="link" type="link"
text="删除" text="删除"
class="c-red" class="b-link c-red"
icon={null} icon={null}
p="department-cud" p="department-cud"
onClick={() => null} onClick={() => null}

View File

@ -84,7 +84,7 @@ export const MemberPage: React.FC = () => {
<PerButton <PerButton
type="link" type="link"
text="详情" text="详情"
class="c-red" class="b-link c-red"
icon={null} icon={null}
p="user-update" p="user-update"
onClick={() => navigate(`/member/update/${record.id}`)} onClick={() => navigate(`/member/update/${record.id}`)}
@ -99,7 +99,7 @@ export const MemberPage: React.FC = () => {
<PerButton <PerButton
type="link" type="link"
text="删除" text="删除"
class="c-red" class="b-link c-red"
icon={null} icon={null}
p="user-destroy" p="user-destroy"
onClick={() => null} onClick={() => null}

View File

@ -61,7 +61,7 @@ export const ResourceCategoryPage: React.FC = () => {
<PerButton <PerButton
type="link" type="link"
text="详情" text="详情"
class="c-red" class="b-link c-red"
icon={null} icon={null}
p="department-cud" p="department-cud"
onClick={() => navigate(`/resource-category/update/${record.id}`)} onClick={() => navigate(`/resource-category/update/${record.id}`)}
@ -76,7 +76,7 @@ export const ResourceCategoryPage: React.FC = () => {
<PerButton <PerButton
type="link" type="link"
text="删除" text="删除"
class="c-red" class="b-link c-red"
icon={null} icon={null}
p="department-cud" p="department-cud"
onClick={() => null} onClick={() => null}

View File

@ -84,7 +84,7 @@ export const ResourceVideosPage = () => {
okText="确定" okText="确定"
cancelText="取消" cancelText="取消"
> >
<Button type="link" className="c-red" onClick={() => null}> <Button type="link" className="b-link c-red" onClick={() => null}>
</Button> </Button>
</Popconfirm> </Popconfirm>

View File

@ -76,7 +76,7 @@ export const SystemAdministratorPage: React.FC = () => {
<PerButton <PerButton
type="link" type="link"
text="详情" text="详情"
class="c-red" class="b-link c-red"
icon={null} icon={null}
p="admin-user-cud" p="admin-user-cud"
onClick={() => onClick={() =>
@ -93,7 +93,7 @@ export const SystemAdministratorPage: React.FC = () => {
<PerButton <PerButton
type="link" type="link"
text="删除" text="删除"
class="c-red" class="b-link c-red"
icon={null} icon={null}
p="admin-user-cud" p="admin-user-cud"
onClick={() => null} onClick={() => null}

View File

@ -40,7 +40,7 @@ export const SystemAdminrolesPage: React.FC = () => {
<Button <Button
type="link" type="link"
danger danger
className="c-red" className="b-link c-red"
onClick={() => navigate(`/system/adminroles/update/${record.id}`)} onClick={() => navigate(`/system/adminroles/update/${record.id}`)}
> >
@ -52,7 +52,7 @@ export const SystemAdminrolesPage: React.FC = () => {
okText="确定" okText="确定"
cancelText="取消" cancelText="取消"
> >
<Button type="link" danger className="c-red"> <Button type="link" danger className="b-link c-red">
</Button> </Button>
</Popconfirm> </Popconfirm>