46 lines
956 B
TypeScript
46 lines
956 B
TypeScript
import {
|
|
BarChartOutlined,
|
|
RobotOutlined,
|
|
ThunderboltOutlined,
|
|
} from "@ant-design/icons";
|
|
// 菜单项接口
|
|
export interface MenuItem {
|
|
id: string;
|
|
title: string;
|
|
icon: React.ReactNode;
|
|
path?: string;
|
|
}
|
|
|
|
// 菜单列表数据
|
|
export const menuList: MenuItem[] = [
|
|
{
|
|
id: "wechat",
|
|
title: "AI智能客服",
|
|
icon: <RobotOutlined className="menuIcon" style={{ fontSize: 20 }} />,
|
|
path: "/pc/weChat",
|
|
},
|
|
{
|
|
id: "powerCenter",
|
|
title: "功能中心",
|
|
icon: <BarChartOutlined className="menuIcon" style={{ fontSize: 20 }} />,
|
|
path: "/pc/powerCenter",
|
|
},
|
|
];
|
|
|
|
// 抽屉菜单配置数据
|
|
export const drawerMenuData = {
|
|
header: {
|
|
logoIcon: "✨",
|
|
appName: "触客宝",
|
|
appDesc: "AI智能营销系统",
|
|
},
|
|
footer: {
|
|
balanceIcon: <ThunderboltOutlined size={20} />,
|
|
balanceLabel: "算力余额",
|
|
balanceValue: "9307.423",
|
|
},
|
|
};
|
|
|
|
// 导出默认配置
|
|
export default drawerMenuData;
|