From 274d56fef3284775c120a4bd6af5cdbb45578b07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Wed, 18 Sep 2019 16:14:27 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=89=E6=8B=A9=E5=AE=9E=E8=AE=AD=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../courses/coursesPublic/NewShixunModel.js | 21 +++++++++++++------ .../courses/coursesPublic/Newshixunmodel.css | 4 ++-- public/react/src/modules/home/shixunsHome.js | 16 +++++++------- 3 files changed, 25 insertions(+), 16 deletions(-) diff --git a/public/react/src/modules/courses/coursesPublic/NewShixunModel.js b/public/react/src/modules/courses/coursesPublic/NewShixunModel.js index 26ebf2099..72b709a8e 100644 --- a/public/react/src/modules/courses/coursesPublic/NewShixunModel.js +++ b/public/react/src/modules/courses/coursesPublic/NewShixunModel.js @@ -78,7 +78,7 @@ class NewShixunModel extends Component{ {item.map((list,key)=>{ return( - {list.name} + {list.name} ) })} @@ -340,6 +340,12 @@ class NewShixunModel extends Component{ `body{ overflow: hidden !important; } .ant-drawer-content{ overflow:auto !important; background: #f5f5f5; } .yslbottomsj{position: absolute;bottom: -8px;} + .ant-drawer-close{ + font-size:24px !important; + } + .ant-drawer-body { + padding: 24px 24px 24px 0px; + } ` } @@ -353,7 +359,7 @@ class NewShixunModel extends Component{ height={'100%'} > -
+
@@ -365,11 +371,14 @@ class NewShixunModel extends Component{ .ant-input, .ant-input .ant-input-suffix{ background-color: #fff !important; } + .packinput .ant-input{ + border: 1px solid rgba(217,217,217,1) !important; + } ` } - @@ -449,7 +458,7 @@ class NewShixunModel extends Component{ ` } - {JSON.stringify(item.description) == "{}"?"":
+ {JSON.stringify(item.description) == "{}"?"":
} {item.challenge_names.length===0?"":
@@ -533,7 +542,7 @@ class NewShixunModel extends Component{ { shixun_list===undefined?"":shixun_list.length===0?"":
- +
}
diff --git a/public/react/src/modules/courses/coursesPublic/Newshixunmodel.css b/public/react/src/modules/courses/coursesPublic/Newshixunmodel.css index 3bf843326..f0f45a468 100644 --- a/public/react/src/modules/courses/coursesPublic/Newshixunmodel.css +++ b/public/react/src/modules/courses/coursesPublic/Newshixunmodel.css @@ -259,8 +259,8 @@ } -.mb100{ - margin-bottom: 100px !important; +.mb60shixun{ + margin-bottom: 60px !important; } .padding13-30 { diff --git a/public/react/src/modules/home/shixunsHome.js b/public/react/src/modules/home/shixunsHome.js index a60080379..5677193d5 100644 --- a/public/react/src/modules/home/shixunsHome.js +++ b/public/react/src/modules/home/shixunsHome.js @@ -408,7 +408,7 @@ class ShixunsHome extends Component { - {item.username} +

{item.username}

) @@ -422,7 +422,7 @@ class ShixunsHome extends Component { - {item.username} +

{item.username}

) @@ -436,7 +436,7 @@ class ShixunsHome extends Component { - {item.username} +

{item.username}

) @@ -452,7 +452,7 @@ class ShixunsHome extends Component {
  • - {item.username} +

    {item.username}

  • ) @@ -484,7 +484,7 @@ class ShixunsHome extends Component { - {item.username} +

    {item.username}

    ) @@ -498,7 +498,7 @@ class ShixunsHome extends Component { - {item.username} +

    {item.username}

    ) @@ -512,7 +512,7 @@ class ShixunsHome extends Component { - {item.username} +

    {item.username}

    ) @@ -528,7 +528,7 @@ class ShixunsHome extends Component {
  • - {item.username} +

    {item.username}

  • )