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

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", "system",
<i className="iconfont icon-icon-setting" />, <i className="iconfont icon-icon-setting" />,
[ [
getItem("系统配置", "/system/index", null, null, null),
getItem("管理人员", "/system/administrator", null, null, null), getItem("管理人员", "/system/administrator", null, null, null),
getItem("角色配置", "/system/adminroles", null, null, null), getItem("角色配置", "/system/adminroles", null, null, null),
getItem("系统配置", "/system/index", null, 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 { .ant-modal-confirm-btns > .ant-btn-default:hover {
color: #ff4d4f !important; color: #ff4d4f !important;
border-color: #ff4d4f; border-color: #ff4d4f;

View File

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

View File

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

View File

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