diff --git a/public/react/src/modules/courses/coursesDetail/CoursesLeftNav.js b/public/react/src/modules/courses/coursesDetail/CoursesLeftNav.js index 7698dfa90..9d50426e8 100644 --- a/public/react/src/modules/courses/coursesDetail/CoursesLeftNav.js +++ b/public/react/src/modules/courses/coursesDetail/CoursesLeftNav.js @@ -553,19 +553,28 @@ class Coursesleftnav extends Component{ // notification.open({ // message: "删除成功", // }); - window.location.href = url; + + // this.props.history.replace(url); + window.location.href = url; } - deletenavchilds=(url)=>{ + deletenavchilds=(url,mainurl)=>{ + axios.delete(url).then((result)=>{ if(result.data.status===0){ - this.updatadeleteSecondary(result.data.right_url) + + if(mainurl===undefined){ + this.updatadeleteSecondary(result.data.right_url) + }else{ + this.updatadeleteSecondary(mainurl) + } + } }).catch((error)=>{ console.log(error) }) } - deleteSecondary=(e,type,id)=>{ + deleteSecondary=(e,type,id,mainurl)=>{ e.stopPropagation();//阻止冒泡 if(type===1){ let url="/course_second_categories/"+id+".json" @@ -593,7 +602,7 @@ class Coursesleftnav extends Component{ ModalsType:true, Modalstopval:"该目录下的内容将被移动到父目录,", ModalsBottomval:"是否确认删除?", - ModalSave:()=>this.deletenavchilds(url), + ModalSave:()=>this.deletenavchilds(url,mainurl), }) } @@ -726,7 +735,7 @@ class Coursesleftnav extends Component{ {item.type==="course_group"?
this.deleteSecondary(e,2,iem.category_id)}>删除
:""} {/*讨论区*/} {item.type==="board"?
this.Navmodalnames(e,7,"editSecondname",iem.category_id,iem.category_name)}>重命名
:""} - {item.type==="board"?
this.deleteSecondary(e,3,iem.category_id)}>删除
:""} + {item.type==="board"?
this.deleteSecondary(e,3,iem.category_id,item.category_url)}>删除
:""} ) } diff --git a/public/react/src/modules/courses/coursesHome/coursesHomeCard.js b/public/react/src/modules/courses/coursesHome/coursesHomeCard.js index c0a1a93f0..6869b6b71 100644 --- a/public/react/src/modules/courses/coursesHome/coursesHomeCard.js +++ b/public/react/src/modules/courses/coursesHome/coursesHomeCard.js @@ -40,7 +40,8 @@ class coursesHomeCard extends Component{ className="mt80 mb25"/>

非成员不能访问

- + {/**/} + {/*target="_blank"*/} { item.is_public===1&&item.id===1309? diff --git a/public/react/src/modules/courses/coursesPublic/ShixunModal.js b/public/react/src/modules/courses/coursesPublic/ShixunModal.js index d01c8d986..a9eddaa87 100644 --- a/public/react/src/modules/courses/coursesPublic/ShixunModal.js +++ b/public/react/src/modules/courses/coursesPublic/ShixunModal.js @@ -211,15 +211,15 @@ class ShixunModal extends Component{ this.changeTag("all")} className={ type==="all" ? "active edu-filter-cir-grey font-12":"edu-filter-cir-grey font-12"}>全部 - { - shixunmodallist && shixunmodallist.tags.map((item,key)=>{ - return( -
  • - this.changeTag(item.tag_id)} className={ parseInt(type) === parseInt(item.tag_id) ? "active edu-filter-cir-grey font-12":"edu-filter-cir-grey font-12"}>{item.tag_name} -
  • - ) - }) - } + {/*{*/} + {/*shixunmodallist && shixunmodallist.tags.map((item,key)=>{*/} + {/*return(*/} + {/*
  • */} + {/*this.changeTag(item.tag_id)} className={ parseInt(type) === parseInt(item.tag_id) ? "active edu-filter-cir-grey font-12":"edu-filter-cir-grey font-12"}>{item.tag_name}*/} + {/*
  • */} + {/*)*/} + {/*})*/} + {/*}*/}
    @@ -251,9 +251,9 @@ class ShixunModal extends Component{ } @@ -292,9 +292,9 @@ class ShixunModal extends Component{ {item.shixun_name} -
  • {item.school_users}
  • +
  • {item.school}
  • {item.myshixuns_count}
  • -
  • {item.preference}
  • +
  • {item.level}
  • 详情
  • diff --git a/public/react/src/modules/page/layers/TaskResultLayer.css b/public/react/src/modules/page/layers/TaskResultLayer.css index 0dd118470..c9912b710 100644 --- a/public/react/src/modules/page/layers/TaskResultLayer.css +++ b/public/react/src/modules/page/layers/TaskResultLayer.css @@ -1,134 +1,138 @@ -.taskResultLayer { - color: #666666; - z-index: 99999999999999; - width: 100%; - height: 100%; - position: fixed; - background:rgba(0,0,0,0.8); - top: 0px; - overflow: hidden; -} - .taskResultLayer .closeIcon{ - position: absolute; - right: 100px; - top: 46px; - font-size: 28px; - z-index: 999999; - color: rgb(255,255,255,0.7); - cursor: pointer; - } - .taskResultLayer .closeIcon:hover { - color: #4CACFF; - } - .taskResultLayer .expGold { - color: #b27919 ; - } - .taskResultLayer .rateLabel { - color: #fff ; - font-size: 14px; - } - .taskResultLayer .rc-rate-star { - font-size: 24px; - color: rgb(192, 192, 192); - } - .taskResultLayer .rc-rate-star:nth-child(5) { - margin-right: 0px; - } - -/* ImageLayer ----------------- Start */ -.passContent{ - justify-content: center; - align-items: center; - display: -webkit-flex; - height: 100%; - text-align: center; -} -.passImg{ - max-width: 86%; - max-height: 100%; -} -/* ImageLayer ----------------- End */ - -.passTaskContent{ - width: 652px; - height:100%; - margin:0px auto; - margin-top: 4%; -} -.passTaskImg{ - position: absolute; - z-index: 2; - user-select: none; -} - -.winpPerson{ - position: absolute; - width: 100%; - z-index: 3; - color: #D1A448; - text-align: center; - margin-top:304px; - font-size: 18px; -} -.winPanel{ - position: absolute; - width: 308px; - z-index: 5; - height: 356px; - border-radius: 10px; - margin:0px auto; - top:435px; - left: 50%; - margin-left: -154px; - text-align: center; -} -.inline{ - display: inline-block; - width: auto; - line-height: 26px; - font-size: 16px; -} -.inline.exp { - margin-left: 18px; -} - .inline img{ - margin-right: 8px; - } -.goldring{ - margin-right: 8px; - width: 17px; - height: 17px; - border-radius: 50%; - background-color: #FFD633; - display: block; - float: left; - margin-top: 5px; -} -.passNext{ - width:120px; - height:30px; - line-height:30px; - border-radius: 2px; - display: block; - background-color:#CCC; - color:#fff!important; - margin: 0px auto; -} -.passed{ - width:120px; - height:30px; - line-height:30px; - border-radius: 2px; - display: block; - color:#fff!important; - margin: 0px auto; - margin-top: 12px; - background-color: #CCCCCC; -} -.passed.stared { - background-color:#4CACFF; - opacity: 0.8; -} -.passed.stared:hover { - opacity: 1; +.taskResultLayer { + color: #666666; + z-index: 99999999999999; + width: 100%; + height: 100%; + position: fixed; + background:rgba(0,0,0,0.8); + top: 0px; + overflow: hidden; +} + .taskResultLayer .closeIcon{ + position: absolute; + right: 100px; + top: 46px; + font-size: 28px; + z-index: 999999; + color: rgb(255,255,255,0.7); + cursor: pointer; + } + .taskResultLayer .closeIcon:hover { + color: #4CACFF; + } + .taskResultLayer .expGold { + color: #b27919 ; + } + .taskResultLayer .rateLabel { + color: #fff ; + font-size: 14px; + } + .taskResultLayer .rc-rate-star { + font-size: 24px; + color: rgb(192, 192, 192); + } + .taskResultLayer .rc-rate-star:nth-child(5) { + margin-right: 0px; + } + +/* ImageLayer ----------------- Start */ +.passContent{ + justify-content: center; + align-items: center; + display: -webkit-flex; + height: 100%; + text-align: center; +} +.passImg{ + max-width: 86%; + max-height: 100%; +} +/* ImageLayer ----------------- End */ + +.passTaskContent{ + width: 652px; + height:100%; + margin:0px auto; + margin-top: 4%; +} +.passTaskImg{ + position: absolute; + z-index: 2; + user-select: none; +} + +.winpPerson{ + position: absolute; + width: 100%; + z-index: 3; + color: #D1A448; + text-align: center; + margin-top:304px; + font-size: 18px; +} +.winPanel{ + position: absolute; + width: 308px; + z-index: 5; + height: 356px; + border-radius: 10px; + margin:0px auto; + top:435px; + left: 50%; + margin-left: -154px; + text-align: center; +} +.inline{ + display: inline-block; + width: auto; + line-height: 26px; + font-size: 16px; +} +.inline.exp { + margin-left: 18px; +} + /*.inline img{*/ + /*margin-right: 8px;*/ + /*}*/ +.goldring{ + margin-right: 8px; + width: 17px; + height: 17px; + border-radius: 50%; + background-color: #FFD633; + display: block; + float: left; + margin-top: 5px; +} +.passNext{ + width:120px; + height:30px; + line-height:30px; + border-radius: 2px; + display: block; + background-color:#CCC; + color:#fff!important; + margin: 0px auto; +} +.passed{ + width:120px; + height:30px; + line-height:30px; + border-radius: 2px; + display: block; + color:#fff!important; + margin: 0px auto; + margin-top: 12px; + background-color: #CCCCCC; +} +.passed.stared { + background-color:#4CACFF; + opacity: 0.8; +} +.passed.stared:hover { + opacity: 1; +} + +.vertical4{ + vertical-align: -4px; } \ No newline at end of file diff --git a/public/react/src/modules/paths/PathDetail/DetailCardsEditAndEdit.js b/public/react/src/modules/paths/PathDetail/DetailCardsEditAndEdit.js index f822b0de1..1bf137016 100644 --- a/public/react/src/modules/paths/PathDetail/DetailCardsEditAndEdit.js +++ b/public/react/src/modules/paths/PathDetail/DetailCardsEditAndEdit.js @@ -476,7 +476,7 @@ class DetailCardsEditAndEdit extends Component{ footer={null} width="840px" destroyOnClose={true} - >Z + >
    diff --git a/public/react/src/modules/tpm/NewFooter.js b/public/react/src/modules/tpm/NewFooter.js index 9c984b8cd..12cede329 100644 --- a/public/react/src/modules/tpm/NewFooter.js +++ b/public/react/src/modules/tpm/NewFooter.js @@ -37,7 +37,16 @@ class NewFooter extends Component {
    -

    © 2019 EduCoder湘ICP备17009477号Trustie   &   IntelliDE inside.

    +

    + © 2019 EduCoder + 湘ICP备17009477号 + + 湘公网安备43019002000962号 + + Trustie   &   IntelliDE inside. 版权所有 湖南智擎科技有限公司 +

    diff --git a/public/react/src/modules/tpm/beian.png b/public/react/src/modules/tpm/beian.png new file mode 100755 index 000000000..9f763946d Binary files /dev/null and b/public/react/src/modules/tpm/beian.png differ