diff --git a/public/react/src/modules/competitions/Competitimain/CompetitionsIndex.js b/public/react/src/modules/competitions/Competitimain/CompetitionsIndex.js index e140b2c16..ee24afa08 100644 --- a/public/react/src/modules/competitions/Competitimain/CompetitionsIndex.js +++ b/public/react/src/modules/competitions/Competitimain/CompetitionsIndex.js @@ -88,6 +88,7 @@ class CompetitionsIndex extends Component{ background-position: center; background-repeat: no-repeat; } + ` } diff --git a/public/react/src/modules/competitions/Competitioncommon/CompetitionCommon.css b/public/react/src/modules/competitions/Competitioncommon/CompetitionCommon.css index 242b8a072..c11d74e44 100644 --- a/public/react/src/modules/competitions/Competitioncommon/CompetitionCommon.css +++ b/public/react/src/modules/competitions/Competitioncommon/CompetitionCommon.css @@ -333,16 +333,19 @@ text-align: center; color: #fff; font-size: 22px; + +} + +.relative{position: relative;} + +.relative:hover .CompetitionsListzhezhao{ + display: block; display: flex; align-items: center; justify-content: space-around; flex-direction: column; } -.relative{position: relative;} - -.relative:hover .CompetitionsListzhezhao{ display: block;} - .image_urlbox{ width: 705px; /*height: 400px;*/ diff --git a/public/react/src/modules/competitions/Competitioncommon/CompetitionContentsChart.js b/public/react/src/modules/competitions/Competitioncommon/CompetitionContentsChart.js index 368b175cb..c78810b59 100644 --- a/public/react/src/modules/competitions/Competitioncommon/CompetitionContentsChart.js +++ b/public/react/src/modules/competitions/Competitioncommon/CompetitionContentsChart.js @@ -90,7 +90,7 @@ class CompetitionContents extends Component{ let list={ usersum:key+1, userimg:item.user_image, - username:personal===undefined||personal===null?item.record_user_name:personal===false?item.record_user_name:item.team_name, + username:personal===undefined||personal===null?item.record_user_name:personal===true?item.record_user_name:item.team_name, school:item.school_name, spendtime:item.spend_time, score:item.score, @@ -147,7 +147,7 @@ class CompetitionContents extends Component{
@@ -183,7 +183,7 @@ class CompetitionContents extends Component{ @@ -219,7 +219,7 @@ class CompetitionContents extends Component{