import React, { FC } from "react"; import clientApi from "@/package/SimpleTrade/api/client"; import MyTable from "@/components/MyTable"; import { Input } from "antd"; import { getTime, splitAddress } from "@/utils"; const RechargeRecord: FC = () => { const columns = [ { title: '用户ID', dataIndex: 'user_id' }, { title: 'from地址', dataIndex: 'from_address', render: (_val) => (
{splitAddress(_val)}
) }, { title: 'to地址', dataIndex: 'to_address', render: (_val) => (
{splitAddress(_val)}
) }, { title: '链ID', dataIndex: 'chain_id' }, { title: '区块高度', dataIndex: 'block_height' }, { title: '数量', dataIndex: 'balance_real' }, { title: '币种', dataIndex: 'symbol' }, { title: '时间', dataIndex: 'create_time', render: (_time) => (
{getTime(_time * 1000)}
) } ] // 搜索栏配置项 const searchConfigList = [ { key: 'name', slot: , initialValue: '' } ] return (
) }; export default RechargeRecord;