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
02ab4924
Commit
02ab4924
authored
Dec 17, 2019
by
zhanghaozhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
系统公告
parent
2f0c7dcd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
src/components/activity/newyear-2019/common/prizes/index.js
+6
-5
No files found.
src/components/activity/newyear-2019/common/prizes/index.js
View file @
02ab4924
...
@@ -83,9 +83,10 @@ class Prizes extends Component {
...
@@ -83,9 +83,10 @@ class Prizes extends Component {
const
{
const
{
showSystemNotices
showSystemNotices
}
=
this
.
props
}
=
this
.
props
const
{
notices
}
=
this
.
state
return
(
return
(
<>
<>
{
showSystemNotices
&&
<
SystemBulletScreen
bullets
=
{
this
.
state
.
notices
}
/>
}
{
showSystemNotices
&&
notices
&&
notices
.
length
&&
<
SystemBulletScreen
bullets
=
{
notices
}
/>
}
<
div
className
=
{
'prizes-box'
}
ref
=
{
el
=>
this
.
prizeBox
=
el
}
>
<
div
className
=
{
'prizes-box'
}
ref
=
{
el
=>
this
.
prizeBox
=
el
}
>
<
a
href
=
"javascript:;"
className
=
'rule-btn'
onClick
=
{
this
.
showRules
}
>
活动规则
>
<
/a
>
<
a
href
=
"javascript:;"
className
=
'rule-btn'
onClick
=
{
this
.
showRules
}
>
活动规则
>
<
/a
>
<
div
className
=
{
`bg`
}
ref
=
{
el
=>
this
.
bg
=
el
}
/
>
<
div
className
=
{
`bg`
}
ref
=
{
el
=>
this
.
bg
=
el
}
/
>
...
@@ -97,10 +98,10 @@ class Prizes extends Component {
...
@@ -97,10 +98,10 @@ class Prizes extends Component {
<
li
key
=
{
index
}
>
<
li
key
=
{
index
}
>
{
{
item
.
img_name
item
.
img_name
?
<
i
className
=
"prize-list__image"
style
=
{{
?
<
i
className
=
"prize-list__image"
style
=
{{
backgroundImage
:
`url(
${
item
.
img_name
}
)`
backgroundImage
:
`url(
${
item
.
img_name
}
)`
}}
><
/i
>
}}
><
/i
>
:
<
i
className
=
"prize-list__image"
><
/i
>
:
<
i
className
=
"prize-list__image"
><
/i
>
}
}
{
/* <img src={item.img_name} alt=""/> */
}
{
/* <img src={item.img_name} alt=""/> */
}
{
{
...
...
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