|
@@ -587,8 +587,9 @@ function MyLPPageContent() {
|
|
|
{
|
|
{
|
|
|
title: '仓位来源',
|
|
title: '仓位来源',
|
|
|
dataIndex: 'bonusInfo',
|
|
dataIndex: 'bonusInfo',
|
|
|
- width: 180,
|
|
|
|
|
- key: 'bonusInfo',
|
|
|
|
|
|
|
+ width: 120,
|
|
|
|
|
+ fixed: 'right',
|
|
|
|
|
+ key: 'bonusInfoSource',
|
|
|
render: (text: string, record: RecordInfo) => (
|
|
render: (text: string, record: RecordInfo) => (
|
|
|
<span className="font-mono text-sm">
|
|
<span className="font-mono text-sm">
|
|
|
{record?.bonusInfo?.fromCreatorPosition ? (
|
|
{record?.bonusInfo?.fromCreatorPosition ? (
|
|
@@ -612,7 +613,8 @@ function MyLPPageContent() {
|
|
|
title: '操作',
|
|
title: '操作',
|
|
|
dataIndex: 'bonusInfo',
|
|
dataIndex: 'bonusInfo',
|
|
|
width: 120,
|
|
width: 120,
|
|
|
- key: 'bonusInfo',
|
|
|
|
|
|
|
+ fixed: 'right',
|
|
|
|
|
+ key: 'bonusInfoAction',
|
|
|
render: (text: string, record: RecordInfo) => (
|
|
render: (text: string, record: RecordInfo) => (
|
|
|
<div className="flex items-center gap-3">
|
|
<div className="flex items-center gap-3">
|
|
|
<Tooltip title="去关仓">
|
|
<Tooltip title="去关仓">
|
|
@@ -817,7 +819,7 @@ function MyLPPageContent() {
|
|
|
<main style={{ padding: '24px' }}>
|
|
<main style={{ padding: '24px' }}>
|
|
|
<div className="mb-4">
|
|
<div className="mb-4">
|
|
|
{userAddress ? (
|
|
{userAddress ? (
|
|
|
- <div className="flex items-center gap-2 mb-4">
|
|
|
|
|
|
|
+ <div className="flex flex-wrap items-center gap-2 mb-4">
|
|
|
<Select
|
|
<Select
|
|
|
value={tokenAddress}
|
|
value={tokenAddress}
|
|
|
placeholder="选择 LP Token"
|
|
placeholder="选择 LP Token"
|
|
@@ -838,7 +840,9 @@ function MyLPPageContent() {
|
|
|
onMintChange(value)
|
|
onMintChange(value)
|
|
|
}}
|
|
}}
|
|
|
/>
|
|
/>
|
|
|
- <p className="text-lg font-bold">你的地址: {userAddress}</p>
|
|
|
|
|
|
|
+ <p className="text-lg font-bold truncate max-w-xs sm:max-w-md">
|
|
|
|
|
+ 你的地址: {userAddress}
|
|
|
|
|
+ </p>
|
|
|
<Button type="primary" onClick={handleAddressChange}>
|
|
<Button type="primary" onClick={handleAddressChange}>
|
|
|
更换地址
|
|
更换地址
|
|
|
</Button>
|
|
</Button>
|
|
@@ -905,6 +909,8 @@ function MyLPPageContent() {
|
|
|
pageSize: pagination.pageSize || 50,
|
|
pageSize: pagination.pageSize || 50,
|
|
|
})
|
|
})
|
|
|
}}
|
|
}}
|
|
|
|
|
+ scroll={{ x: 'max-content' }}
|
|
|
|
|
+ style={{ overflowX: 'auto' }}
|
|
|
/>
|
|
/>
|
|
|
</Spin>
|
|
</Spin>
|
|
|
)}
|
|
)}
|