41 lines
1.2 KiB
TypeScript
41 lines
1.2 KiB
TypeScript
// 提现地址列表页面表格列配置
|
|
export const tableColumns = [
|
|
// 序号
|
|
{ label: '序号', type: 'index', width: 60, align: 'center' as const },
|
|
// 地址
|
|
{ label: '地址', prop: 'address', width: 400, align: 'center' as const, copy: true },
|
|
// TRX余额
|
|
{ label: 'TRX余额', prop: 'trxBalance', align: 'center' as const },
|
|
// USDT余额
|
|
{ label: 'USDT余额', prop: 'usdtBalance', align: 'center' as const },
|
|
// 地址类型
|
|
{ label: '地址类型', prop: 'addressType', align: 'center' as const },
|
|
// 创建时间
|
|
{ label: '创建时间', prop: 'createdAt', align: 'center' as const },
|
|
// 操作
|
|
{ label: '操作', prop: 'action', width: 160, slotName: 'action' as const },
|
|
]
|
|
|
|
// 搜索配置
|
|
export const searchOptions = [
|
|
{
|
|
prop: 'addressType',
|
|
label: '钱包类型',
|
|
type: 'select' as const,
|
|
placeholder: '请选择钱包类型',
|
|
width: '220px',
|
|
options: [
|
|
{ label: 'TRX', value: 'TRX' },
|
|
{ label: 'ETH', value: 'ETH' },
|
|
{ label: 'BTC', value: 'BTC' },
|
|
],
|
|
},
|
|
{
|
|
prop: 'address',
|
|
label: '钱包地址',
|
|
type: 'input' as const,
|
|
placeholder: '请输入钱包地址',
|
|
width: '220px',
|
|
},
|
|
]
|