import { Tooltip } from 'antd'; import classNames from 'classnames' import './index.less' import { CaretDownOutlined } from '@ant-design/icons' import React from 'react' export interface Item { name: string, type?: number, url?: string, crossDomain?: boolean, icon?: any, iconActive?: any, } interface Iprops { logoSrc?: string, // logo图片路径 activeType: number, // 激活的type items?: Item[], // 系统的选项 bottomItems?: Item[], // 位于底部的选项 indicatorColor?: string, // 指针颜色 onClick?: (item: Item) => void, // 点击选项的回调 } export default function SystemNavigation(props: Iprops) { return (