dev_hss
杨树林 6 years ago
parent d270680ffb
commit 92fab34035

@ -6,6 +6,7 @@ import axios from 'axios';
import YslDetailCards from "./YslDetailCards.js"; import YslDetailCards from "./YslDetailCards.js";
import Jointheclass from '../../modals/Jointheclass'; import Jointheclass from '../../modals/Jointheclass';
import LoginDialog from "../../login/LoginDialog"; import LoginDialog from "../../login/LoginDialog";
import NoneData from '../../../modules/courses/coursesPublic/NoneData'
//在线学习 //在线学习
class Elearning extends Component{ class Elearning extends Component{
@ -377,14 +378,8 @@ class Elearning extends Component{
<div className=" clearfix" style={{marginTop:"20px"}}> <div className=" clearfix" style={{marginTop:"20px"}}>
{ {
stages===undefined||stages===JSON.stringify("[]")||stages.length===0? stages===undefined||stages===JSON.stringify("[]")||stages.length===0?
<div> <NoneData></NoneData>
:
<div className="alltask ">
<div className="edu-tab-con-box clearfix edu-txt-center"><img className="edu-nodata-img mb20"
src={getImageUrl("images/educoder/nodata.png")} />
<p className="edu-nodata-p mb20">暂时还没有相关数据哦</p></div>
</div>
</div>:
<div> <div>
{/*开始学习*/} {/*开始学习*/}
<YslDetailCards {...this.state} {...this.props} Startlearningtwo={()=>this.Startlearningtwo()} Myreload={()=>this.Myreload()} Tojoinclass={()=>this.Tojoinclass()}></YslDetailCards> <YslDetailCards {...this.state} {...this.props} Startlearningtwo={()=>this.Startlearningtwo()} Myreload={()=>this.Myreload()} Tojoinclass={()=>this.Tojoinclass()}></YslDetailCards>

@ -5,6 +5,8 @@ import './myysleduinforms.css'
import axios from 'axios'; import axios from 'axios';
import TPMMDEditor from "../../tpm/challengesnew/TPMMDEditor"; import TPMMDEditor from "../../tpm/challengesnew/TPMMDEditor";
import Bullsubdirectory from "./Bullsubdirectory"; import Bullsubdirectory from "./Bullsubdirectory";
import NoneData from '../../../modules/courses/coursesPublic/NoneData'
import moment from "../new/CoursesNew"; import moment from "../new/CoursesNew";
import Fileslistitem from "../Resource/Fileslistitem"; import Fileslistitem from "../Resource/Fileslistitem";
// 公告栏 // 公告栏
@ -399,11 +401,7 @@ class Eduinforms extends Component{
{ {
informs === null || informs=== undefined ||informs.length === 0 ? informs === null || informs=== undefined ||informs.length === 0 ?
this.state.yslbool===false? this.state.yslbool===false?
<div className="alltask "> <NoneData></NoneData>
<div className="edu-tab-con-box clearfix edu-txt-center"><img className="edu-nodata-img mb20"
src={getImageUrl("images/educoder/nodata.png")} />
<p className="edu-nodata-p mb20">暂时还没有相关数据哦</p></div>
</div>
:"" :""
: :

Loading…
Cancel
Save