From 0c193369b4b5d5f0618505130ca85904dba70dfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Sat, 17 Aug 2019 15:54:40 +0800 Subject: [PATCH] Merge branches 'dev_Ysm' and 'dev_hjm_a' of https://bdgit.educoder.net/Hjqreturn/educoder into dev_Ysm # Conflicts: # public/react/public/css/iconfont.css # public/react/src/modules/user/usersInfo/InfosShixun.js --- .../src/modules/paths/PathDetail/DetailTop.css | 16 ++++++++++++++++ .../src/modules/paths/PathDetail/DetailTop.js | 13 +++++++++++++ .../modules/paths/PathDetail/PathDetailIndex.js | 2 +- 3 files changed, 30 insertions(+), 1 deletion(-) diff --git a/public/react/src/modules/paths/PathDetail/DetailTop.css b/public/react/src/modules/paths/PathDetail/DetailTop.css index d29161542..c5c79b468 100644 --- a/public/react/src/modules/paths/PathDetail/DetailTop.css +++ b/public/react/src/modules/paths/PathDetail/DetailTop.css @@ -16,3 +16,19 @@ border-radius: 4px; box-sizing: border-box; } +.userNavs{ + height: 54px; + line-height: 54px; + background: #fff; + -webkit-box-shadow: 0 9px 16px -1px #e6e6e6; + box-shadow: 0 9px 16px -1px #e6e6e6; + border-radius: 7px; + padding: 0 10px; +} + +.userNav li { + display: inline-block; + padding: 0 30px; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} \ 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 5cc3c8241..766b466c0 100644 --- a/public/react/src/modules/paths/PathDetail/DetailTop.js +++ b/public/react/src/modules/paths/PathDetail/DetailTop.js @@ -268,8 +268,21 @@ class DetailTop extends Component{ + +
+ } + + + ) diff --git a/public/react/src/modules/paths/PathDetail/PathDetailIndex.js b/public/react/src/modules/paths/PathDetail/PathDetailIndex.js index 3dbd27992..476b60f40 100644 --- a/public/react/src/modules/paths/PathDetail/PathDetailIndex.js +++ b/public/react/src/modules/paths/PathDetail/PathDetailIndex.js @@ -369,7 +369,7 @@ class PathDetailIndex extends Component{ courses, } = this.state - console.log(this.props.checkIfLogin()) + return(