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
7d207caa
Commit
7d207caa
authored
Dec 14, 2019
by
zhanghaozhe
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '00' into dev
parents
bde31290
2850dcc9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/components/activity/newyear-2019/landing/index.js
+5
-5
No files found.
src/components/activity/newyear-2019/landing/index.js
View file @
7d207caa
...
@@ -158,7 +158,7 @@ class Landing extends Component {
...
@@ -158,7 +158,7 @@ class Landing extends Component {
this
.
fetchPageData
()
this
.
fetchPageData
()
this
.
getFollowStatus
()
this
.
getFollowStatus
()
.
then
(
isFollow
=>
{
.
then
(
isFollow
=>
{
!
isFollow
&&
this
.
remind
(
'join'
,
this
.
state
.
treasure_code
)
!
isFollow
&&
this
.
remind
(
'join'
,
this
.
state
.
treasure_code
,
2
)
})
})
}
}
})
})
...
@@ -191,7 +191,7 @@ class Landing extends Component {
...
@@ -191,7 +191,7 @@ class Landing extends Component {
return
code
===
200
&&
data
[
'is_follow'
]
return
code
===
200
&&
data
[
'is_follow'
]
})
})
createTeamSuccess
=
(
member
,
team_num
,
lack_member
,
treasure_code
)
=>
{
createTeamSuccess
=
(
{
member
,
team_num
,
lack_member
,
treasure_code
}
)
=>
{
this
.
joinSuccessPopup
&&
this
.
joinSuccessPopup
.
remove
()
&&
(
this
.
joinSuccessPopup
=
null
)
this
.
joinSuccessPopup
&&
this
.
joinSuccessPopup
.
remove
()
&&
(
this
.
joinSuccessPopup
=
null
)
this
.
getFollowStatus
()
this
.
getFollowStatus
()
.
then
(
isFollow
=>
{
.
then
(
isFollow
=>
{
...
@@ -233,7 +233,7 @@ class Landing extends Component {
...
@@ -233,7 +233,7 @@ class Landing extends Component {
})
})
}
}
remind
=
(
type
=
'create'
,
treasure_code
)
=>
{
remind
=
(
type
=
'create'
,
treasure_code
,
origin
=
1
)
=>
{
const
{
match
,
history
,
user
}
=
this
.
props
const
{
match
,
history
,
user
}
=
this
.
props
http
.
get
(
`
${
API
[
"base-api"
]}
/wx/user_temporary_qrcode/
${
user
.
data
.
uid
}
`
)
http
.
get
(
`
${
API
[
"base-api"
]}
/wx/user_temporary_qrcode/
${
user
.
data
.
uid
}
`
)
.
then
(
res
=>
{
.
then
(
res
=>
{
...
@@ -255,7 +255,7 @@ class Landing extends Component {
...
@@ -255,7 +255,7 @@ class Landing extends Component {
// history.replace(`${match.path}?treasure_code=${treasure_code}&origin=1`)
// history.replace(`${match.path}?treasure_code=${treasure_code}&origin=1`)
this
.
fetchPageData
({
this
.
fetchPageData
({
treasure_code
,
treasure_code
,
origin
:
'1'
origin
})
})
}
}
})
})
...
@@ -290,7 +290,7 @@ class Landing extends Component {
...
@@ -290,7 +290,7 @@ class Landing extends Component {
sessionStorage
.
removeItem
(
'showShareTip'
)
sessionStorage
.
removeItem
(
'showShareTip'
)
this
.
getFollowStatus
()
this
.
getFollowStatus
()
.
then
(
isFollow
=>
{
.
then
(
isFollow
=>
{
!
isFollow
&&
this
.
remind
(
'create'
,
getParam
(
'treasure_code'
))
!
isFollow
&&
this
.
remind
(
'create'
,
getParam
(
'treasure_code'
)
,
1
)
})
})
}
}
})
})
...
...
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