调整部分代码
This commit is contained in:
parent
dc2af6e2b5
commit
a74ef1eff1
|
|
@ -1152,5 +1152,6 @@
|
||||||
"Exchange rate": "兑换比率",
|
"Exchange rate": "兑换比率",
|
||||||
"gross": "总量",
|
"gross": "总量",
|
||||||
"remaining quantity": "剩余数量",
|
"remaining quantity": "剩余数量",
|
||||||
"Immediately change": "立即兑换"
|
"Immediately change": "立即兑换",
|
||||||
|
"IDO Exchange": "IDO 兑换"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -26,15 +26,15 @@ const config: (t: ContextApi['t']) => MenuEntry[] = (t) => [
|
||||||
// ],
|
// ],
|
||||||
// },
|
// },
|
||||||
{
|
{
|
||||||
label: t('Exchange'),
|
label: t('IDO Exchange'),
|
||||||
icon: 'FarmIcon',
|
icon: 'FarmIcon',
|
||||||
href: '/exchange',
|
href: '/exchange',
|
||||||
},
|
},
|
||||||
// {
|
{
|
||||||
// label: t('Exchange'),
|
label: t('Exchange'),
|
||||||
// icon: 'FarmIcon',
|
icon: 'FarmIcon',
|
||||||
// href: 'https://pancake.kiemtienonline360.com/#/swap',
|
href: 'https://pancake.kiemtienonline360.com/#/swap',
|
||||||
// },
|
},
|
||||||
{
|
{
|
||||||
label: t('Liquidity'),
|
label: t('Liquidity'),
|
||||||
icon: 'FarmIcon',
|
icon: 'FarmIcon',
|
||||||
|
|
|
||||||
|
|
@ -1273,11 +1273,12 @@
|
||||||
"Earnings will be cleared after forced cancellation. Confirm cancellation": "Earnings will be cleared after forced cancellation. Confirm cancellation",
|
"Earnings will be cleared after forced cancellation. Confirm cancellation": "Earnings will be cleared after forced cancellation. Confirm cancellation",
|
||||||
"HighCitySwapInfo": "HIighCitySwap was born from the fanatical pursuit of blockchain technology by its founder Liu Bus, who always believes that blockchain technology can be applied more widely. For this reason, he made a brave decision to give up investment in other fields and focus on the practice and application of blockchain technology. He fused his familiar field -- Internet social interaction with blockchain technology and thus HighCitySwap was born. This is our beginning, thank you for your support, the HighCity team will always move forward.",
|
"HighCitySwapInfo": "HIighCitySwap was born from the fanatical pursuit of blockchain technology by its founder Liu Bus, who always believes that blockchain technology can be applied more widely. For this reason, he made a brave decision to give up investment in other fields and focus on the practice and application of blockchain technology. He fused his familiar field -- Internet social interaction with blockchain technology and thus HighCitySwap was born. This is our beginning, thank you for your support, the HighCity team will always move forward.",
|
||||||
"After pledge, income will lock warehouse%times%": "After pledge, income will lock warehouse%times%",
|
"After pledge, income will lock warehouse%times%": "After pledge, income will lock warehouse%times%",
|
||||||
"IDO exchange in the first phase": "第一期IDO兑换",
|
"IDO exchange in the first phase": "IDO exchange in the first phase",
|
||||||
"Opening time of next exchange period:": "Opening time of next exchange period:",
|
"Opening time of next exchange period:": "Opening time of next exchange period:",
|
||||||
"Please enter the amount": "Please enter the amount",
|
"Please enter the amount": "Please enter the amount",
|
||||||
"Exchange rate": "Exchange rate",
|
"Exchange rate": "Exchange rate",
|
||||||
"gross": "gross",
|
"gross": "gross",
|
||||||
"remaining quantity": "remaining quantity",
|
"remaining quantity": "remaining quantity",
|
||||||
"Immediately change": "Immediately change"
|
"Immediately change": "Immediately change",
|
||||||
|
"IDO Exchange": "IDO Exchange"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@ const StakeAction: React.FC<NodeCardActionsProps> = ({ stakedBalance, tokenBalan
|
||||||
const formatSeconds = (value: number) => {
|
const formatSeconds = (value: number) => {
|
||||||
const second = value
|
const second = value
|
||||||
// 分
|
// 分
|
||||||
let minute: any = 0
|
let minute = 0
|
||||||
// 如果秒数大于60,将秒数转换成整数
|
// 如果秒数大于60,将秒数转换成整数
|
||||||
if (second > 60) {
|
if (second > 60) {
|
||||||
// 获取分钟,除以60取整数,得到整数分钟
|
// 获取分钟,除以60取整数,得到整数分钟
|
||||||
|
|
|
||||||
|
|
@ -35,8 +35,12 @@ const RateNumber = styled(Text)`
|
||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
color: #1fc7d4;
|
color: #1fc7d4;
|
||||||
`
|
`
|
||||||
const FooterButton = styled(Button)`
|
const FooterButton = styled.div`
|
||||||
margin-top: 50px;
|
margin-top: 50px;
|
||||||
|
width: 100%;
|
||||||
|
`
|
||||||
|
const UnlockButtonDiv = styled(UnlockButton)`
|
||||||
|
width: 100%;
|
||||||
`
|
`
|
||||||
|
|
||||||
const ExchangeCard: React.FC = () => {
|
const ExchangeCard: React.FC = () => {
|
||||||
|
|
@ -60,7 +64,9 @@ const ExchangeCard: React.FC = () => {
|
||||||
</Text>
|
</Text>
|
||||||
</Flex>
|
</Flex>
|
||||||
<ExchangeInput name="HCC" />
|
<ExchangeInput name="HCC" />
|
||||||
<FooterButton>{account ? <Button>{t('Immediately change')}</Button> : <UnlockButton />}</FooterButton>
|
<FooterButton>
|
||||||
|
{account ? <Button width="100%">{t('Immediately change')}</Button> : <UnlockButtonDiv />}
|
||||||
|
</FooterButton>
|
||||||
</FCard>
|
</FCard>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue