Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
华
华夏模拟理财_20250701
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
SparkProjects
华夏模拟理财_20250701
Commits
78ddbb44
Commit
78ddbb44
authored
Jul 29, 2025
by
邱旭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:merge
parent
3061cfb3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
main.ts
mock/main.ts
+4
-4
mncp.ts
mock/mncp.ts
+1
-1
DetailPage.tsx
src/pages/DetailPage/DetailPage.tsx
+1
-1
No files found.
mock/main.ts
View file @
78ddbb44
...
...
@@ -53,7 +53,7 @@ export default [
{
"channel"
:
"1"
,
"endTime"
:
"14:00:00"
,
"joinStatus"
:
fals
e
,
"joinStatus"
:
tru
e
,
"rainId"
:
"1"
,
"ruId"
:
null
,
"startTime"
:
"08:00:00"
...
...
@@ -61,7 +61,7 @@ export default [
{
"channel"
:
"1"
,
"endTime"
:
"23:00:00"
,
"joinStatus"
:
fals
e
,
"joinStatus"
:
tru
e
,
"rainId"
:
"2"
,
"ruId"
:
null
,
"startTime"
:
"14:01:30"
...
...
@@ -133,7 +133,7 @@ export default [
"max"
:
900
,
}
}),
"firstMoneyPop"
:
{
"firstMoneyPop
1
"
:
{
"notifyText"
:
"文案文案文案文案文案文案文案文案 文案文文案文案文案文案文案 文案文文案文案文案文案文案 文案文文案文案文案文案文案 文案文文案文案文案文案文案 文案文文案文案文案文案文案 文案文文案文案文案文案文案 文案文案文案文案"
,
"experienceNum"
:
59442359
},
...
...
@@ -142,7 +142,7 @@ export default [
},
"virtualAssets"
:
{
"preDayIncome"
:
"656"
,
"availableFunds"
:
"
10284329.43
"
,
"availableFunds"
:
"
76
"
,
"totalMoney"
:
"359.334"
,
// "realBuyJumpUrl": "anim consectetur dolor",
"totalIncome"
:
359
...
...
mock/mncp.ts
View file @
78ddbb44
...
...
@@ -13,7 +13,7 @@ export default [
tranche
:
Math
.
random
()
*
100000
>>
0
,
marketValue
:
Math
.
random
()
*
10000000
>>
0
,
yesterdayProfit
:
Math
.
random
()
*
10000
>>
0
,
availableFunds
:
Math
.
random
()
*
10000000
>>
0
,
availableFunds
:
766
0
,
minBuyLimit
:
100
,
}
}
...
...
src/pages/DetailPage/DetailPage.tsx
View file @
78ddbb44
...
...
@@ -119,7 +119,7 @@ class DetailPage extends React.Component<any, any> {
ModalCtrl
.
showModal
(
BuyPanel
,
{
name
:
this
.
state
.
productName
,
amount
:
!
this
.
state
.
firtIn
?
+
buyInput
/
100
:
+
buyInput
,
amount
:
this
.
state
.
firtIn
?
+
buyInput
/
100
:
+
buyInput
,
call
:
async
()
=>
{
const
{
success
,
data
}
=
await
API
.
buy
({
code
:
this
.
props
.
code
,
amount
:
!
this
.
state
.
firtIn
?
+
buyInput
*
100
:
+
buyInput
});
this
.
updateInfo
();
...
...
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