feat: 自行开发设计 ui样式优化 超管端-控制台 相关的页面

This commit is contained in:
zhanjunhao
2026-11-09 21:45:37 +08:00
parent 54b3e0cc21
commit 5c0849e82b
242 changed files with 9242 additions and 5043 deletions
+3 -1
View File
@@ -33,6 +33,7 @@ import { IconChevronDown, IconChevronUp } from '@/components/ui/icons';
import PropTypes from 'prop-types';
import { useIsMobile } from '../../../hooks/common/useIsMobile';
import { useMinimumLoadingTime } from '../../../hooks/common/useMinimumLoadingTime';
import { useConsolePage } from '../../console/ConsoleContext';
/**
* CardTable 响应式表格组件
@@ -48,6 +49,7 @@ const CardTable = ({
hidePagination = false,
...tableProps
}) => {
const consolePage = useConsolePage();
const isMobile = useIsMobile();
const { t } = useTranslation();
@@ -103,7 +105,7 @@ const CardTable = ({
selectableKeys.length > 0 &&
selectableKeys.every((key) => selectedKeys.includes(key));
if (!isMobile) {
if (!isMobile || consolePage) {
const finalTableProps = hidePagination
? { ...tableProps, pagination: false }
: tableProps;