From 790fa4e6ac70abcaed4f31607d17708305d6e97b 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, 19 Aug 2019 23:25:22 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/public/css/edu-all.css | 4 ++-- public/react/src/modules/paths/PathDetail/DetailTop.js | 5 +++-- public/stylesheets/educoder/edu-all.css | 4 ++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/public/react/public/css/edu-all.css b/public/react/public/css/edu-all.css index 90cad3e68..55f42e608 100644 --- a/public/react/public/css/edu-all.css +++ b/public/react/public/css/edu-all.css @@ -115,7 +115,7 @@ em.vertical-line{display: inline-block;width: 2px;background: #999;height: 10px} .tag-green{ position: absolute; left: 10px; - bottom: 95px;} + bottom: 90px;} .tag-green .tag-name{display: block;width: auto; /*background-image: url("/images/educoder/tag1.png");*/ background: #000000; @@ -123,7 +123,7 @@ em.vertical-line{display: inline-block;width: 2px;background: #999;height: 10px} border-radius: 3px; font-size: 14px; background-size: 100% 100%;padding: 0px 8px;color: #fff;float: left;} -.tag-orange{position: absolute;right: 0px;top:20px;} +.tag-orange{position: absolute;right: 0px;top:12px;} .tag-orange .tag-name{display: block;width: auto;background-color:#FF6800; background-size: 100% 100%;padding: 0px 8px;color: #fff;float: left; height: 28px; diff --git a/public/react/src/modules/paths/PathDetail/DetailTop.js b/public/react/src/modules/paths/PathDetail/DetailTop.js index 1a956a767..32e2eef50 100644 --- a/public/react/src/modules/paths/PathDetail/DetailTop.js +++ b/public/react/src/modules/paths/PathDetail/DetailTop.js @@ -31,6 +31,7 @@ class DetailTop extends Component{ } componentDidMount(){ let courseslist=[] + debugger if(this.props.courses!=undefined&&this.props.courses.length!=0){ this.props.courses.map((item,key)=>{ if(1===key+1){ @@ -260,7 +261,7 @@ class DetailTop extends Component{ {this.props.courses===undefined?"": - + 开放课程 } {detailInfoList===undefined?"":detailInfoList.allow_statistics===true? diff --git a/public/stylesheets/educoder/edu-all.css b/public/stylesheets/educoder/edu-all.css index 599120cbd..5a464a4c0 100644 --- a/public/stylesheets/educoder/edu-all.css +++ b/public/stylesheets/educoder/edu-all.css @@ -117,7 +117,7 @@ em.vertical-line{display: inline-block;width: 2px;background: #999;height: 10px} .tag-green{ position: absolute; left: 10px; - bottom: 95px;} + bottom: 90px;} .tag-green .tag-name{display: block;width: auto; /*background-image: url("/images/educoder/tag1.png");*/ background: #000000; @@ -125,7 +125,7 @@ em.vertical-line{display: inline-block;width: 2px;background: #999;height: 10px} border-radius: 3px; font-size: 14px; background-size: 100% 100%;padding: 0px 8px;color: #fff;float: left;} -.tag-orange{position: absolute;right: 0px;top:20px;} +.tag-orange{position: absolute;right: 0px;top:12px;} .tag-orange .tag-name{display: block;width: auto;background-color:#FF6800; background-size: 100% 100%;padding: 0px 8px;color: #fff;float: left; height: 28px;