mirror of
https://github.com/PlayEdu/backend
synced 2025-07-19 21:09:35 +08:00
列表操作模块优化
This commit is contained in:
parent
0674a884e8
commit
273063b46e
@ -201,3 +201,10 @@ textarea.ant-input {
|
||||
margin-bottom: 0px !important;
|
||||
}
|
||||
}
|
||||
|
||||
.b-link {
|
||||
padding: 0 !important;
|
||||
&:hover {
|
||||
color: rgba(#ff4d4f, 0.8) !important;
|
||||
}
|
||||
}
|
||||
|
@ -82,7 +82,7 @@ export const CoursePage = () => {
|
||||
<PerButton
|
||||
type="link"
|
||||
text="详情"
|
||||
class="c-red"
|
||||
class="b-link c-red"
|
||||
icon={null}
|
||||
p="course"
|
||||
onClick={() => navigate(`/course/update/${record.id}`)}
|
||||
@ -97,7 +97,7 @@ export const CoursePage = () => {
|
||||
<PerButton
|
||||
type="link"
|
||||
text="删除"
|
||||
class="c-red"
|
||||
class="b-link c-red"
|
||||
icon={null}
|
||||
p="course"
|
||||
onClick={() => null}
|
||||
|
@ -61,7 +61,7 @@ export const DepartmentPage: React.FC = () => {
|
||||
<PerButton
|
||||
type="link"
|
||||
text="详情"
|
||||
class="c-red"
|
||||
class="b-link c-red"
|
||||
icon={null}
|
||||
p="department-cud"
|
||||
onClick={() => navigate(`/department/update/${record.id}`)}
|
||||
@ -76,7 +76,7 @@ export const DepartmentPage: React.FC = () => {
|
||||
<PerButton
|
||||
type="link"
|
||||
text="删除"
|
||||
class="c-red"
|
||||
class="b-link c-red"
|
||||
icon={null}
|
||||
p="department-cud"
|
||||
onClick={() => null}
|
||||
|
@ -84,7 +84,7 @@ export const MemberPage: React.FC = () => {
|
||||
<PerButton
|
||||
type="link"
|
||||
text="详情"
|
||||
class="c-red"
|
||||
class="b-link c-red"
|
||||
icon={null}
|
||||
p="user-update"
|
||||
onClick={() => navigate(`/member/update/${record.id}`)}
|
||||
@ -99,7 +99,7 @@ export const MemberPage: React.FC = () => {
|
||||
<PerButton
|
||||
type="link"
|
||||
text="删除"
|
||||
class="c-red"
|
||||
class="b-link c-red"
|
||||
icon={null}
|
||||
p="user-destroy"
|
||||
onClick={() => null}
|
||||
|
@ -61,7 +61,7 @@ export const ResourceCategoryPage: React.FC = () => {
|
||||
<PerButton
|
||||
type="link"
|
||||
text="详情"
|
||||
class="c-red"
|
||||
class="b-link c-red"
|
||||
icon={null}
|
||||
p="department-cud"
|
||||
onClick={() => navigate(`/resource-category/update/${record.id}`)}
|
||||
@ -76,7 +76,7 @@ export const ResourceCategoryPage: React.FC = () => {
|
||||
<PerButton
|
||||
type="link"
|
||||
text="删除"
|
||||
class="c-red"
|
||||
class="b-link c-red"
|
||||
icon={null}
|
||||
p="department-cud"
|
||||
onClick={() => null}
|
||||
|
@ -84,7 +84,7 @@ export const ResourceVideosPage = () => {
|
||||
okText="确定"
|
||||
cancelText="取消"
|
||||
>
|
||||
<Button type="link" className="c-red" onClick={() => null}>
|
||||
<Button type="link" className="b-link c-red" onClick={() => null}>
|
||||
删除
|
||||
</Button>
|
||||
</Popconfirm>
|
||||
|
@ -76,7 +76,7 @@ export const SystemAdministratorPage: React.FC = () => {
|
||||
<PerButton
|
||||
type="link"
|
||||
text="详情"
|
||||
class="c-red"
|
||||
class="b-link c-red"
|
||||
icon={null}
|
||||
p="admin-user-cud"
|
||||
onClick={() =>
|
||||
@ -93,7 +93,7 @@ export const SystemAdministratorPage: React.FC = () => {
|
||||
<PerButton
|
||||
type="link"
|
||||
text="删除"
|
||||
class="c-red"
|
||||
class="b-link c-red"
|
||||
icon={null}
|
||||
p="admin-user-cud"
|
||||
onClick={() => null}
|
||||
|
@ -40,7 +40,7 @@ export const SystemAdminrolesPage: React.FC = () => {
|
||||
<Button
|
||||
type="link"
|
||||
danger
|
||||
className="c-red"
|
||||
className="b-link c-red"
|
||||
onClick={() => navigate(`/system/adminroles/update/${record.id}`)}
|
||||
>
|
||||
详情
|
||||
@ -52,7 +52,7 @@ export const SystemAdminrolesPage: React.FC = () => {
|
||||
okText="确定"
|
||||
cancelText="取消"
|
||||
>
|
||||
<Button type="link" danger className="c-red">
|
||||
<Button type="link" danger className="b-link c-red">
|
||||
删除
|
||||
</Button>
|
||||
</Popconfirm>
|
||||
|
Loading…
x
Reference in New Issue
Block a user