存
This commit is contained in:
@@ -9,6 +9,11 @@ import {
|
||||
FileTextOutlined,
|
||||
RobotOutlined,
|
||||
UserAddOutlined,
|
||||
AppstoreOutlined,
|
||||
SoundOutlined,
|
||||
TeamOutlined,
|
||||
FolderOutlined,
|
||||
BarChartOutlined,
|
||||
} from "@ant-design/icons";
|
||||
|
||||
export interface FeatureCard {
|
||||
@@ -24,6 +29,7 @@ export interface FeatureCard {
|
||||
export interface TabItem {
|
||||
key: string;
|
||||
label: string;
|
||||
icon?: React.ReactNode;
|
||||
active?: boolean;
|
||||
}
|
||||
|
||||
@@ -104,10 +110,10 @@ export const featureCards: FeatureCard[] = [
|
||||
];
|
||||
|
||||
export const tabItems: TabItem[] = [
|
||||
{ key: "all", label: "全部功能" },
|
||||
{ key: "marketing", label: "营销推广" },
|
||||
{ key: "customer", label: "客户管理" },
|
||||
{ key: "ai", label: "AI智能" },
|
||||
{ key: "content", label: "内容管理" },
|
||||
{ key: "data", label: "数据分析" },
|
||||
{ key: "all", label: "全部功能", icon: <AppstoreOutlined /> },
|
||||
{ key: "marketing", label: "营销推广", icon: <SoundOutlined /> },
|
||||
{ key: "customer", label: "客户管理", icon: <TeamOutlined /> },
|
||||
{ key: "ai", label: "AI智能", icon: <RobotOutlined /> },
|
||||
{ key: "content", label: "内容管理", icon: <FolderOutlined /> },
|
||||
{ key: "data", label: "数据分析", icon: <BarChartOutlined /> },
|
||||
];
|
||||
|
||||
@@ -54,6 +54,7 @@ const PowerCenter: React.FC = () => {
|
||||
activeTab === item.key ? styles.activeTab : styles.tab
|
||||
}
|
||||
onClick={() => handleTabClick(item.key)}
|
||||
icon={item.icon}
|
||||
>
|
||||
{item.label}
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user