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
7fd40641
Commit
7fd40641
authored
Dec 16, 2019
by
wangshuo
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '00' into dev
parents
0a5e6ba0
dd481c7f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
src/components/activity/newyear-2019/common/prizes/index.js
+1
-1
src/components/activity/newyear-2019/common/system-bullet-screen/index.js
+4
-6
src/components/activity/newyear-2019/common/user-bullet-screen/bullet-screen.scss
+2
-0
src/components/activity/newyear-2019/landing/index.js
+1
-1
No files found.
src/components/activity/newyear-2019/common/prizes/index.js
View file @
7fd40641
...
...
@@ -85,7 +85,7 @@ class Prizes extends Component {
}
=
this
.
props
return
(
<>
{
showSystemNotices
&&
<
SystemBulletScreen
/>
}
{
showSystemNotices
&&
<
SystemBulletScreen
bullets
=
{
this
.
state
.
notices
}
/>
}
<
div
className
=
{
'prizes-box'
}
ref
=
{
el
=>
this
.
prizeBox
=
el
}
>
<
a
href
=
"javascript:;"
className
=
'rule-btn'
onClick
=
{
this
.
showRules
}
>
活动规则
>
<
/a
>
<
div
className
=
{
`bg`
}
ref
=
{
el
=>
this
.
bg
=
el
}
/
>
...
...
src/components/activity/newyear-2019/common/system-bullet-screen/index.js
View file @
7fd40641
...
...
@@ -61,17 +61,15 @@ class SystemBulletScreen extends Component {
content
.
style
.
transform
=
`translate3d(
${
-
(
contentWidth
-
wrapperWidth
)
-
10
}
px,0,0)`
},
1000
)
}
else
{
this
.
swiper
.
slideNext
()
setTimeout
(()
=>
{
swiper
.
slideNext
()
},
3000
)
}
}
transitionEnd
=
()
=>
{
const
{
bullets
=
[
'第一条消息,第一条消息,第一条消息,第一条消息,第一条消息,第一条消息,'
,
'第二条消息,第二条消息,第二条消息,第二条消息,第二条消息,第二条消息,'
,
'第三条消息,第三条消息,第三条消息,第三条消息,第三条消息,第三条消息,'
,
]
bullets
=
[]
}
=
this
.
props
const
len
=
bullets
.
length
*
3
...
...
src/components/activity/newyear-2019/common/user-bullet-screen/bullet-screen.scss
View file @
7fd40641
...
...
@@ -11,6 +11,8 @@
height
:
100%
;
padding
:
2px
;
line-height
:
26px
;
display
:
flex
;
align-items
:
center
;
}
.avatar
{
...
...
src/components/activity/newyear-2019/landing/index.js
View file @
7fd40641
...
...
@@ -34,7 +34,7 @@ class Landing extends Component {
componentDidMount
()
{
this
.
fetchPageData
()
window
.
showFollowAlert
=
this
.
remind
(
'create'
)
window
.
showFollowAlert
=
this
.
remind
.
bind
(
this
,
'create'
)
}
componentDidUpdate
(
prevProps
)
{
...
...
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