From 0800e2b5968909769d026a879305d0327f549903 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Sat, 24 Aug 2019 17:58:53 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=20=E5=85=AC=E5=91=8A?= =?UTF-8?q?=E6=A0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../courses/gradinforms/Bullsubdirectory.js | 31 ++++++++++--------- .../modules/courses/gradinforms/Eduinforms.js | 4 +-- .../courses/gradinforms/myysleduinforms.css | 7 +++++ 3 files changed, 26 insertions(+), 16 deletions(-) diff --git a/public/react/src/modules/courses/gradinforms/Bullsubdirectory.js b/public/react/src/modules/courses/gradinforms/Bullsubdirectory.js index d03195822..f5b6d7753 100644 --- a/public/react/src/modules/courses/gradinforms/Bullsubdirectory.js +++ b/public/react/src/modules/courses/gradinforms/Bullsubdirectory.js @@ -145,20 +145,23 @@ class Bullsubdirectory extends Component{
{ whethertoeditysl === false? -
-
{myname}
- { - this.props.isAdmin() === true ? - (this.props.yslbool===false? - this.bianji(true)}> - : - "" - ) +
+
+
{myname}
+ { + this.props.isAdmin() === true ? + (this.props.yslbool===false? + this.bianji(true)}> + : + "" + ) - :"" - } + :"" + } +
+
-
+
:
@@ -186,7 +189,7 @@ class Bullsubdirectory extends Component{ style={{"borderBottom":'none'}} className="chooseDestwo " > - {getFieldDecorator('eduintits', { + {getFieldDecorator('eduintits',{ initialValue: this.state.eduintits }, { rules: [{ required: true, message: '请在此输入标题,最多60个字符', }, { @@ -268,7 +271,7 @@ class Bullsubdirectory extends Component{ style={{"borderBottom":'none'}} className="chooseDes " > - {getFieldDecorator('description', { + {getFieldDecorator('description', { initialValue: this.state.description },{ rules: [{ required: true, message: '请在此输入内容,最多5000个字符', }, { diff --git a/public/react/src/modules/courses/gradinforms/Eduinforms.js b/public/react/src/modules/courses/gradinforms/Eduinforms.js index b4ea33349..1e4cbdb5f 100644 --- a/public/react/src/modules/courses/gradinforms/Eduinforms.js +++ b/public/react/src/modules/courses/gradinforms/Eduinforms.js @@ -179,13 +179,13 @@ class Eduinforms extends Component{
-

+

公告栏 { this.props.isAdmin()===true? (this.state.yslbool===false? -

  • this.bianji(true)}> 发布公告
  • diff --git a/public/react/src/modules/courses/gradinforms/myysleduinforms.css b/public/react/src/modules/courses/gradinforms/myysleduinforms.css index 53211d582..1e86607ec 100644 --- a/public/react/src/modules/courses/gradinforms/myysleduinforms.css +++ b/public/react/src/modules/courses/gradinforms/myysleduinforms.css @@ -18,6 +18,7 @@ height: 30px; text-align: center; line-height: 30px; + border-radius: 2px; } .ysleduinwh{ @@ -72,3 +73,9 @@ .yslbianji{ padding-top: 31px; } +.yslmaxheigth80{ + max-height: 80px; +} +.ysldashed{ + border:1px dashed #EEE; +}