mirror of
https://github.com/linux-do/new-api.git
synced 2025-11-12 17:13:43 +08:00
视觉优化
This commit is contained in:
@@ -151,13 +151,13 @@ const EditToken = (props) => {
|
||||
|
||||
if (successCount > 0) {
|
||||
showSuccess(`${successCount}个令牌创建成功,请在列表页面点击复制获取令牌!`);
|
||||
props.refresh();
|
||||
props.handleClose();
|
||||
}
|
||||
}
|
||||
setLoading(false);
|
||||
setInputs(originInputs); // 重置表单
|
||||
setTokenCount(1); // 重置数量为默认值
|
||||
props.refresh();
|
||||
props.handleClose();
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import React, {useEffect, useState} from 'react';
|
||||
import {Confirm} from 'semantic-ui-react';
|
||||
import {API, isMobile, showError, showInfo, showSuccess} from '../../helpers';
|
||||
import {renderNumber, renderQuota} from '../../helpers/render';
|
||||
import {Col, Layout, Row, Typography, Card, Button, Form, Divider, Space, Modal} from "@douyinfe/semi-ui";
|
||||
@@ -179,8 +178,8 @@ const TopUp = () => {
|
||||
size={'small'}
|
||||
centered={true}
|
||||
>
|
||||
<p>充值数量:{topUpCount}</p>
|
||||
<p>充值金额:{renderAmount()}</p>
|
||||
<p>充值数量:{topUpCount}$</p>
|
||||
<p>实付金额:{renderAmount()}</p>
|
||||
<p>是否确认充值?</p>
|
||||
</Modal>
|
||||
<div style={{marginTop: 20, display: 'flex', justifyContent: 'center'}}>
|
||||
@@ -224,7 +223,7 @@ const TopUp = () => {
|
||||
<Form>
|
||||
<Form.Input
|
||||
field={'redemptionCount'}
|
||||
label={'充值金额:' + renderAmount()}
|
||||
label={'实付金额:' + renderAmount()}
|
||||
placeholder='充值数量'
|
||||
name='redemptionCount'
|
||||
type={'number'}
|
||||
|
||||
Reference in New Issue
Block a user