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
ed134cdb
Commit
ed134cdb
authored
Dec 11, 2019
by
zhanghaozhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
预热页面引入奖品
parent
7879471e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
4 deletions
+15
-4
src/components/activity/newyear-2019/common/prizes/prizes.scss
+8
-0
src/components/activity/newyear-2019/landing/index.js
+2
-2
src/components/activity/newyear-2019/treasure-box/index.js
+5
-2
No files found.
src/components/activity/newyear-2019/common/prizes/prizes.scss
View file @
ed134cdb
...
...
@@ -170,3 +170,11 @@
}
}
}
.common_container
{
.container_content
{
.prizes-box
{
margin
:
0
-20px
;
}
}
}
src/components/activity/newyear-2019/landing/index.js
View file @
ed134cdb
...
...
@@ -111,7 +111,7 @@ class Landing extends Component {
})
}
joinSuccess
=
(
id
,
status
,
{
team_num
,
lack_member
,
is_team
})
=>
{
joinSuccess
=
(
{
id
,
status
,
my_team
:
{
team_num
,
lack_member
,
is_team
}
})
=>
{
const
{
history
}
=
this
.
props
this
.
joinSuccessPopup
=
Popup
({
title
:
<
div
className
=
{
'join-success'
}
>
...
...
@@ -167,7 +167,7 @@ class Landing extends Component {
this
.
fetchPageData
({
treasure_code
,
origin
:
1
})
}
createTeamSuccess
=
(
{
my_team
:
{
member
,
team_num
,
lack_member
,
treasure_code
}}
)
=>
{
createTeamSuccess
=
(
member
,
team_num
,
lack_member
,
treasure_code
)
=>
{
let
isFollow
=
false
this
.
joinSuccessPopup
&&
this
.
joinSuccessPopup
.
remove
()
&&
(
this
.
joinSuccessPopup
=
null
)
http
.
get
(
`
${
API
.
home
}
/sys/user/isFollowWeChat`
)
...
...
src/components/activity/newyear-2019/treasure-box/index.js
View file @
ed134cdb
...
...
@@ -2,11 +2,15 @@ import React, { Component } from 'react';
import
CommonContainer
from
'./../common/commonContainer/index'
;
import
TreasureRank
from
'./rank'
;
import
TeamInfo
from
'./team'
import
Prizes
from
"@components/activity/newyear-2019/common/prizes"
import
UserBulletScreen
from
"@components/activity/newyear-2019/common/user-bullet-screen"
class
TreasureBox
extends
Component
{
render
()
{
return
(
<
CommonContainer
id
=
"year-treasure"
>
<
Prizes
showSystemNotices
=
{
true
}
/
>
<
UserBulletScreen
/>
<
TeamInfo
/>
<
TreasureRank
/>
<
/CommonContainer
>
...
...
@@ -14,4 +18,4 @@ class TreasureBox extends Component {
}
}
export
default
TreasureBox
;
\ No newline at end of file
export
default
TreasureBox
;
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