|  |  |  | @ -1,116 +1,114 @@ | 
			
		
	
		
			
				
					|  |  |  |  | import React,{ Component } from "react"; | 
			
		
	
		
			
				
					|  |  |  |  | import { Input,Checkbox,Table, Pagination, Modal,Menu, Tooltip,Spin,Button,Form,Icon,message,Progress,notification} from "antd"; | 
			
		
	
		
			
				
					|  |  |  |  | import { WordsBtn,on, off, trigger,markdownToHTML,getImageUrl} from 'educoder'; | 
			
		
	
		
			
				
					|  |  |  |  | import React, { Component } from "react"; | 
			
		
	
		
			
				
					|  |  |  |  | import { Modal, Spin, Button, Form, Icon, message, Progress, notification } from "antd"; | 
			
		
	
		
			
				
					|  |  |  |  | import './myelearning.css' | 
			
		
	
		
			
				
					|  |  |  |  | import axios from 'axios'; | 
			
		
	
		
			
				
					|  |  |  |  | import YslDetailCards from "./YslDetailCards.js"; | 
			
		
	
		
			
				
					|  |  |  |  | import Jointheclass from '../../modals/Jointheclass'; | 
			
		
	
		
			
				
					|  |  |  |  | import LoginDialog from "../../login/LoginDialog"; | 
			
		
	
		
			
				
					|  |  |  |  | import NoneData from '../../../modules/courses/coursesPublic/NoneData' | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | //在线学习
 | 
			
		
	
		
			
				
					|  |  |  |  | class Elearning extends Component{ | 
			
		
	
		
			
				
					|  |  |  |  | 	constructor(props){ | 
			
		
	
		
			
				
					|  |  |  |  | class Elearning extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 	constructor(props) { | 
			
		
	
		
			
				
					|  |  |  |  | 		super(props); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 		this.state={ | 
			
		
	
		
			
				
					|  |  |  |  | 			description:"",  //简介
 | 
			
		
	
		
			
				
					|  |  |  |  | 			isSpin:true, | 
			
		
	
		
			
				
					|  |  |  |  | 			start_learning:undefined, //是否要开始学习   没开始学习 点击第一个是开始学习 就是学习下面的从第一个开始
 | 
			
		
	
		
			
				
					|  |  |  |  | 			learned:0,  //学习进度
 | 
			
		
	
		
			
				
					|  |  |  |  | 			last_shixun:"", //上次学习的实训
 | 
			
		
	
		
			
				
					|  |  |  |  | 			stages:[], //实践课程的章节
 | 
			
		
	
		
			
				
					|  |  |  |  | 			yslJointhe:false, | 
			
		
	
		
			
				
					|  |  |  |  | 			shixunsreplace:false, | 
			
		
	
		
			
				
					|  |  |  |  | 			hidestartshixunsreplacevalue:"", | 
			
		
	
		
			
				
					|  |  |  |  | 			shixunsmessage:"", | 
			
		
	
		
			
				
					|  |  |  |  | 			startshixunCombattype:false, | 
			
		
	
		
			
				
					|  |  |  |  | 			isSpins:false, | 
			
		
	
		
			
				
					|  |  |  |  | 			userlogin:"", | 
			
		
	
		
			
				
					|  |  |  |  | 			isRender:false, | 
			
		
	
		
			
				
					|  |  |  |  | 			subject_id:0, | 
			
		
	
		
			
				
					|  |  |  |  | 			myupdataleftNavs:this.myupdataleftNav | 
			
		
	
		
			
				
					|  |  |  |  | 		this.state = { | 
			
		
	
		
			
				
					|  |  |  |  | 			description: "",  //简介
 | 
			
		
	
		
			
				
					|  |  |  |  | 			isSpin: true, | 
			
		
	
		
			
				
					|  |  |  |  | 			start_learning: undefined, //是否要开始学习   没开始学习 点击第一个是开始学习 就是学习下面的从第一个开始
 | 
			
		
	
		
			
				
					|  |  |  |  | 			learned: 0,  //学习进度
 | 
			
		
	
		
			
				
					|  |  |  |  | 			last_shixun: "", //上次学习的实训
 | 
			
		
	
		
			
				
					|  |  |  |  | 			stages: [], //实践课程的章节
 | 
			
		
	
		
			
				
					|  |  |  |  | 			yslJointhe: false, | 
			
		
	
		
			
				
					|  |  |  |  | 			shixunsreplace: false, | 
			
		
	
		
			
				
					|  |  |  |  | 			hidestartshixunsreplacevalue: "", | 
			
		
	
		
			
				
					|  |  |  |  | 			shixunsmessage: "", | 
			
		
	
		
			
				
					|  |  |  |  | 			startshixunCombattype: false, | 
			
		
	
		
			
				
					|  |  |  |  | 			isSpins: false, | 
			
		
	
		
			
				
					|  |  |  |  | 			userlogin: "", | 
			
		
	
		
			
				
					|  |  |  |  | 			isRender: false, | 
			
		
	
		
			
				
					|  |  |  |  | 			subject_id: 0, | 
			
		
	
		
			
				
					|  |  |  |  | 			myupdataleftNavs: this.myupdataleftNav | 
			
		
	
		
			
				
					|  |  |  |  | 		} | 
			
		
	
		
			
				
					|  |  |  |  | 	} | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 	componentDidMount() { | 
			
		
	
		
			
				
					|  |  |  |  | 		// 记得删除退出课堂
 | 
			
		
	
		
			
				
					|  |  |  |  | 		// console.log("在线学习");
 | 
			
		
	
		
			
				
					|  |  |  |  | 	  // console.log("获取到数据");
 | 
			
		
	
		
			
				
					|  |  |  |  | 		// console.log("获取到数据");
 | 
			
		
	
		
			
				
					|  |  |  |  | 		// console.log(this.props);
 | 
			
		
	
		
			
				
					|  |  |  |  | 		this.getdata(); | 
			
		
	
		
			
				
					|  |  |  |  | 	} | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 	getdata=()=>{ | 
			
		
	
		
			
				
					|  |  |  |  | 	getdata = () => { | 
			
		
	
		
			
				
					|  |  |  |  | 		console.log("更新了数据了"); | 
			
		
	
		
			
				
					|  |  |  |  | 		let url = `/courses/${this.props.match.params.coursesId}/online_learning.json`; | 
			
		
	
		
			
				
					|  |  |  |  | 		// //
 | 
			
		
	
		
			
				
					|  |  |  |  | 		axios.get(url).then((response) => { | 
			
		
	
		
			
				
					|  |  |  |  | 			if(response){ | 
			
		
	
		
			
				
					|  |  |  |  | 				if(response.data){ | 
			
		
	
		
			
				
					|  |  |  |  | 			if (response) { | 
			
		
	
		
			
				
					|  |  |  |  | 				if (response.data) { | 
			
		
	
		
			
				
					|  |  |  |  | 					// console.log("获取到到数据");
 | 
			
		
	
		
			
				
					|  |  |  |  | 					//  console.log(response);
 | 
			
		
	
		
			
				
					|  |  |  |  | 					this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  | 						description: response.data.description, | 
			
		
	
		
			
				
					|  |  |  |  | 						start_learning:response.data.start_learning, | 
			
		
	
		
			
				
					|  |  |  |  | 						learned:response.data.learned, | 
			
		
	
		
			
				
					|  |  |  |  | 						last_shixun:response.data.last_shixun, | 
			
		
	
		
			
				
					|  |  |  |  | 						stages:response.data.stages, | 
			
		
	
		
			
				
					|  |  |  |  | 						subject_id:response.data.subject_id, | 
			
		
	
		
			
				
					|  |  |  |  | 						start_learning: response.data.start_learning, | 
			
		
	
		
			
				
					|  |  |  |  | 						learned: response.data.learned, | 
			
		
	
		
			
				
					|  |  |  |  | 						last_shixun: response.data.last_shixun, | 
			
		
	
		
			
				
					|  |  |  |  | 						stages: response.data.stages, | 
			
		
	
		
			
				
					|  |  |  |  | 						subject_id: response.data.subject_id, | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 					}); | 
			
		
	
		
			
				
					|  |  |  |  | 				} | 
			
		
	
		
			
				
					|  |  |  |  | 			} | 
			
		
	
		
			
				
					|  |  |  |  | 			this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  | 				isSpin:false, | 
			
		
	
		
			
				
					|  |  |  |  | 				isSpin: false, | 
			
		
	
		
			
				
					|  |  |  |  | 			}) | 
			
		
	
		
			
				
					|  |  |  |  | 		}).catch((error) => { | 
			
		
	
		
			
				
					|  |  |  |  | 			console.log(error); | 
			
		
	
		
			
				
					|  |  |  |  | 			this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  | 				isSpin:false, | 
			
		
	
		
			
				
					|  |  |  |  | 				isSpin: false, | 
			
		
	
		
			
				
					|  |  |  |  | 			}) | 
			
		
	
		
			
				
					|  |  |  |  | 		}); | 
			
		
	
		
			
				
					|  |  |  |  | 		try { | 
			
		
	
		
			
				
					|  |  |  |  | 			if(this.props.current_user!==undefined){ | 
			
		
	
		
			
				
					|  |  |  |  | 			if (this.props.current_user !== undefined) { | 
			
		
	
		
			
				
					|  |  |  |  | 				this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  | 					userlogin :this.props.current_user.login, | 
			
		
	
		
			
				
					|  |  |  |  | 					userlogin: this.props.current_user.login, | 
			
		
	
		
			
				
					|  |  |  |  | 				}) | 
			
		
	
		
			
				
					|  |  |  |  | 			} | 
			
		
	
		
			
				
					|  |  |  |  | 		}catch (e) { | 
			
		
	
		
			
				
					|  |  |  |  | 		} catch (e) { | 
			
		
	
		
			
				
					|  |  |  |  | 			console.log("12312312312") | 
			
		
	
		
			
				
					|  |  |  |  | 			console.log(e); | 
			
		
	
		
			
				
					|  |  |  |  | 		} | 
			
		
	
		
			
				
					|  |  |  |  | 	} | 
			
		
	
		
			
				
					|  |  |  |  | 	componentDidUpdate = (prevProps) => { | 
			
		
	
		
			
				
					|  |  |  |  | 		 console.log("componentDidUpdate"); | 
			
		
	
		
			
				
					|  |  |  |  | 		console.log("componentDidUpdate"); | 
			
		
	
		
			
				
					|  |  |  |  | 		// console.log(prevProps);
 | 
			
		
	
		
			
				
					|  |  |  |  | 		// console.log(this.props);
 | 
			
		
	
		
			
				
					|  |  |  |  | 		if(prevProps.current_user!=this.props.current_user){ | 
			
		
	
		
			
				
					|  |  |  |  | 			if(this.props.current_user!==undefined){ | 
			
		
	
		
			
				
					|  |  |  |  | 		if (prevProps.current_user != this.props.current_user) { | 
			
		
	
		
			
				
					|  |  |  |  | 			if (this.props.current_user !== undefined) { | 
			
		
	
		
			
				
					|  |  |  |  | 				// console.log(this.props.current_user.login);
 | 
			
		
	
		
			
				
					|  |  |  |  | 				// console.log(prevProps.current_user.login);
 | 
			
		
	
		
			
				
					|  |  |  |  | 				this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  | 					userlogin :this.props.current_user.login, | 
			
		
	
		
			
				
					|  |  |  |  | 					userlogin: this.props.current_user.login, | 
			
		
	
		
			
				
					|  |  |  |  | 				}) | 
			
		
	
		
			
				
					|  |  |  |  | 			} | 
			
		
	
		
			
				
					|  |  |  |  | 		} | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 			if(prevProps.yslElearning===this.props.yslElearning) { | 
			
		
	
		
			
				
					|  |  |  |  | 				if(prevProps.yslElearning===true && this.props.yslElearning===true){ | 
			
		
	
		
			
				
					|  |  |  |  | 					// console.log("=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-");
 | 
			
		
	
		
			
				
					|  |  |  |  | 					// console.log(prevProps.yslElearning);
 | 
			
		
	
		
			
				
					|  |  |  |  | 					// console.log(this.props.yslElearning);
 | 
			
		
	
		
			
				
					|  |  |  |  | 					this.getdata(); | 
			
		
	
		
			
				
					|  |  |  |  | 		if (prevProps.yslElearning === this.props.yslElearning) { | 
			
		
	
		
			
				
					|  |  |  |  | 			if (prevProps.yslElearning === true && this.props.yslElearning === true) { | 
			
		
	
		
			
				
					|  |  |  |  | 				// console.log("=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-");
 | 
			
		
	
		
			
				
					|  |  |  |  | 				// console.log(prevProps.yslElearning);
 | 
			
		
	
		
			
				
					|  |  |  |  | 				// console.log(this.props.yslElearning);
 | 
			
		
	
		
			
				
					|  |  |  |  | 				this.getdata(); | 
			
		
	
		
			
				
					|  |  |  |  | 				this.props.comyslElearning(false); | 
			
		
	
		
			
				
					|  |  |  |  | 				} | 
			
		
	
		
			
				
					|  |  |  |  | 			} | 
			
		
	
		
			
				
					|  |  |  |  | 		} | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 	} | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 	//开始学习
 | 
			
		
	
		
			
				
					|  |  |  |  | 	Startlearning=()=>{ | 
			
		
	
		
			
				
					|  |  |  |  | 		let {userlogin} = this.state; | 
			
		
	
		
			
				
					|  |  |  |  | 	Startlearning = () => { | 
			
		
	
		
			
				
					|  |  |  |  | 		let { userlogin } = this.state; | 
			
		
	
		
			
				
					|  |  |  |  | 		console.log("userlogin"); | 
			
		
	
		
			
				
					|  |  |  |  | 		console.log(userlogin); | 
			
		
	
		
			
				
					|  |  |  |  | 		if (userlogin === undefined) { | 
			
		
	
	
		
			
				
					|  |  |  | @ -125,38 +123,38 @@ class Elearning extends Component{ | 
			
		
	
		
			
				
					|  |  |  |  | 			}) | 
			
		
	
		
			
				
					|  |  |  |  | 			return; | 
			
		
	
		
			
				
					|  |  |  |  | 		} | 
			
		
	
		
			
				
					|  |  |  |  | 		if(this.props.isNotMember()===true){ | 
			
		
	
		
			
				
					|  |  |  |  | 		if (this.props.isNotMember() === true) { | 
			
		
	
		
			
				
					|  |  |  |  | 			this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  | 				yslJointhe:true | 
			
		
	
		
			
				
					|  |  |  |  | 				yslJointhe: true | 
			
		
	
		
			
				
					|  |  |  |  | 			}) | 
			
		
	
		
			
				
					|  |  |  |  | 		}else { | 
			
		
	
		
			
				
					|  |  |  |  | 			let {stages}=this.state; | 
			
		
	
		
			
				
					|  |  |  |  |        if(stages.length>0){ | 
			
		
	
		
			
				
					|  |  |  |  |        	var stagesdatas=[]; | 
			
		
	
		
			
				
					|  |  |  |  |        	 for(var i=0;i<stages.length;i++){ | 
			
		
	
		
			
				
					|  |  |  |  |        	 	for(var ki=0;ki<stages[i].shixuns_list.length;ki++){ | 
			
		
	
		
			
				
					|  |  |  |  | 						if(stages[i].shixuns_list[ki].shixun_status !=="暂未公开"){ | 
			
		
	
		
			
				
					|  |  |  |  | 							var id=stages[i].shixuns_list[ki].identifier; | 
			
		
	
		
			
				
					|  |  |  |  | 		} else { | 
			
		
	
		
			
				
					|  |  |  |  | 			let { stages } = this.state; | 
			
		
	
		
			
				
					|  |  |  |  | 			if (stages.length > 0) { | 
			
		
	
		
			
				
					|  |  |  |  | 				var stagesdatas = []; | 
			
		
	
		
			
				
					|  |  |  |  | 				for (var i = 0; i < stages.length; i++) { | 
			
		
	
		
			
				
					|  |  |  |  | 					for (var ki = 0; ki < stages[i].shixuns_list.length; ki++) { | 
			
		
	
		
			
				
					|  |  |  |  | 						if (stages[i].shixuns_list[ki].shixun_status !== "暂未公开") { | 
			
		
	
		
			
				
					|  |  |  |  | 							var id = stages[i].shixuns_list[ki].identifier; | 
			
		
	
		
			
				
					|  |  |  |  | 							console.log(id); | 
			
		
	
		
			
				
					|  |  |  |  | 							stagesdatas.push(id); | 
			
		
	
		
			
				
					|  |  |  |  | 						} | 
			
		
	
		
			
				
					|  |  |  |  | 					} | 
			
		
	
		
			
				
					|  |  |  |  |        	 } | 
			
		
	
		
			
				
					|  |  |  |  |        	 console.log(stagesdatas[0]); | 
			
		
	
		
			
				
					|  |  |  |  |        	 if(stagesdatas.length>0){ | 
			
		
	
		
			
				
					|  |  |  |  | 					 this.kaishishixun(stagesdatas[0]); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 				 }else { | 
			
		
	
		
			
				
					|  |  |  |  | 					 notification.open({ | 
			
		
	
		
			
				
					|  |  |  |  | 						 message:"提示", | 
			
		
	
		
			
				
					|  |  |  |  | 						 description: "实训暂未公开!" | 
			
		
	
		
			
				
					|  |  |  |  | 					 }); | 
			
		
	
		
			
				
					|  |  |  |  | 				 } | 
			
		
	
		
			
				
					|  |  |  |  | 				 console.log("这是"+i); | 
			
		
	
		
			
				
					|  |  |  |  | 			 } | 
			
		
	
		
			
				
					|  |  |  |  | 				} | 
			
		
	
		
			
				
					|  |  |  |  | 				console.log(stagesdatas[0]); | 
			
		
	
		
			
				
					|  |  |  |  | 				if (stagesdatas.length > 0) { | 
			
		
	
		
			
				
					|  |  |  |  | 					this.kaishishixun(stagesdatas[0]); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 				} else { | 
			
		
	
		
			
				
					|  |  |  |  | 					notification.open({ | 
			
		
	
		
			
				
					|  |  |  |  | 						message: "提示", | 
			
		
	
		
			
				
					|  |  |  |  | 						description: "实训暂未公开!" | 
			
		
	
		
			
				
					|  |  |  |  | 					}); | 
			
		
	
		
			
				
					|  |  |  |  | 				} | 
			
		
	
		
			
				
					|  |  |  |  | 				console.log("这是" + i); | 
			
		
	
		
			
				
					|  |  |  |  | 			} | 
			
		
	
		
			
				
					|  |  |  |  | 		} | 
			
		
	
		
			
				
					|  |  |  |  | 	}; | 
			
		
	
		
			
				
					|  |  |  |  | 	kaishishixun=(id)=>{ | 
			
		
	
		
			
				
					|  |  |  |  | 	kaishishixun = (id) => { | 
			
		
	
		
			
				
					|  |  |  |  | 		let url = "/shixuns/" + id + "/shixun_exec.json"; | 
			
		
	
		
			
				
					|  |  |  |  | 		axios.get(url).then((response) => { | 
			
		
	
		
			
				
					|  |  |  |  | 			console.log("精品课堂开发学习"); | 
			
		
	
	
		
			
				
					|  |  |  | @ -165,19 +163,19 @@ class Elearning extends Component{ | 
			
		
	
		
			
				
					|  |  |  |  | 			if (response.data.status === -2) { | 
			
		
	
		
			
				
					|  |  |  |  | 				this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 					shixunsreplaces:true, | 
			
		
	
		
			
				
					|  |  |  |  | 					hidestartshixunsreplacevalues:response.data.message+".json" | 
			
		
	
		
			
				
					|  |  |  |  | 					shixunsreplaces: true, | 
			
		
	
		
			
				
					|  |  |  |  | 					hidestartshixunsreplacevalues: response.data.message + ".json" | 
			
		
	
		
			
				
					|  |  |  |  | 				}) | 
			
		
	
		
			
				
					|  |  |  |  | 			} else if (response.data.status === -1) { | 
			
		
	
		
			
				
					|  |  |  |  | 				console.log(response) | 
			
		
	
		
			
				
					|  |  |  |  | 			}else if(response.data.status===-3){ | 
			
		
	
		
			
				
					|  |  |  |  | 			} else if (response.data.status === -3) { | 
			
		
	
		
			
				
					|  |  |  |  | 				this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  | 					shixunsmessages:response.data.message, | 
			
		
	
		
			
				
					|  |  |  |  | 					startshixunCombattypes:true, | 
			
		
	
		
			
				
					|  |  |  |  | 					shixunsmessages: response.data.message, | 
			
		
	
		
			
				
					|  |  |  |  | 					startshixunCombattypes: true, | 
			
		
	
		
			
				
					|  |  |  |  | 				}) | 
			
		
	
		
			
				
					|  |  |  |  | 			} else { | 
			
		
	
		
			
				
					|  |  |  |  | 				console.log("开始学习了"); | 
			
		
	
		
			
				
					|  |  |  |  | 				window.open("/tasks/" + response.data.game_identifier,'_blank'); | 
			
		
	
		
			
				
					|  |  |  |  | 				window.open("/tasks/" + response.data.game_identifier, '_blank'); | 
			
		
	
		
			
				
					|  |  |  |  | 				//这个是传过来  调用刷新
 | 
			
		
	
		
			
				
					|  |  |  |  | 				this.Myreload(); | 
			
		
	
		
			
				
					|  |  |  |  | 				// window.location.href = path
 | 
			
		
	
	
		
			
				
					|  |  |  | @ -189,60 +187,61 @@ class Elearning extends Component{ | 
			
		
	
		
			
				
					|  |  |  |  | 		}); | 
			
		
	
		
			
				
					|  |  |  |  | 	} | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 	Startlearningtwo=()=>{ | 
			
		
	
		
			
				
					|  |  |  |  | 			this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  | 				yslJointhe:true | 
			
		
	
		
			
				
					|  |  |  |  | 			}) | 
			
		
	
		
			
				
					|  |  |  |  | 	Startlearningtwo = () => { | 
			
		
	
		
			
				
					|  |  |  |  | 		this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  | 			yslJointhe: true | 
			
		
	
		
			
				
					|  |  |  |  | 		}) | 
			
		
	
		
			
				
					|  |  |  |  | 	}; | 
			
		
	
		
			
				
					|  |  |  |  | 	ysljoinmodalCancel=()=>{ | 
			
		
	
		
			
				
					|  |  |  |  | 	ysljoinmodalCancel = () => { | 
			
		
	
		
			
				
					|  |  |  |  | 		this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  | 			yslJointhe:false | 
			
		
	
		
			
				
					|  |  |  |  | 			yslJointhe: false | 
			
		
	
		
			
				
					|  |  |  |  | 		}) | 
			
		
	
		
			
				
					|  |  |  |  | 	}; | 
			
		
	
		
			
				
					|  |  |  |  | 	ysljoinmodalCanceltwo=()=>{ | 
			
		
	
		
			
				
					|  |  |  |  | 	ysljoinmodalCanceltwo = () => { | 
			
		
	
		
			
				
					|  |  |  |  | 		this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  | 			yslJointhe:false | 
			
		
	
		
			
				
					|  |  |  |  | 			yslJointhe: false | 
			
		
	
		
			
				
					|  |  |  |  | 		}) | 
			
		
	
		
			
				
					|  |  |  |  | 		window.location.reload(); | 
			
		
	
		
			
				
					|  |  |  |  | 	}; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 	Myreload = ()=>{ | 
			
		
	
		
			
				
					|  |  |  |  | 	Myreload = () => { | 
			
		
	
		
			
				
					|  |  |  |  | 		window.location.reload(); | 
			
		
	
		
			
				
					|  |  |  |  | 	}; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 	hidestartshixunsreplace=(url)=>{ | 
			
		
	
		
			
				
					|  |  |  |  | 	hidestartshixunsreplace = (url) => { | 
			
		
	
		
			
				
					|  |  |  |  | 		this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  | 			isSpins:true, | 
			
		
	
		
			
				
					|  |  |  |  | 			isSpins: true, | 
			
		
	
		
			
				
					|  |  |  |  | 		}) | 
			
		
	
		
			
				
					|  |  |  |  | 		axios.get(url).then((response) => { | 
			
		
	
		
			
				
					|  |  |  |  | 			// debugger
 | 
			
		
	
		
			
				
					|  |  |  |  | 			if(response.status===200){ | 
			
		
	
		
			
				
					|  |  |  |  | 			if (response.status === 200) { | 
			
		
	
		
			
				
					|  |  |  |  | 				// let path="/shixuns/"+response.data.shixun_identifier+"/challenges";
 | 
			
		
	
		
			
				
					|  |  |  |  | 				// this.props.history.push(path);
 | 
			
		
	
		
			
				
					|  |  |  |  | 				message.success('重置成功,正在进入实训!'); | 
			
		
	
		
			
				
					|  |  |  |  | 				this.startgameid(response.data.shixun_identifier); | 
			
		
	
		
			
				
					|  |  |  |  | 				this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  | 					shixunsreplaces:false, | 
			
		
	
		
			
				
					|  |  |  |  | 					isSpins:false, | 
			
		
	
		
			
				
					|  |  |  |  | 					shixunsreplaces: false, | 
			
		
	
		
			
				
					|  |  |  |  | 					isSpins: false, | 
			
		
	
		
			
				
					|  |  |  |  | 				}) | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 				// message.success('重置成功,正在进入实训!');
 | 
			
		
	
		
			
				
					|  |  |  |  | 				// this.startshixunCombat();
 | 
			
		
	
		
			
				
					|  |  |  |  | 			}} | 
			
		
	
		
			
				
					|  |  |  |  | 			} | 
			
		
	
		
			
				
					|  |  |  |  | 		} | 
			
		
	
		
			
				
					|  |  |  |  | 		).catch((error) => { | 
			
		
	
		
			
				
					|  |  |  |  | 			this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  | 				isSpins:false, | 
			
		
	
		
			
				
					|  |  |  |  | 				shixunsreplaces:false, | 
			
		
	
		
			
				
					|  |  |  |  | 				isSpins: false, | 
			
		
	
		
			
				
					|  |  |  |  | 				shixunsreplaces: false, | 
			
		
	
		
			
				
					|  |  |  |  | 			}) | 
			
		
	
		
			
				
					|  |  |  |  | 		}); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 	}; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 	startgameid=(id)=>{ | 
			
		
	
		
			
				
					|  |  |  |  | 		if(this.props.isNotMember()===true){ | 
			
		
	
		
			
				
					|  |  |  |  | 	startgameid = (id) => { | 
			
		
	
		
			
				
					|  |  |  |  | 		if (this.props.isNotMember() === true) { | 
			
		
	
		
			
				
					|  |  |  |  | 			//这个是外部传过来的
 | 
			
		
	
		
			
				
					|  |  |  |  | 		 this.Startlearningtwo(); | 
			
		
	
		
			
				
					|  |  |  |  | 			this.Startlearningtwo(); | 
			
		
	
		
			
				
					|  |  |  |  | 			return | 
			
		
	
		
			
				
					|  |  |  |  | 		} | 
			
		
	
		
			
				
					|  |  |  |  | 		let url = "/shixuns/" + id + "/shixun_exec.json"; | 
			
		
	
	
		
			
				
					|  |  |  | @ -251,19 +250,19 @@ class Elearning extends Component{ | 
			
		
	
		
			
				
					|  |  |  |  | 			if (response.data.status === -2) { | 
			
		
	
		
			
				
					|  |  |  |  | 				this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 					shixunsreplaces:true, | 
			
		
	
		
			
				
					|  |  |  |  | 					hidestartshixunsreplacevalues:response.data.message+".json" | 
			
		
	
		
			
				
					|  |  |  |  | 					shixunsreplaces: true, | 
			
		
	
		
			
				
					|  |  |  |  | 					hidestartshixunsreplacevalues: response.data.message + ".json" | 
			
		
	
		
			
				
					|  |  |  |  | 				}) | 
			
		
	
		
			
				
					|  |  |  |  | 			} else if (response.data.status === -1) { | 
			
		
	
		
			
				
					|  |  |  |  | 				console.log(response) | 
			
		
	
		
			
				
					|  |  |  |  | 			}else if(response.data.status===-3){ | 
			
		
	
		
			
				
					|  |  |  |  | 			} else if (response.data.status === -3) { | 
			
		
	
		
			
				
					|  |  |  |  | 				this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  | 					shixunsmessages:response.data.message, | 
			
		
	
		
			
				
					|  |  |  |  | 					startshixunCombattypes:true, | 
			
		
	
		
			
				
					|  |  |  |  | 					shixunsmessages: response.data.message, | 
			
		
	
		
			
				
					|  |  |  |  | 					startshixunCombattypes: true, | 
			
		
	
		
			
				
					|  |  |  |  | 				}) | 
			
		
	
		
			
				
					|  |  |  |  | 			} else { | 
			
		
	
		
			
				
					|  |  |  |  | 				console.log("开始学习了"); | 
			
		
	
		
			
				
					|  |  |  |  | 				window.open("/tasks/" + response.data.game_identifier,'_blank'); | 
			
		
	
		
			
				
					|  |  |  |  | 				window.open("/tasks/" + response.data.game_identifier, '_blank'); | 
			
		
	
		
			
				
					|  |  |  |  | 				//这个是传过来  调用刷新
 | 
			
		
	
		
			
				
					|  |  |  |  | 				this.Myreload(); | 
			
		
	
		
			
				
					|  |  |  |  | 				// window.location.href = path
 | 
			
		
	
	
		
			
				
					|  |  |  | @ -275,40 +274,40 @@ class Elearning extends Component{ | 
			
		
	
		
			
				
					|  |  |  |  | 		}); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 	}; | 
			
		
	
		
			
				
					|  |  |  |  | 	hidestartshixunCombattype=()=>{ | 
			
		
	
		
			
				
					|  |  |  |  | 	hidestartshixunCombattype = () => { | 
			
		
	
		
			
				
					|  |  |  |  | 		this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  | 			startshixunCombattypes:false | 
			
		
	
		
			
				
					|  |  |  |  | 			startshixunCombattypes: false | 
			
		
	
		
			
				
					|  |  |  |  | 		}) | 
			
		
	
		
			
				
					|  |  |  |  | 	}; | 
			
		
	
		
			
				
					|  |  |  |  | 	Modifyloginvalue=()=>{ | 
			
		
	
		
			
				
					|  |  |  |  | 	Modifyloginvalue = () => { | 
			
		
	
		
			
				
					|  |  |  |  | 		this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  | 			isRender:false, | 
			
		
	
		
			
				
					|  |  |  |  | 			isRender: false, | 
			
		
	
		
			
				
					|  |  |  |  | 		}) | 
			
		
	
		
			
				
					|  |  |  |  | 	}; | 
			
		
	
		
			
				
					|  |  |  |  | 	Tojoinclass=()=> { | 
			
		
	
		
			
				
					|  |  |  |  | 			this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  | 				isRender: true | 
			
		
	
		
			
				
					|  |  |  |  | 			}) | 
			
		
	
		
			
				
					|  |  |  |  | 	Tojoinclass = () => { | 
			
		
	
		
			
				
					|  |  |  |  | 		this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  | 			isRender: true | 
			
		
	
		
			
				
					|  |  |  |  | 		}) | 
			
		
	
		
			
				
					|  |  |  |  | 	}; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 	myupdataleftNav=()=>{ | 
			
		
	
		
			
				
					|  |  |  |  | 	myupdataleftNav = () => { | 
			
		
	
		
			
				
					|  |  |  |  | 		this.props.updataleftNavfun(); | 
			
		
	
		
			
				
					|  |  |  |  | 	} | 
			
		
	
		
			
				
					|  |  |  |  | 	render(){ | 
			
		
	
		
			
				
					|  |  |  |  | 	render() { | 
			
		
	
		
			
				
					|  |  |  |  | 		console.log("Elearning++++++++"); | 
			
		
	
		
			
				
					|  |  |  |  | 		// console.log(this.props.Chapterupdate);
 | 
			
		
	
		
			
				
					|  |  |  |  | 		let{description,whethertoedit,isSpin,start_learning,hidestartshixunsreplacevalues,learned,last_shixun,stages,isRender} =this.state; | 
			
		
	
		
			
				
					|  |  |  |  |     const  isNotMembers=this.props.isNotMember();//非课堂成员
 | 
			
		
	
		
			
				
					|  |  |  |  | 		let { description, whethertoedit, isSpin, start_learning, hidestartshixunsreplacevalues, learned, last_shixun, stages, isRender } = this.state; | 
			
		
	
		
			
				
					|  |  |  |  | 		const isNotMembers = this.props.isNotMember();//非课堂成员
 | 
			
		
	
		
			
				
					|  |  |  |  | 		const antIcon = <Icon type="loading" style={{ fontSize: 24 }} spin />; | 
			
		
	
		
			
				
					|  |  |  |  | 		return( | 
			
		
	
		
			
				
					|  |  |  |  | 		return ( | 
			
		
	
		
			
				
					|  |  |  |  | 			<React.Fragment  > | 
			
		
	
		
			
				
					|  |  |  |  | 				<div id={"zhudiv"}> | 
			
		
	
		
			
				
					|  |  |  |  | 					{isRender===true?<LoginDialog | 
			
		
	
		
			
				
					|  |  |  |  | 						Modifyloginvalue={()=>this.Modifyloginvalue()} | 
			
		
	
		
			
				
					|  |  |  |  | 					{isRender === true ? <LoginDialog | 
			
		
	
		
			
				
					|  |  |  |  | 						Modifyloginvalue={() => this.Modifyloginvalue()} | 
			
		
	
		
			
				
					|  |  |  |  | 						{...this.props} | 
			
		
	
		
			
				
					|  |  |  |  | 						{...this.state} | 
			
		
	
		
			
				
					|  |  |  |  | 					/>:""} | 
			
		
	
		
			
				
					|  |  |  |  | 					<Jointheclass   {...this.props}   {...this.state} ysljoinmodalCancel={()=>this.ysljoinmodalCancel()} ysljoinmodalCanceltwo={()=>this.ysljoinmodalCanceltwo()}></Jointheclass> | 
			
		
	
		
			
				
					|  |  |  |  | 					/> : ""} | 
			
		
	
		
			
				
					|  |  |  |  | 					<Jointheclass   {...this.props}   {...this.state} ysljoinmodalCancel={() => this.ysljoinmodalCancel()} ysljoinmodalCanceltwo={() => this.ysljoinmodalCanceltwo()}></Jointheclass> | 
			
		
	
		
			
				
					|  |  |  |  | 					<Modal | 
			
		
	
		
			
				
					|  |  |  |  | 						keyboard={false} | 
			
		
	
		
			
				
					|  |  |  |  | 						title="提示" | 
			
		
	
	
		
			
				
					|  |  |  | @ -322,8 +321,8 @@ class Elearning extends Component{ | 
			
		
	
		
			
				
					|  |  |  |  | 						<div className="task-popup-submit clearfix"> | 
			
		
	
		
			
				
					|  |  |  |  | 							{/*<a onClick={this.hidestartshixunCombattype} className="task-btn fl">取消</a>*/} | 
			
		
	
		
			
				
					|  |  |  |  | 							<a className="task-btn task-btn-orange fr" | 
			
		
	
		
			
				
					|  |  |  |  | 								 style={{marginRight:'51px'}} | 
			
		
	
		
			
				
					|  |  |  |  | 								 onClick={this.hidestartshixunCombattype}>知道了</a> | 
			
		
	
		
			
				
					|  |  |  |  | 								style={{ marginRight: '51px' }} | 
			
		
	
		
			
				
					|  |  |  |  | 								onClick={this.hidestartshixunCombattype}>知道了</a> | 
			
		
	
		
			
				
					|  |  |  |  | 						</div> | 
			
		
	
		
			
				
					|  |  |  |  | 						{/*<p className="inviteTipbtn with100 fl">*/} | 
			
		
	
		
			
				
					|  |  |  |  | 						{/*<a onClick={this.hidestartshixunCombattype}>知道了</a>*/} | 
			
		
	
	
		
			
				
					|  |  |  | @ -342,36 +341,36 @@ class Elearning extends Component{ | 
			
		
	
		
			
				
					|  |  |  |  | 							</div> | 
			
		
	
		
			
				
					|  |  |  |  | 							<div className="task-popup-submit clearfix"> | 
			
		
	
		
			
				
					|  |  |  |  | 								<a className="task-btn task-btn-orange fr" | 
			
		
	
		
			
				
					|  |  |  |  | 									 style={{marginRight:'51px'}} | 
			
		
	
		
			
				
					|  |  |  |  | 									 onClick={() => this.hidestartshixunsreplace(hidestartshixunsreplacevalues)}>知道了</a> | 
			
		
	
		
			
				
					|  |  |  |  | 									style={{ marginRight: '51px' }} | 
			
		
	
		
			
				
					|  |  |  |  | 									onClick={() => this.hidestartshixunsreplace(hidestartshixunsreplacevalues)}>知道了</a> | 
			
		
	
		
			
				
					|  |  |  |  | 							</div> | 
			
		
	
		
			
				
					|  |  |  |  | 						</Spin> | 
			
		
	
		
			
				
					|  |  |  |  | 					</Modal> | 
			
		
	
		
			
				
					|  |  |  |  | 					<div className="edu-back-white"> | 
			
		
	
		
			
				
					|  |  |  |  | 						{ | 
			
		
	
		
			
				
					|  |  |  |  | 							this.props.isAdmin()===true?"": | 
			
		
	
		
			
				
					|  |  |  |  | 							this.props.isAdmin() === true ? "" : | 
			
		
	
		
			
				
					|  |  |  |  | 								<div> | 
			
		
	
		
			
				
					|  |  |  |  | 									{ | 
			
		
	
		
			
				
					|  |  |  |  | 										start_learning===undefined?"":start_learning===false? | 
			
		
	
		
			
				
					|  |  |  |  | 											<div className="clearfix padding30 bor-bottom-greyE" style={{textAlign: "center"}}> | 
			
		
	
		
			
				
					|  |  |  |  | 												<div style={{height: '40px',textAlign: "center"}}> | 
			
		
	
		
			
				
					|  |  |  |  | 													<span className=" fl color-dark-21 " style={{height: '40px', textAlign: "center",fontSize:"19px"}}>还未开始学习</span> | 
			
		
	
		
			
				
					|  |  |  |  | 															<Button    className="ant-btn defalutSubmitbtn   ant-btn-primary  colorblue font-16 fr" onClick={()=>this.Startlearning()}> | 
			
		
	
		
			
				
					|  |  |  |  | 																<span>开始学习</span></Button> | 
			
		
	
		
			
				
					|  |  |  |  | 										start_learning === undefined ? "" : start_learning === false ? | 
			
		
	
		
			
				
					|  |  |  |  | 											<div className="clearfix padding30 bor-bottom-greyE" style={{ textAlign: "center" }}> | 
			
		
	
		
			
				
					|  |  |  |  | 												<div style={{ height: '40px', textAlign: "center" }}> | 
			
		
	
		
			
				
					|  |  |  |  | 													<span className=" fl color-dark-21 " style={{ height: '40px', textAlign: "center", fontSize: "19px" }}>还未开始学习</span> | 
			
		
	
		
			
				
					|  |  |  |  | 													<Button className="ant-btn defalutSubmitbtn   ant-btn-primary  colorblue font-16 fr" onClick={() => this.Startlearning()}> | 
			
		
	
		
			
				
					|  |  |  |  | 														<span>开始学习</span></Button> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 												</div> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 											</div> | 
			
		
	
		
			
				
					|  |  |  |  | 											: | 
			
		
	
		
			
				
					|  |  |  |  | 											<div className="clearfix padding30 bor-bottom-greyE" style={{textAlign: "center"}}> | 
			
		
	
		
			
				
					|  |  |  |  | 												<div style={{height: '40px',textAlign: "left"}}> | 
			
		
	
		
			
				
					|  |  |  |  | 													<span className=" color-dark-21 " style={{height: '40px', textAlign: "center",fontSize:"19px",color:"#05101A"}}>已学{learned}%</span> | 
			
		
	
		
			
				
					|  |  |  |  | 											<div className="clearfix padding30 bor-bottom-greyE" style={{ textAlign: "center" }}> | 
			
		
	
		
			
				
					|  |  |  |  | 												<div style={{ height: '40px', textAlign: "left" }}> | 
			
		
	
		
			
				
					|  |  |  |  | 													<span className=" color-dark-21 " style={{ height: '40px', textAlign: "center", fontSize: "19px", color: "#05101A" }}>已学{learned}%</span> | 
			
		
	
		
			
				
					|  |  |  |  | 												</div> | 
			
		
	
		
			
				
					|  |  |  |  | 												<div style={{marginTop:"7px",width:"401px"}}> | 
			
		
	
		
			
				
					|  |  |  |  | 												<div style={{ marginTop: "7px", width: "401px" }}> | 
			
		
	
		
			
				
					|  |  |  |  | 													<Progress percent={learned} showInfo={false} /> | 
			
		
	
		
			
				
					|  |  |  |  | 												</div> | 
			
		
	
		
			
				
					|  |  |  |  | 												<div style={{marginTop:"7px",textAlign: "left"}}> | 
			
		
	
		
			
				
					|  |  |  |  | 													<span className="font-16">上次学习内容</span><span style={{color:"#4CADFF",marginLeft:"25px"}}>{last_shixun}</span> | 
			
		
	
		
			
				
					|  |  |  |  | 												<div style={{ marginTop: "7px", textAlign: "left" }}> | 
			
		
	
		
			
				
					|  |  |  |  | 													<span className="font-16">上次学习内容</span><span style={{ color: "#4CADFF", marginLeft: "25px" }}>{last_shixun}</span> | 
			
		
	
		
			
				
					|  |  |  |  | 												</div> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | @ -380,30 +379,30 @@ class Elearning extends Component{ | 
			
		
	
		
			
				
					|  |  |  |  | 								</div> | 
			
		
	
		
			
				
					|  |  |  |  | 						} | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 						 {/*简介*/} | 
			
		
	
		
			
				
					|  |  |  |  | 						{/*简介*/} | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 								{/*<div className="clearfix pl30 pr30" style={{paddingBottom:"22px"}}>*/} | 
			
		
	
		
			
				
					|  |  |  |  | 								{/*	<div style={{textAlign: "left",marginTop:"10px",paddingBottom: "10px"}}>*/} | 
			
		
	
		
			
				
					|  |  |  |  | 								{/*		<span className=" color-dark-21 " style={{textAlign: "center",fontSize:"19px"}}>简介</span>*/} | 
			
		
	
		
			
				
					|  |  |  |  | 								{/*	</div>*/} | 
			
		
	
		
			
				
					|  |  |  |  | 								{/*	<div  className="edu-back-white new_li  editormd-html-preview " >*/} | 
			
		
	
		
			
				
					|  |  |  |  | 								{/*		<p className="markdown-body fonttext "  dangerouslySetInnerHTML={{__html: markdownToHTML(description).replace(/▁/g,"▁▁▁")}}>*/} | 
			
		
	
		
			
				
					|  |  |  |  | 								{/*		</p>*/} | 
			
		
	
		
			
				
					|  |  |  |  | 								{/*	</div>*/} | 
			
		
	
		
			
				
					|  |  |  |  | 						{/*<div className="clearfix pl30 pr30" style={{paddingBottom:"22px"}}>*/} | 
			
		
	
		
			
				
					|  |  |  |  | 						{/*	<div style={{textAlign: "left",marginTop:"10px",paddingBottom: "10px"}}>*/} | 
			
		
	
		
			
				
					|  |  |  |  | 						{/*		<span className=" color-dark-21 " style={{textAlign: "center",fontSize:"19px"}}>简介</span>*/} | 
			
		
	
		
			
				
					|  |  |  |  | 						{/*	</div>*/} | 
			
		
	
		
			
				
					|  |  |  |  | 						{/*	<div  className="edu-back-white new_li  editormd-html-preview " >*/} | 
			
		
	
		
			
				
					|  |  |  |  | 						{/*		<p className="markdown-body fonttext "  dangerouslySetInnerHTML={{__html: markdownToHTML(description).replace(/▁/g,"▁▁▁")}}>*/} | 
			
		
	
		
			
				
					|  |  |  |  | 						{/*		</p>*/} | 
			
		
	
		
			
				
					|  |  |  |  | 						{/*	</div>*/} | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 								{/*</div>*/} | 
			
		
	
		
			
				
					|  |  |  |  | 						{/*</div>*/} | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 					</div> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 					<Spin size="large" spinning={isSpin}  id={"cdiv"}> | 
			
		
	
		
			
				
					|  |  |  |  | 					<Spin size="large" spinning={isSpin} id={"cdiv"}> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 						<div className=" clearfix" style={this.props.isAdmin()===true?{marginTop:"0px"}:{marginTop:"20px"}}> | 
			
		
	
		
			
				
					|  |  |  |  | 						<div className=" clearfix" style={this.props.isAdmin() === true ? { marginTop: "0px" } : { marginTop: "20px" }}> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 									<div> | 
			
		
	
		
			
				
					|  |  |  |  | 										{/*开始学习*/} | 
			
		
	
		
			
				
					|  |  |  |  | 										<YslDetailCards {...this.state} {...this.props} Startlearningtwo={()=>this.Startlearningtwo()} Myreload={()=>this.Myreload()}  Tojoinclass={()=>this.Tojoinclass()} getPathCardsList={()=>this.getdata()} ></YslDetailCards> | 
			
		
	
		
			
				
					|  |  |  |  | 									</div> | 
			
		
	
		
			
				
					|  |  |  |  | 							<div> | 
			
		
	
		
			
				
					|  |  |  |  | 								{/*开始学习*/} | 
			
		
	
		
			
				
					|  |  |  |  | 								<YslDetailCards {...this.state} {...this.props} Startlearningtwo={() => this.Startlearningtwo()} Myreload={() => this.Myreload()} Tojoinclass={() => this.Tojoinclass()} getPathCardsList={() => this.getdata()} ></YslDetailCards> | 
			
		
	
		
			
				
					|  |  |  |  | 							</div> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 						</div> | 
			
		
	
	
		
			
				
					|  |  |  | 
 |