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
6acd0618
Commit
6acd0618
authored
Dec 20, 2019
by
FE
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '00-formal' into dev
parents
35766e83
193c1e26
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
65 additions
and
9 deletions
+65
-9
src/components/activity/newyear-2019/common/commonContainer/index.scss
+2
-1
src/components/activity/newyear-2019/common/prizes/prizes.scss
+1
-1
src/components/activity/newyear-2019/myTreasure/index.js
+2
-0
src/components/activity/newyear-2019/myTreasure/index.scss
+5
-2
src/components/activity/newyear-2019/preheat/YearCourse/index.js
+1
-1
src/components/activity/newyear-2019/preheat/YearCourse/index.scss
+15
-0
src/components/activity/newyear-2019/preheat/index.js
+3
-2
src/components/activity/newyear-2019/treasure-box/index.js
+6
-1
src/components/activity/newyear-2019/year-wish/index.js
+1
-1
src/components/activity/newyear-2019/year-wish/index.scss
+29
-0
No files found.
src/components/activity/newyear-2019/common/commonContainer/index.scss
View file @
6acd0618
...
@@ -55,6 +55,7 @@
...
@@ -55,6 +55,7 @@
background-size
:
contain
;
background-size
:
contain
;
width
:
100%
;
width
:
100%
;
min-height
:
25px
;
min-height
:
25px
;
padding
:
5px
15px
;
margin
:
-1px
0
;
padding
:
6px
15px
;
}
}
}
}
src/components/activity/newyear-2019/common/prizes/prizes.scss
View file @
6acd0618
...
@@ -191,7 +191,7 @@
...
@@ -191,7 +191,7 @@
.common_container
{
.common_container
{
.container_content
{
.container_content
{
.prizes-box
{
.prizes-box
{
margin
:
0
-
20
px
;
margin
:
0
-
15
px
;
}
}
}
}
}
}
...
...
src/components/activity/newyear-2019/myTreasure/index.js
View file @
6acd0618
...
@@ -446,6 +446,7 @@ class MyTreasure extends Component {
...
@@ -446,6 +446,7 @@ class MyTreasure extends Component {
return
(
return
(
<
div
data
-
skip
=
"treasure"
>
<
div
data
-
skip
=
"treasure"
>
{(
!
browser
.
isAndroidApp
&&
!
browser
.
isIOSApp
)
&&
<
HeaderBar
title
=
"我的宝箱"
arrow
=
{
true
}
/>
}
{(
!
browser
.
isAndroidApp
&&
!
browser
.
isIOSApp
)
&&
<
HeaderBar
title
=
"我的宝箱"
arrow
=
{
true
}
/>
}
<
div
className
=
"team-empty"
>
{
{
isEnd
&&
isEnd
&&
<
p
className
=
"activity-end__desc"
>
<
p
className
=
"activity-end__desc"
>
...
@@ -462,6 +463,7 @@ class MyTreasure extends Component {
...
@@ -462,6 +463,7 @@ class MyTreasure extends Component {
<
button
className
=
"team-empty__button"
onClick
=
{
this
.
toOrganizeTeam
}
>
组队开宝箱
<
/button
>
<
button
className
=
"team-empty__button"
onClick
=
{
this
.
toOrganizeTeam
}
>
组队开宝箱
<
/button
>
<
/
>
<
/
>
}
}
<
/div
>
{
{
(
!
isEnd
&&
!
isEmpty
&&
userInfo
.
uid
)
&&
(
!
isEnd
&&
!
isEmpty
&&
userInfo
.
uid
)
&&
<
div
className
=
"treasure-content"
>
<
div
className
=
"treasure-content"
>
...
...
src/components/activity/newyear-2019/myTreasure/index.scss
View file @
6acd0618
...
@@ -15,18 +15,21 @@
...
@@ -15,18 +15,21 @@
}
}
.activity-end__desc
{
.activity-end__desc
{
margin
:
118px
0
0
;
font-size
:
30px
;
font-size
:
30px
;
color
:
#fff
;
color
:
#fff
;
text-align
:
center
;
text-align
:
center
;
line-height
:
42px
;
line-height
:
42px
;
}
}
.team-empty
{
padding-top
:
118px
;
}
.team-empty__icon
{
.team-empty__icon
{
display
:
block
;
display
:
block
;
width
:
56px
;
width
:
56px
;
height
:
49px
;
height
:
49px
;
margin
:
118px
auto
18px
;
margin
:
0
auto
18px
;
background-size
:
cover
;
background-size
:
cover
;
background-image
:
url('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/icon-empty.png')
;
background-image
:
url('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/icon-empty.png')
;
}
}
...
...
src/components/activity/newyear-2019/preheat/YearCourse/index.js
View file @
6acd0618
...
@@ -905,7 +905,7 @@ class YearCourse extends Component {
...
@@ -905,7 +905,7 @@ class YearCourse extends Component {
<
/p
>
<
/p
>
}
}
<
div
className
=
"status"
>
<
div
className
=
"status"
data
-
layout
=
{
val
.
type
===
4
?
'row'
:
''
}
>
{
{
val
.
type
===
0
&&
val
.
type
===
0
&&
<
a
<
a
...
...
src/components/activity/newyear-2019/preheat/YearCourse/index.scss
View file @
6acd0618
...
@@ -192,6 +192,21 @@
...
@@ -192,6 +192,21 @@
padding
:
0
5px
;
padding
:
0
5px
;
text-align
:
left
;
text-align
:
left
;
&
[
data-layout
=
"row"
]
{
display
:
flex
;
.to-group
{
&
:nth-child
(
1
)
{
margin-right
:
2px
;
}
&
:nth-child
(
2
)
{
margin-left
:
2px
;
}
}
}
.status-btn
{
.status-btn
{
display
:
inline-block
;
display
:
inline-block
;
height
:
22px
;
height
:
22px
;
...
...
src/components/activity/newyear-2019/preheat/index.js
View file @
6acd0618
...
@@ -163,10 +163,11 @@ export default class index extends Component {
...
@@ -163,10 +163,11 @@ export default class index extends Component {
{
/* 组队开宝箱 */
}
{
/* 组队开宝箱 */
}
{
{
treasure_stage
===
1
&&
<
TreasureBox
isAppUpdate
=
{
this
.
state
.
isAppUpdate
}
getRemovable
=
{
this
.
getRemovable
}
/
>
treasure_stage
===
1
&&
<
TreasureBox
isAppUpdate
=
{
this
.
state
.
isAppUpdate
}
getRemovable
=
{
this
.
getRemovable
}
/
>
}
}
{
/*
课程
*/
}
{
/*
课程
*/
}
<
YearCourse
stage
=
{
activity_stage
}
isAppUpdate
=
{
this
.
state
.
isAppUpdate
}
/
>
<
YearCourse
stage
=
{
activity_stage
}
isAppUpdate
=
{
this
.
state
.
isAppUpdate
}
/
>
{
/*好友加入队伍提醒;获得宝箱提醒;开售提醒弹窗,需要自取,注意修改文案*/
}
{
/*好友加入队伍提醒;获得宝箱提醒;开售提醒弹窗,需要自取,注意修改文案*/
}
...
...
src/components/activity/newyear-2019/treasure-box/index.js
View file @
6acd0618
...
@@ -13,7 +13,12 @@ class TreasureBox extends Component {
...
@@ -13,7 +13,12 @@ class TreasureBox extends Component {
render
()
{
render
()
{
return
(
return
(
<
CommonContainer
id
=
"year-treasure"
title
=
{
'组队开宝箱'
}
>
<
CommonContainer
id
=
"year-treasure"
title
=
{
'组队开宝箱'
}
>
<
div
style
=
{{
textAlign
:
'center'
,
fontSize
:
'12px'
,
color
:
'#FFDC1E'
,
marginTop
:
'10px'
}}
>
邀请好友组队一起开宝箱,满
5
人后将随机获得以下奖品
~<
/div
>
<
div
style
=
{{
textAlign
:
'center'
,
fontSize
:
'12px'
,
color
:
'#FFDC1E'
,
marginTop
:
'10px'
}}
>
邀请好友组队一起开宝箱,满
5
人后将随机获得以下奖品
~<
/div
>
<
Prizes
showSystemNotices
=
{
true
}
/
>
<
Prizes
showSystemNotices
=
{
true
}
/
>
<
UserBulletScreen
/>
<
UserBulletScreen
/>
<
TeamInfo
isAppUpdate
=
{
this
.
props
.
isAppUpdate
}
getRemovable
=
{
this
.
props
.
getRemovable
}
/
>
<
TeamInfo
isAppUpdate
=
{
this
.
props
.
isAppUpdate
}
getRemovable
=
{
this
.
props
.
getRemovable
}
/
>
...
...
src/components/activity/newyear-2019/year-wish/index.js
View file @
6acd0618
...
@@ -238,7 +238,7 @@ class YarnWish extends Component {
...
@@ -238,7 +238,7 @@ class YarnWish extends Component {
<
/p
>
<
/p
>
}
}
<
div
className
=
"status"
>
<
div
className
=
"status"
data
-
layout
=
{
item
.
type
===
4
?
'row'
:
''
}
>
{
{
item
.
type
===
0
&&
item
.
type
===
0
&&
<
a
<
a
...
...
src/components/activity/newyear-2019/year-wish/index.scss
View file @
6acd0618
...
@@ -39,6 +39,20 @@ html, body, #root {
...
@@ -39,6 +39,20 @@ html, body, #root {
text-align
:
center
;
text-align
:
center
;
}
}
.bargain-price
{
position
:
absolute
;
left
:
4px
;
top
:
10px
;
margin
:
0
;
height
:
18px
;
padding
:
0
8px
;
border-radius
:
0
9px
9px
0
;
font-size
:
12px
;
color
:
#fff
;
line-height
:
18px
;
background-color
:
#F01D0E
;
}
.coupon-course__footer
{
.coupon-course__footer
{
.course-title
{
.course-title
{
padding-left
:
10px
;
padding-left
:
10px
;
...
@@ -189,6 +203,21 @@ html, body, #root {
...
@@ -189,6 +203,21 @@ html, body, #root {
padding
:
0
5px
;
padding
:
0
5px
;
text-align
:
left
;
text-align
:
left
;
&
[
data-layout
=
"row"
]
{
display
:
flex
;
.to-group
{
&
:nth-child
(
1
)
{
margin-right
:
2px
;
}
&
:nth-child
(
2
)
{
margin-left
:
2px
;
}
}
}
.status-btn
{
.status-btn
{
display
:
inline-block
;
display
:
inline-block
;
height
:
22px
;
height
:
22px
;
...
...
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