feat: 参考原型图 ui优化提交 企业端-企业中心 相关的页面
This commit is contained in:
@@ -104,11 +104,12 @@ html.dark .usage-record-tabs .ant-tabs-ink-bar {
|
||||
.usage-record-panels {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 20px;
|
||||
gap: var(--uc-layout-gap);
|
||||
}
|
||||
|
||||
/* 卡片 */
|
||||
.usage-record-card.ant-card {
|
||||
min-width: 0;
|
||||
border-color: var(--ur-card-border);
|
||||
border-radius: 10px;
|
||||
box-shadow: var(--ur-card-shadow);
|
||||
@@ -116,6 +117,9 @@ html.dark .usage-record-tabs .ant-tabs-ink-bar {
|
||||
.usage-record-card > .ant-card-body {
|
||||
padding: 24px;
|
||||
}
|
||||
.usage-record-table-card > .ant-card-body {
|
||||
overflow-x: auto;
|
||||
}
|
||||
.usage-record-filter-card.ant-card {
|
||||
background: var(--ur-filter-bg);
|
||||
}
|
||||
|
||||
@@ -190,7 +190,10 @@ const UserCenterSidebar = () => {
|
||||
const selectedKey = getSelectedKey();
|
||||
|
||||
return (
|
||||
<aside className='ui-user-sidebar' style={{ width: collapsed ? 64 : 216 }}>
|
||||
<aside
|
||||
className='ui-user-sidebar ui-center-sidebar'
|
||||
data-collapsed={collapsed}
|
||||
>
|
||||
<Menu
|
||||
mode='inline'
|
||||
inlineCollapsed={collapsed}
|
||||
|
||||
@@ -29,7 +29,7 @@ import { StatusContext } from '../../context/Status';
|
||||
|
||||
import StatsCards from '../../components/dashboard/StatsCards';
|
||||
import ChartsPanel from '../../components/dashboard/ChartsPanel';
|
||||
import SearchModal from '../../components/dashboard/modals/SearchModal';
|
||||
import UserDashboardFilterModal from '../../components/dashboard/modals/UserDashboardFilterModal';
|
||||
import NoticeModal from '../../components/layout/NoticeModal';
|
||||
import { API, renderQuota } from '../../helpers';
|
||||
import { useIsMobile } from '../../hooks/common/useIsMobile';
|
||||
@@ -150,7 +150,7 @@ const UserDashboard = () => {
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<div className='uc-dashboard h-full overflow-y-auto relative'>
|
||||
<div className='uc-dashboard min-h-full relative'>
|
||||
{/* 原型 .dashboard-hero 装饰层:渐变、网格线、底部渐隐与右侧插画(纯视觉,不参与交互) */}
|
||||
<div className='uc-dashboard-hero' aria-hidden='true'>
|
||||
<img src={dashboardCompute} alt='' className='ui-dashboard-art' />
|
||||
@@ -207,7 +207,7 @@ const UserDashboard = () => {
|
||||
}
|
||||
/>
|
||||
|
||||
<SearchModal
|
||||
<UserDashboardFilterModal
|
||||
searchModalVisible={dashboardData.searchModalVisible}
|
||||
handleSearchConfirm={handleSearchConfirm}
|
||||
handleCloseModal={dashboardData.handleCloseModal}
|
||||
|
||||
@@ -208,7 +208,7 @@ const UserCenter = ({ keyManagementMode = false }) => {
|
||||
</div>
|
||||
|
||||
{/* Main Content */}
|
||||
<div className='flex-1 h-full overflow-hidden relative pb-16 md:pb-0'>
|
||||
<div className='min-w-0 flex-1 h-full overflow-hidden relative pb-16 md:pb-0'>
|
||||
{/* 统一页面背景层 —— 唯一背景来源,走 bg-glow-* 主题变量 */}
|
||||
<PageBackground />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user