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
6aa6bca7
Commit
6aa6bca7
authored
Jul 10, 2025
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
336d7c2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
DetailPage.tsx
src/pages/DetailPage/DetailPage.tsx
+11
-0
No files found.
src/pages/DetailPage/DetailPage.tsx
View file @
6aa6bca7
...
...
@@ -81,6 +81,17 @@ class DetailPage extends React.Component<any, any> {
return
;
}
if
(
+
buyInput
*
100
<
this
.
state
.
minBuyLimit
){
Toast
.
show
(
"低于起购价"
);
return
;
}
const
div
=
+
buyInput
*
100
/
this
.
state
.
minBuyLimit
;
if
(
div
!==
Math
.
floor
(
div
)){
Toast
.
show
(
"按起购倍数递增哦~"
);
return
;
}
if
(
+
buyInput
*
100
>
this
.
state
.
availableFunds
)
{
Toast
.
show
(
"超出买入上限啦"
);
return
;
...
...
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