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
6552d341
Commit
6552d341
authored
Jul 29, 2025
by
zhangyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
到实际
parent
6a749cd6
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
6 deletions
+22
-6
main.ts
mock/main.ts
+1
-1
HomePage.less
src/pages/HomePage/HomePage.less
+3
-1
HomePage.tsx
src/pages/HomePage/HomePage.tsx
+2
-2
sharePage.jsx
src/pages/sharePage/sharePage.jsx
+4
-1
sharePage.less
src/pages/sharePage/sharePage.less
+12
-1
No files found.
mock/main.ts
View file @
6552d341
...
...
@@ -317,7 +317,7 @@ export default [
"rate"
:
6030
},
],
"boolWealth"
:
tru
e
,
"boolWealth"
:
fals
e
,
"amount"
:
147.8
,
"jumpUrl"
:
"http://localhost:5173/?t=1"
},
...
...
src/pages/HomePage/HomePage.less
View file @
6552d341
...
...
@@ -196,6 +196,7 @@
opacity: 0.6;
font-size: 26px;
line-height: 27px;
padding-left: 20px;
color: rgba(0, 0, 0, 1);
}
...
...
@@ -207,6 +208,7 @@
position: absolute;
font-size: 66px;
line-height: 56px;
padding-left: 20px;
color: rgb(237, 10, 10);
font-weight: bold;
}
...
...
@@ -214,7 +216,7 @@
.record_btn {
width: 176px;
height: 24px;
left:
50
0px;
left:
49
0px;
top: 116px;
position: absolute;
.sparkBg("homePage/record_list_btn.png");
...
...
src/pages/HomePage/HomePage.tsx
View file @
6552d341
...
...
@@ -255,8 +255,8 @@ class HomePage extends React.Component<any, any> {
return
(
<
div
className=
"com_Container"
ref=
{
(
el
)
=>
this
.
root
=
store
.
homeRoot
=
el
}
>
<
div
className=
"homePage
md4
"
>
<
span
className=
"bg"
></
span
>
<
div
className=
"homePage"
>
<
span
className=
"bg
md4
"
></
span
>
{
/* <span className="title"></span> */
}
<
SvgaPlayer
className=
"title"
src=
{
mainPageTitle
}
></
SvgaPlayer
>
...
...
src/pages/sharePage/sharePage.jsx
View file @
6552d341
...
...
@@ -90,7 +90,10 @@ class SharePage extends React.Component {
<
div
className=
"sharePage"
>
<
span
className=
"bg"
></
span
>
{
!
boolWealth
&&
<
span
className=
"title1"
>
{
`${(amount || 0) / 100}元`
}
<
span
className=
'title1-text'
>
{
`${((amount || 0) / 100).toFixed(2)}元`
}
</
span
>
</
span
>
}
{
boolWealth
&&
<
span
className=
"title2"
></
span
>
}
{
this
.
state
.
btn
===
1
&&
<
span
className=
"doAssitBtn md30"
onClick=
{
()
=>
{
...
...
src/pages/sharePage/sharePage.less
View file @
6552d341
...
...
@@ -26,12 +26,23 @@
top: 129px;
position: absolute;
.sparkBg("sharePage/title1.png");
}
.title1-text {
display: inline-block;
width: 598px;
height: 94px;
left: -86px;
position: absolute;
font-size: 80px;
color: rgb(255, 243, 228);
line-height:
2
94px;
line-height: 94px;
text-align: center;
font-weight: bolder;
font-style: italic;
top: 100px;
overflow: hidden;
text-shadow: -2px -2px 0 #fe9d3a, 2px -2px 0 #fe9d3a, -2px 2px 0 #fe9d3a, 2px 2px 0 #fe9d3a;
}
...
...
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