Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mr-julyedu
Overview
Overview
Details
Activity
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
baiguangyao
mr-julyedu
Commits
c424584c
Commit
c424584c
authored
Dec 17, 2019
by
FE
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no prize name
parent
0d593342
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
src/components/activity/newyear-2019/myTreasure/index.js
+10
-1
src/components/activity/newyear-2019/preheat/nav.js
+1
-1
No files found.
src/components/activity/newyear-2019/myTreasure/index.js
View file @
c424584c
...
@@ -218,6 +218,15 @@ class MyTreasure extends Component {
...
@@ -218,6 +218,15 @@ class MyTreasure extends Component {
// 绑定地址--展示
// 绑定地址--展示
handleToBindAddress
=
(
id
)
=>
{
handleToBindAddress
=
(
id
)
=>
{
if
(
id
)
{
const
{
teams
}
=
this
.
state
;
const
data
=
teams
.
filter
(
item
=>
item
.
id
==
id
);
if
(
data
.
length
>
0
)
{
this
.
setState
({
prizeName
:
data
[
0
][
'prize_name'
]
})
}
}
this
.
setState
({
this
.
setState
({
isAddress
:
true
isAddress
:
true
});
});
...
@@ -471,7 +480,7 @@ class MyTreasure extends Component {
...
@@ -471,7 +480,7 @@ class MyTreasure extends Component {
prize_type
:
item
.
prize_type
,
prize_type
:
item
.
prize_type
,
}}
}}
handleToBindPhone
=
{
this
.
handleToBindPhone
}
handleToBindPhone
=
{
this
.
handleToBindPhone
}
handleToBindAddress
=
{
this
.
handleToBindAddress
}
handleToBindAddress
=
{
()
=>
this
.
handleToBindAddress
(
item
.
id
)
}
toComposeCoupon
=
{
this
.
toComposeCoupon
}
toComposeCoupon
=
{
this
.
toComposeCoupon
}
toUseCoupon
=
{()
=>
this
.
toUseCoupon
(
item
.
prize_data
)}
toUseCoupon
=
{()
=>
this
.
toUseCoupon
(
item
.
prize_data
)}
toCourseList
=
{
this
.
toCourseList
}
toCourseList
=
{
this
.
toCourseList
}
...
...
src/components/activity/newyear-2019/preheat/nav.js
View file @
c424584c
...
@@ -8,7 +8,7 @@ class TreasureNav extends Component {
...
@@ -8,7 +8,7 @@ class TreasureNav extends Component {
super
(
props
);
super
(
props
);
this
.
state
=
{
this
.
state
=
{
isFixed
:
false
,
isFixed
:
false
,
curIndex
:
1
,
curIndex
:
0
,
formatNavs
:
[],
formatNavs
:
[],
navs
:
[
navs
:
[
{
{
...
...
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