From 33e870fd97ac3887651bda875efb08e8b6007849 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, 15 Jul 2019 18:27:32 +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 --- .../courses/coursesDetail/CoursesLeftNav.js | 21 +- .../courses/coursesHome/coursesHomeCard.js | 3 +- .../courses/coursesPublic/ShixunModal.js | 28 +- .../modules/page/layers/TaskResultLayer.css | 270 +++++++++--------- .../PathDetail/DetailCardsEditAndEdit.js | 2 +- public/react/src/modules/tpm/NewFooter.js | 11 +- public/react/src/modules/tpm/beian.png | Bin 0 -> 19256 bytes 7 files changed, 179 insertions(+), 156 deletions(-) create mode 100755 public/react/src/modules/tpm/beian.png 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 0000000000000000000000000000000000000000..9f763946dd6606addeab24e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