删除弹窗确认按钮样式优化

This commit is contained in:
禺狨 2023-03-15 10:28:02 +08:00
parent 11c795451d
commit 86d9a27b28
5 changed files with 9 additions and 5 deletions

View File

@ -60,9 +60,9 @@ const items = [
"system",
<i className="iconfont icon-icon-setting" />,
[
getItem("系统配置", "/system/index", null, null, null),
getItem("管理人员", "/system/administrator", null, null, null),
getItem("角色配置", "/system/adminroles", null, null, null),
getItem("系统配置", "/system/index", null, null, null),
],
null
),

View File

@ -416,6 +416,10 @@ textarea.ant-input {
}
}
.ant-tree-switcher{
padding-left: 4px;
}
.ant-modal-confirm-btns > .ant-btn-default:hover {
color: #ff4d4f !important;
border-color: #ff4d4f;

View File

@ -74,7 +74,7 @@ export const MemberPage: React.FC = () => {
<Space size="small">
<PerButton
type="link"
text="详情"
text="编辑"
class="b-link c-red"
icon={null}
p="user-update"
@ -195,7 +195,7 @@ export const MemberPage: React.FC = () => {
<Link style={{ textDecoration: "none" }} to={`/member/create`}>
<PerButton
type="primary"
text="新建"
text="添加学员"
class="mr-16"
icon={<PlusOutlined />}
p="user-store"

View File

@ -76,7 +76,7 @@ export const SystemAdministratorCreate: React.FC<PropInterface> = ({
return (
<>
<Modal
title="新建管理人员"
title="添加管理员"
centered
forceRender
open={open}

View File

@ -164,7 +164,7 @@ export const SystemAdministratorPage: React.FC = () => {
<div className="d-flex">
<PerButton
type="primary"
text="新建管理人员"
text="添加管理员"
class="mr-16"
icon={<PlusOutlined />}
p="admin-user-cud"