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
e96e40c9
Commit
e96e40c9
authored
Jul 11, 2020
by
zhanghaozhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
周年庆
parent
dcddddc4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/components/activity/2020-717/activity/index.js
+3
-3
No files found.
src/components/activity/2020-717/activity/index.js
View file @
e96e40c9
...
@@ -582,7 +582,7 @@ class Anniversary2020 extends Component {
...
@@ -582,7 +582,7 @@ class Anniversary2020 extends Component {
const
_auditions
=
auditionShowAll
&&
auditions
.
length
?
auditions
:
auditions
.
slice
(
0
,
4
)
const
_auditions
=
auditionShowAll
&&
auditions
.
length
?
auditions
:
auditions
.
slice
(
0
,
4
)
const
_group
=
groupShowAll
&&
group
.
length
?
group
:
group
.
slice
(
0
,
4
)
const
_group
=
groupShowAll
&&
group
.
length
?
group
:
group
.
slice
(
0
,
4
)
const
_rankList
=
isShowAllRankList
?
rankList
:
rankList
.
slice
(
0
,
10
)
const
_rankList
=
Array
.
isArray
(
rankList
)
?
isShowAllRankList
?
rankList
:
rankList
.
slice
(
0
,
10
)
:
[]
return
(
return
(
<
div
className
=
{
'anniversary-2020'
}
>
<
div
className
=
{
'anniversary-2020'
}
>
...
@@ -927,7 +927,7 @@ class Anniversary2020 extends Component {
...
@@ -927,7 +927,7 @@ class Anniversary2020 extends Component {
<
/ul
>
<
/ul
>
<
/div
>
<
/div
>
{
{
prizeData
.
stage
!==
1
&&
<
table
>
!!
_rankList
.
length
&&
prizeData
.
stage
!==
1
&&
<
table
>
<
thead
>
<
thead
>
<
tr
>
<
tr
>
<
th
>
名次
<
/th
>
<
th
>
名次
<
/th
>
...
@@ -938,7 +938,7 @@ class Anniversary2020 extends Component {
...
@@ -938,7 +938,7 @@ class Anniversary2020 extends Component {
<
/thead
>
<
/thead
>
<
tbody
>
<
tbody
>
{
{
!!
_rankList
.
length
&&
_rankList
.
map
((
item
,
index
)
=>
{
_rankList
.
map
((
item
,
index
)
=>
{
return
<
tr
key
=
{
index
}
>
return
<
tr
key
=
{
index
}
>
<
td
>
<
td
>
{
{
...
...
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