From a367dba020d026619c37c94ae74448507ac68b84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Mon, 23 Sep 2019 17:44:31 +0800 Subject: [PATCH 1/9] =?UTF-8?q?=20=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/AppConfig.js | 4 ++-- .../graduation/tasks/GraduationTaskssetting.js | 16 ++++++++-------- .../src/modules/paths/PathDetail/DetailTop.css | 7 +++++++ .../src/modules/paths/PathDetail/DetailTop.js | 18 ++++++++++++++++-- 4 files changed, 33 insertions(+), 12 deletions(-) diff --git a/public/react/src/AppConfig.js b/public/react/src/AppConfig.js index 025db7f5c..4de5d9d88 100644 --- a/public/react/src/AppConfig.js +++ b/public/react/src/AppConfig.js @@ -83,9 +83,9 @@ export function initAxiosInterceptors(props) { } config.url = `${proxy}${url}`; if (config.url.indexOf('?') == -1) { - config.url = `${config.url}?debug=${debugType}` + config.url = `${config.url}?debug=${'student'}` } else { - config.url = `${config.url}&debug=${debugType}` + config.url = `${config.url}&debug=${'student'}` } } else { // 加api前缀 diff --git a/public/react/src/modules/courses/graduation/tasks/GraduationTaskssetting.js b/public/react/src/modules/courses/graduation/tasks/GraduationTaskssetting.js index 02bd222a8..d4dec92ce 100644 --- a/public/react/src/modules/courses/graduation/tasks/GraduationTaskssetting.js +++ b/public/react/src/modules/courses/graduation/tasks/GraduationTaskssetting.js @@ -346,24 +346,24 @@ class GraduationTaskssettingapp extends Component{ let {endtimetype}=this.state; if(types===1){ this.setState({ - latetime:newlatetime, + // latetime:newlatetime, crosscomment:true, - commenttime:newcommenttime, - commenttimeone:newcommenttime, + commenttime:newlatetime, + commenttimeone:newlatetime, }) }else{ if(endtimetype===true){ this.setState({ crosscomment:true, - commenttime:newcommenttime, - commenttimeone:newcommenttime, + commenttime:newlatetime, + commenttimeone:newlatetime, }) }else{ this.setState({ - end_time:newlatetime, + // end_time:newlatetime, crosscomment:true, - commenttime:newcommenttime, - commenttimeone:newcommenttime, + commenttime:newlatetime, + commenttimeone:newlatetime, }) } } diff --git a/public/react/src/modules/paths/PathDetail/DetailTop.css b/public/react/src/modules/paths/PathDetail/DetailTop.css index 975da0f09..7656bb77d 100644 --- a/public/react/src/modules/paths/PathDetail/DetailTop.css +++ b/public/react/src/modules/paths/PathDetail/DetailTop.css @@ -79,3 +79,10 @@ margin-top: 43px; } +.mb120{ + margin-bottom: 120px !important; +} + +.mb80{ + margin-bottom: 80px !important; +} \ No newline at end of file diff --git a/public/react/src/modules/paths/PathDetail/DetailTop.js b/public/react/src/modules/paths/PathDetail/DetailTop.js index f9da464d3..acd851eb9 100644 --- a/public/react/src/modules/paths/PathDetail/DetailTop.js +++ b/public/react/src/modules/paths/PathDetail/DetailTop.js @@ -372,7 +372,7 @@ class DetailTop extends Component{ return( -