diff --git a/src/app/(main)/users/page.tsx b/src/app/(main)/users/page.tsx index 0ee25f3..1c7c788 100644 --- a/src/app/(main)/users/page.tsx +++ b/src/app/(main)/users/page.tsx @@ -190,8 +190,14 @@ export default function UsersPage() { const columns: ColumnsType = [ { title: 'ID', dataIndex: 'id', width: 80, sorter: true, sortOrder: sortOrderOf('id') }, - { title: '手机号', dataIndex: 'phone' }, - { title: '昵称', dataIndex: 'nickname', render: (v: string | null) => v || '-' }, + { title: '手机号', dataIndex: 'phone', width: 130 }, + { + title: '昵称', + dataIndex: 'nickname', + width: 150, + ellipsis: true, + render: (v: string | null) => v || '-', + }, { title: '渠道', dataIndex: 'register_channel', width: 90 }, { title: '状态', @@ -219,9 +225,9 @@ export default function UsersPage() { title: '操作', key: 'op', fixed: 'right', - width: 230, + width: 300, render: (_: unknown, u: UserListItem) => ( - e.stopPropagation()}> + e.stopPropagation()}> router.push(`/users/${u.id}`)}>详情 {canCoins && setCoinUser(u)}>调金币} {canCoins && setCashUser(u)}>调现金} @@ -334,7 +340,7 @@ export default function UsersPage() { dataSource={items} loading={loading} pagination={false} - scroll={{ x: 1100 }} + scroll={{ x: 1160 }} onChange={onTableChange} />