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
f2361b90
Commit
f2361b90
authored
Jul 15, 2025
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
f5ff52c1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
4 deletions
+19
-4
index.ts
mock/index.ts
+3
-2
index.ts
src/api/index.ts
+1
-1
ResPage.module.less
src/pages/ResPage/ResPage.module.less
+9
-0
ResPage.tsx
src/pages/ResPage/ResPage.tsx
+6
-1
No files found.
mock/index.ts
View file @
f2361b90
...
@@ -59,7 +59,7 @@ export default [
...
@@ -59,7 +59,7 @@ export default [
},
},
},
},
{
{
url
:
'/
records
.do'
,
url
:
'/
draw/myRucksack
.do'
,
response
:
({
query
})
=>
{
response
:
({
query
})
=>
{
return
{
return
{
"code"
:
"code"
,
"code"
:
"code"
,
...
@@ -73,7 +73,8 @@ export default [
...
@@ -73,7 +73,8 @@ export default [
"icon"
:
"//yun.dui88.com/images/201907/tua0um9jjp.jpg"
,
"icon"
:
"//yun.dui88.com/images/201907/tua0um9jjp.jpg"
,
"refType"
:
"coupon"
,
"refType"
:
"coupon"
,
"refId"
:
"49354"
,
"refId"
:
"49354"
,
"type"
:
2
"type"
:
2
,
"receiveStatus"
:
true
,
},
},
"strategyId"
:
11
,
"strategyId"
:
11
,
"gmtCreate"
:
1565213353000
,
"gmtCreate"
:
1565213353000
,
...
...
src/api/index.ts
View file @
f2361b90
...
@@ -21,7 +21,7 @@ const API = generateAPI({
...
@@ -21,7 +21,7 @@ const API = generateAPI({
},
},
// 奖品记录
// 奖品记录
records
:
"
records.query
"
,
records
:
"
draw/myRucksack.do
"
,
// 红包补领
// 红包补领
redpacket
:
"common/moneyReissue.do"
,
redpacket
:
"common/moneyReissue.do"
,
...
...
src/pages/ResPage/ResPage.module.less
View file @
f2361b90
...
@@ -187,6 +187,15 @@
...
@@ -187,6 +187,15 @@
.webpBg("ResPage/去查看.png");
.webpBg("ResPage/去查看.png");
}
}
.itemBtnEd {
position: absolute;
left: 530px;
top: 37px;
width: 157px;
height: 64px;
.webpBg("ResPage/已使用.png");
}
}
}
}
}
...
...
src/pages/ResPage/ResPage.tsx
View file @
f2361b90
...
@@ -81,7 +81,12 @@ class ResPage extends React.Component<any, any> {
...
@@ -81,7 +81,12 @@ class ResPage extends React.Component<any, any> {
<
img
className=
{
styles
.
itemImg
}
src=
{
item
.
extra
.
icon
}
/>
<
img
className=
{
styles
.
itemImg
}
src=
{
item
.
extra
.
icon
}
/>
<
div
className=
{
styles
.
itemName
}
>
{
item
.
extra
.
name
}
</
div
>
<
div
className=
{
styles
.
itemName
}
>
{
item
.
extra
.
name
}
</
div
>
<
div
className=
{
styles
.
itemDate
}
>
{
dateFormatter
(
item
.
gmtCreate
,
"yyyy-MM-dd hh:mm:ss 获得"
)
}
</
div
>
<
div
className=
{
styles
.
itemDate
}
>
{
dateFormatter
(
item
.
gmtCreate
,
"yyyy-MM-dd hh:mm:ss 获得"
)
}
</
div
>
<
Button
className=
{
styles
.
itemBtn
}
onClick=
{
()
=>
this
.
clickItem
(
item
)
}
/>
{
item
.
extra
.
receiveStatus
==
1
?
<
Button
className=
{
styles
.
itemBtnEd
}
/>
:
<
Button
className=
{
styles
.
itemBtn
}
onClick=
{
()
=>
this
.
clickItem
(
item
)
}
/>
}
</
div
>
</
div
>
})
}
})
}
</
div
>
</
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