Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
68c47962
authored
Mar 07, 2024
by
1808837298@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 添加充值记录按钮
parent
c420eff2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
web/src/pages/TopUp/index.js
+11
-0
No files found.
web/src/pages/TopUp/index.js
View file @
68c47962
...
...
@@ -3,6 +3,8 @@ 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"
;
import
Title
from
"@douyinfe/semi-ui/lib/es/typography/title"
;
import
Text
from
'@douyinfe/semi-ui/lib/es/typography/text'
;
import
{
Link
}
from
'react-router-dom'
;
const
TopUp
=
()
=>
{
const
[
redemptionCode
,
setRedemptionCode
]
=
useState
(
''
);
...
...
@@ -290,6 +292,15 @@ const TopUp = () => {
<
/Space
>
<
/Form
>
<
/div
>
<
div
style
=
{{
display
:
'flex'
,
justifyContent
:
'right'
}}
>
<
Text
>
<
Link
onClick
=
{
async
()
=>
{
window
.
location
.
href
=
'/topup/history'
}
}
>
充值记录
<
/Link
>
<
/Text
>
<
/div
>
<
/Card
>
<
/div
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment