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( -
+
40?"subhead mb100":"subhead mb70":this.state.MenuItemskey===this.props.courses.length?"subhead mb120":detailInfoList.name.length>40?"subhead mb100":"subhead mb80"}> {AccountProfiletype===true?this.hideAccountProfile()} {...this.props} @@ -390,10 +390,24 @@ class DetailTop extends Component{ {this.state.yslJointhe===true?this.ysljoinmodalCancel()} ysljoinmodalCanceltwo={()=>this.ysljoinmodalCanceltwo(this.state.MenuItemskey)}>:""} {this.state.OpenCourseTypes===true?this.OpenCourseCancel()}/>:""} + { detailInfoList && -
+
{/*27?detailInfoList.name:""}>*/} From 8383fe7ab5e3aad3565b96f539c133b8c5cef09a 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:46:50 +0800 Subject: [PATCH 2/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 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/react/src/AppConfig.js b/public/react/src/AppConfig.js index 4de5d9d88..025db7f5c 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=${'student'}` + config.url = `${config.url}?debug=${debugType}` } else { - config.url = `${config.url}&debug=${'student'}` + config.url = `${config.url}&debug=${debugType}` } } else { // 加api前缀 From 51cf018b128aa7fb55e06f744f28982a021b2ac8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Mon, 23 Sep 2019 17:52:40 +0800 Subject: [PATCH 3/9] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../react/src/modules/courses/poll/PollNew.js | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/public/react/src/modules/courses/poll/PollNew.js b/public/react/src/modules/courses/poll/PollNew.js index 9d34b7036..5aa7f8f72 100644 --- a/public/react/src/modules/courses/poll/PollNew.js +++ b/public/react/src/modules/courses/poll/PollNew.js @@ -2863,7 +2863,7 @@ class PollNew extends Component { } 问卷须知