this.setcompetitonurl(item.competition_status==="ended"?`/newcompetitions/${item.identifier}/common_header`:item.competition_status==="nearly_published"? this.props.current_user&&this.props.current_user.business===true?`/newcompetitions/${item.identifier}/common_header`:this.props.current_user&&this.props.current_user.admin===true?`/newcompetitions/${item.identifier}/common_header`:null:item.competition_status==="progressing"?`/newcompetitions/${item.identifier}/common_header`:null)}>
{item.competition_status==="nearly_published"?
@@ -131,9 +134,9 @@ class CompetitionsIndex extends Component{
{item.description===null||item.description===undefined||item.description===""?:""}
@@ -174,14 +177,14 @@ class CompetitionsIndex extends Component{
}
>
this.setcompetitonurl(item.competition_status==="ended"?`/newcompetitions/${item.identifier}/common_header`:item.competition_status==="nearly_published"? this.props.current_user&&this.props.current_user.business===true?`/newcompetitions/${item.identifier}/common_header`:this.props.current_user&&this.props.current_user.admin===true?`/newcompetitions/${item.identifier}/common_header`:null:item.competition_status==="progressing"?`/newcompetitions/${item.identifier}/common_header`:null)}
>{item.name}{item.sub_title===null?"":{
item.sub_title
}}
-
}
+ }
/>
{item.description}
diff --git a/public/react/src/modules/competitions/Competitimain/Competitionsindex.css b/public/react/src/modules/competitions/Competitimain/Competitionsindex.css
index 6ac46f1eb..92717a213 100644
--- a/public/react/src/modules/competitions/Competitimain/Competitionsindex.css
+++ b/public/react/src/modules/competitions/Competitimain/Competitionsindex.css
@@ -16,7 +16,7 @@
}
.CompetitionsList{
position: relative;
- max-height: 210px;
+ /*max-height: 210px;*/
}
.competitonimg{
position: absolute;
@@ -134,7 +134,11 @@
.CompetitionsList:hover .CompetitionsListzhezhao{
display: block;
}
-.competitionstitlesshou:hover{
+.competitionstitlesshou:hover a{
cursor: pointer;
color: #1c91e8 !important;
+}
+
+.competitionstitlesshou{
+ cursor: pointer;
}
\ No newline at end of file