From db861b8b126d571f3510128b4caf13bbbd2e356a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Mon, 9 Sep 2019 16:41:06 +0800 Subject: [PATCH 01/41] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=AB=A0=E8=8A=82?= =?UTF-8?q?=E9=80=89=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/modules/courses/ListPageIndex.js | 16 +++++- .../courses/coursesDetail/CoursesLeftNav.js | 25 +++++++-- .../modules/courses/elearning/Elearning.js | 52 ++++++++++++------- 3 files changed, 68 insertions(+), 25 deletions(-) diff --git a/public/react/src/modules/courses/ListPageIndex.js b/public/react/src/modules/courses/ListPageIndex.js index ae52cd6b8..e025004e0 100644 --- a/public/react/src/modules/courses/ListPageIndex.js +++ b/public/react/src/modules/courses/ListPageIndex.js @@ -77,9 +77,21 @@ class ListPageIndex extends Component{ super(props); this.state={ yslGuideone:undefined, + yslElearning:false, } } + comyslElearning(bool){ + if(bool===true){ + this.setState({ + yslElearning:true, + }) + }else { + this.setState({ + yslElearning:false, + }) + } + } componentDidMount(){ console.log("77"); var yslGuideone = window.localStorage.getItem('yslGuideone'); @@ -175,7 +187,7 @@ class ListPageIndex extends Component{ {/*left_nav*/}
内容
内容
+
-
-
-
-
- {item.stage_name}
- {
- idsum===key&&pathCardsedittype===true?'':
-
- this.props.isAdmin()==true?
-
-
- { editbuttomtype===true?'':
-
{item.stage_description}
- -
+
+
+
+
+ {item.stage_name}
+ {
+ idsum===key&&pathCardsedittype===true?'':
+
+ this.props.isAdmin()==true?
+
+
+ { editbuttomtype===true?'':
+
{item.stage_description}
+ +
From 8c87ba9bf00f8340d80cccaf7e5615589a576db4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com>
Date: Wed, 11 Sep 2019 15:48:59 +0800
Subject: [PATCH 25/41] =?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/src/modules/courses/elearning/YslDetailCards.js | 2 +-
.../react/src/modules/paths/PathDetail/DetailCardsEditAndAdd.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/public/react/src/modules/courses/elearning/YslDetailCards.js b/public/react/src/modules/courses/elearning/YslDetailCards.js
index c7308c2ee..035af5c40 100644
--- a/public/react/src/modules/courses/elearning/YslDetailCards.js
+++ b/public/react/src/modules/courses/elearning/YslDetailCards.js
@@ -225,7 +225,7 @@ class YslDetailCards extends Component{
editeditbuttomtypecanle=()=>{
this.setState({
editbuttomtype:true,
- editbuttomtypeadd:true
+ editbuttomtypeadd:false
})
}
diff --git a/public/react/src/modules/paths/PathDetail/DetailCardsEditAndAdd.js b/public/react/src/modules/paths/PathDetail/DetailCardsEditAndAdd.js
index e53bb59f2..845f94adc 100644
--- a/public/react/src/modules/paths/PathDetail/DetailCardsEditAndAdd.js
+++ b/public/react/src/modules/paths/PathDetail/DetailCardsEditAndAdd.js
@@ -643,7 +643,7 @@ class DetailCardsEditAndAdd extends Component{
{this.props.detailInfoList===undefined?"":this.props.detailInfoList.allow_statistics===true?editPanel===false?
(CX>g72I6JO%p_S^9styzJ@C+YaORg6xO}w8fN^M;uAx%rOk7%hBlu
z%myzpyL*z(Glf9r4TMP|GgiAO*LozpSMkawzl)Aq;#lLI~HgWug
zMA=Q4Dm^qk|7}_=Nmx-H7d6bf|DcGmmR~@lj{*xX=*R{8PiShq8;W`DneOLtTh#9M
zu0j1V)u}QzxeCO%6cu{a6uL;(eyM-lVRICB)J&AiFL`bA$tfhTE}Bx8wcH%(9p)*<
zOvSbt{}}Zu#9*9dd3X;aQZ!DBL%UMX8yU|h?0Hva&R1^w;#^m7^B6Zoj`ggEd(^XM
zYnVF&2MltBa^ZHk1P@!r3lP6{4q@rbgeqXmca}k3O;PsdV3sYCAfX(pSGMIuW`>9{
zFiS>Bh2X{Jvzp*r1bZ|(f5p!0Pg%)^jlWZ4fv+Ds|Gn$Yq7mo0?3fur#;Y`_l`%8^
z9u7IB+$x8d+Ymj0@TwEKDk$di80m?<>q4A5mppRTe()(1$`;AEFWI5^tNCMnsUZFv
z=NS(PssOtny4@f}2g@4WLB6fGwF3U-$0anZU4sgN^Mr3aR2-=C8I(-+yBCt=$GKgy
z+77U=zWwd{JId>H@F6YHJ=XJ+b=`LgrVhCq
x~GiM3jboryT7s-|^2nW4w;a)=V
zngelD==uwoZ>^tisW8=Ty4T2e9AbB+Qmw#V*Ygbj@n