feat: 参考原型图 ui优化提交 企业端-企业中心 相关的页面

This commit is contained in:
zhanjunhao
2026-11-06 20:19:43 +08:00
parent 43048626a6
commit a075732cb4
147 changed files with 9816 additions and 8768 deletions
@@ -21,16 +21,16 @@ import React from 'react';
import { Modal, Banner } from '@/components/ui';
const actionMeta = {
enable: { title: '批量启用', danger: false, hint: '将选中秘钥批量启用' },
enable: { title: '批量启用', danger: false, hint: '将选中密钥批量启用' },
disable: {
title: '批量禁用',
danger: true,
hint: '将选中秘钥批量禁用,用户将无法使用',
hint: '将选中密钥批量禁用,用户将无法使用',
},
delete: {
title: '批量删除',
danger: true,
hint: '将选中秘钥批量删除,操作不可恢复',
hint: '将选中密钥批量删除,操作不可恢复',
},
};
@@ -59,7 +59,7 @@ const AdminBatchActionModal = ({
okText={t('确认执行')}
>
<div className='space-y-2'>
<div>{t('共选中 {{count}} 个秘钥', { count })}</div>
<div>{t('共选中 {{count}} 个密钥', { count })}</div>
<Banner
type={meta.danger ? 'danger' : 'info'}
description={t(meta.hint)}