mirror of
https://github.com/PlayEdu/backend
synced 2025-07-20 00:59:40 +08:00
列表操作模块优化
This commit is contained in:
parent
0674a884e8
commit
273063b46e
@ -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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -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}
|
||||||
|
@ -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}
|
||||||
|
@ -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}
|
||||||
|
@ -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}
|
||||||
|
@ -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>
|
||||||
|
@ -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}
|
||||||
|
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user