import useNewToken from "@/Hook/useNewToken"; import { useSize } from "ahooks"; import { Button, Card, InputProps, Space, SelectProps, Input, Select } from "antd" import { Key, useCallback, useEffect, useMemo, useRef, useState } from "react"; import { DownOutlined, UpOutlined } from '@ant-design/icons'; import React from "react"; import GlobalHeader from "./header"; interface IpnutType extends InputProps { label: 'Input', name: string } interface SelectType extends SelectProps { label: 'Select', name: string } export interface SearchBoxConfigPorps { config?: Array, } interface SearchBoxProps extends SearchBoxConfigPorps { children?: JSX.Element, buttons?: JSX.Element, bodyPadding?: string | number,//自定义bodyPadding isCustom?: boolean//是否自义定搜索条件 } /** *@param buttons 按钮组件 <>...