diff --git a/public/react/src/modules/courses/boards/BoardsNew.js b/public/react/src/modules/courses/boards/BoardsNew.js index 97d9436a6..718b6de42 100644 --- a/public/react/src/modules/courses/boards/BoardsNew.js +++ b/public/react/src/modules/courses/boards/BoardsNew.js @@ -316,7 +316,7 @@ class BoardsNew extends Component{ max: 60, message: '最大限制为60个字符', }], })( - + )} diff --git a/public/react/src/modules/courses/busyWork/CommonWorkList.js b/public/react/src/modules/courses/busyWork/CommonWorkList.js index 246c9d544..25ddaa146 100644 --- a/public/react/src/modules/courses/busyWork/CommonWorkList.js +++ b/public/react/src/modules/courses/busyWork/CommonWorkList.js @@ -371,6 +371,8 @@ class CommonWorkSetting extends Component{ componentDidMount() { this.fetchList() on('commonwork_fetch_all', this.fetchAllListener) + $("html").animate({ scrollTop: $('html').scrollTop() - 100 }) + } componentWillUnmount() { off('commonwork_fetch_all', this.fetchAllListener) diff --git a/public/react/src/modules/courses/busyWork/NewWork.js b/public/react/src/modules/courses/busyWork/NewWork.js index eefbc1f0b..a6fc93c92 100644 --- a/public/react/src/modules/courses/busyWork/NewWork.js +++ b/public/react/src/modules/courses/busyWork/NewWork.js @@ -417,12 +417,25 @@ class NewWork extends Component{ height: 40px; line-height: 40px; } + + .workContent.AboutInputForm.ant-form-item { + border-bottom: none; + padding-bottom: 0px !important; + } + .newWorkUpload { + padding: 0px 30px 30px 30px!important; + background: #fff; + width: 100%; + display: inline-block; + border-bottom: 1px solid #EDEDED; + } + `} {