From d750c52233231ebb6d99b0e0a849dcb9099998ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Sat, 26 Oct 2019 18:29:20 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E7=AB=9E=E8=B5=9B=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Competitioncommon/CompetitionCommon.css | 5 +++++ .../Competitioncommon/CompetitionCommon.js | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/public/react/src/modules/competitions/Competitioncommon/CompetitionCommon.css b/public/react/src/modules/competitions/Competitioncommon/CompetitionCommon.css index aff7cdcd8..f55c9a336 100644 --- a/public/react/src/modules/competitions/Competitioncommon/CompetitionCommon.css +++ b/public/react/src/modules/competitions/Competitioncommon/CompetitionCommon.css @@ -78,6 +78,7 @@ font-size:25px; font-weight:400; color:rgba(5,16,26,1); + line-height: 30px; } .CompetitionCommonbannerfont .competitionbannerdiv:nth-child(2){ @@ -394,4 +395,8 @@ .CompetitionCommonbannerfont{ width: 350px !important; margin-left:10px; +} + +.color000{ + color: #000; } \ No newline at end of file diff --git a/public/react/src/modules/competitions/Competitioncommon/CompetitionCommon.js b/public/react/src/modules/competitions/Competitioncommon/CompetitionCommon.js index 1f9508932..850c82e1e 100644 --- a/public/react/src/modules/competitions/Competitioncommon/CompetitionCommon.js +++ b/public/react/src/modules/competitions/Competitioncommon/CompetitionCommon.js @@ -258,12 +258,12 @@ class CompetitionCommon extends Component{ 15?"competitionbannerdiv mt30":"competitionbannerdiv mt30"}>{data&&data.name} - - 竞赛时间: - {data&&data.start_time}~{data&&data.end_time} + + 竞赛时间:{data&&data.start_time}~{data&&data.end_time} + {/**/} - +
奖金
@@ -309,7 +309,7 @@ class CompetitionCommon extends Component{ ` } } - + {data.competition_status==="ended"?