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
545f92e0
Commit
545f92e0
authored
Dec 18, 2019
by
zhanghaozhe
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'syangby' into dev
parents
200e0af5
d3ada8c5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
9 deletions
+13
-9
src/components/activity/newyear-2019/landing/index.js
+7
-7
src/components/activity/newyear-2019/landing/landing.scss
+6
-2
No files found.
src/components/activity/newyear-2019/landing/index.js
View file @
545f92e0
...
...
@@ -276,7 +276,7 @@ class Landing extends Component {
}
remind
=
(
type
=
'create'
,
trea
remind
sure_code
,
origin
=
1
)
=>
{
remind
=
(
type
=
'create'
,
treasure_code
,
origin
=
1
)
=>
{
const
{
user
}
=
this
.
props
http
.
get
(
`
${
API
[
"base-api"
]}
/wx/user_temporary_qrcode/
${
user
.
data
.
uid
}
`
)
.
then
(
res
=>
{
...
...
@@ -414,15 +414,15 @@ class Landing extends Component {
return
(
<
div
id
=
{
'landing'
}
>
{
!
standby_plan
&&
!
(
standby_plan
&&
browser
.
isWeixin
)
&&
<
div
id
=
"to-square"
>
<
a
href
=
'javascript:'
onClick
=
{
this
.
toSquare
}
>
前往活动会场,享更多福利!
>><
/a
>
<
/div
>
}
<
BoxContainer
>
<
i
className
=
"snow-deco"
/>
<
i
className
=
{
`snow-deco
${
standby_plan
?
'standby'
:
''
}
`
}
/
>
{
standby_plan
&&
standby_plan
&&
browser
.
isWeixin
&&
<>
<
WhiteSpace
className
=
{
'standby-space'
}
/
>
<
div
className
=
{
'standby-tip'
}
>
点击右上角,选择“在浏览器打开”
<
/div
>
...
...
@@ -486,7 +486,7 @@ class Landing extends Component {
还差
{
lack_member
}
名队员即可获得当前宝箱哦
~
<
/div
>
{
!
standby_plan
&&
!
(
standby_plan
&&
browser
.
isWeixin
)
&&
<
button
type
=
'button'
className
=
{
'invite-btn'
}
onClick
=
{
this
.
showShareTip
}
>
邀请好友加入队伍
<
/button
>
...
...
@@ -505,7 +505,7 @@ class Landing extends Component {
}
<
/div
>
{
!
standby_plan
&&
(
my_team
[
'is_team'
]
?
!
(
standby_plan
&&
browser
.
isWeixin
)
&&
(
my_team
[
'is_team'
]
?
<
button
type
=
'button'
className
=
{
'invite-btn'
}
onClick
=
{
this
.
inviteMembers
.
bind
(
this
,
my_team
[
'treasure_code'
])}
>
继续组队
...
...
@@ -528,7 +528,7 @@ class Landing extends Component {
}
<
/div
>
{
!
standby_plan
&&
(
my_team
[
'is_team'
]
?
!
(
standby_plan
&&
browser
.
isWeixin
)
&&
(
my_team
[
'is_team'
]
?
<
button
type
=
'button'
className
=
{
'invite-btn'
}
onClick
=
{
this
.
inviteMembers
.
bind
(
this
,
my_team
[
'treasure_code'
])}
>
继续组队
...
...
src/components/activity/newyear-2019/landing/landing.scss
View file @
545f92e0
...
...
@@ -43,6 +43,10 @@
height
:
68px
;
background
:
url("https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/snow-deco.png")
no-repeat
;
background-size
:
contain
;
&
.standby
{
top
:
0
;
}
}
.main-avatar
{
...
...
@@ -70,7 +74,7 @@
}
.standby-space
{
height
:
5
5px
;
height
:
2
5px
;
}
.standby-tip
{
...
...
@@ -79,7 +83,7 @@
height
:
32px
;
background
:
#FFDE00
;
border-radius
:
5px
;
margin
:
0
auto
;
margin
:
0
auto
-20px
;
line-height
:
32px
;
text-align
:
center
;
color
:
#202426
;
...
...
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