1 line
43 KiB
JavaScript
1 line
43 KiB
JavaScript
(this.webpackJsonp=this.webpackJsonp||[]).push([[7],{"5A3O":function(e,t,n){"use strict";n.d(t,"a",(function(){return A}));n("04bd");var a=n("W9HT"),o=n("q1tI"),i=n.n(o),s=(n("k3Gp"),n("kLXV")),r=(n("8/o9"),n("tsqr")),c=(n("O+I2"),n("TeRw")),l=(n("1vPl"),n("5rEg")),u=n("2iEm"),p=n("GNFk"),d=n("sYIF"),h=n("vDqi"),m=n.n(h),f=n("CWZq"),g=(n("B6BU"),n("TnMl"),function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}());var y=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.modalCancel=function(){try{n.props.setgoshowqqgtounp(!1)}catch(e){}},n.setDownload=function(){try{n.props.setgoshowqqgtounp(!1)}catch(e){}},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),g(t,[{key:"render",value:function(){var e=this;return i.a.createElement(s.a,{keyboard:!1,closable:!1,footer:null,destroyOnClose:!0,title:"提示",centered:!0,visible:void 0!==this.props.goshowqqgtounp&&this.props.goshowqqgtounp,width:"530px"},i.a.createElement("div",{className:"educouddiv intermediatecenter verticallayout"},i.a.createElement("div",{className:"tabeltext-alignleft mt10"},i.a.createElement("p",null,"您可以在QQ服务群向管理员申请,获得继续操作的权限")),i.a.createElement("img",{width:"200px",className:"mt10",src:Object(d.j)("images/educoder/qqqun20191230.png")}),i.a.createElement("div",{className:"tabeltext-alignleft mt10"},i.a.createElement("p",null,"群号:612934990")),i.a.createElement("div",{className:"clearfix mt30 edu-txt-center"},i.a.createElement("a",{className:"task-btn mr30",onClick:function(){return e.modalCancel()}},"取消"),i.a.createElement("a",{className:"task-btn task-btn-orange",target:"_blank",href:"//shang.qq.com/wpa/qunwpa?idkey=2f2043d88c1bd61d182b98bf1e061c6185e23055bec832c07d8148fe11c5a6cd"},"立即联系"))))}}]),t}(o.Component),b=(n("F2v3"),n("ci3M"),n("zpD0"),n("KCAv"),n("7aN/"),function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}());var v=window.$,w=l.a.Search;window._header_componentHandler=null;var _=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidUpdate=function(e){void 0===n.state.mygetHelmetapi2&&n.getAppdata()},n.openNotification=function(e){c.a.open({message:"提示",description:e})},n.getCookie=function(e){var t=RegExp("(^| )"+e+"=([^;]+)(;|$)");return void 0===document.cookie.match(t)?decodeURIComponent((void 0)[2]):null},n.delCookie=function(e){var t=new Date;t.setTime(t.getTime()-1);var a=n.getCookie(e);null!=a&&(document.cookie=e+"="+a+";expires="+t.toGMTString())},n.onLogout=function(){n.delCookie("autologin_trustie"),m.a.get("/accounts/logout.json",{}).then((function(e){1===e.data.status&&(n.setState({user:void 0}),window.location.href="/login",r.a.success("退出成功"))}))},n.tojoinclass=function(){var e=n.state.user;void 0!==e?e&&""===e.login?n.setState({isRender:!0}):e&&!1===e.profile_completed?n.setState({AccountProfiletype:!0}):n.setState({Addcoursestypes:!0}):n.setState({isRender:!0})},n.tojoinitem=function(){if(n.props.user&&void 0===n.props.user.email||n.props.user&&null===n.props.user.email||n.props.user&&""===n.props.user.email)n.openNotification("请先绑定邮箱,谢谢");else{var e=n.state.user;void 0!==e?e&&""===e.login?n.setState({isRender:!0}):e&&!1===e.profile_completed?n.setState({AccountProfiletype:!0}):n.setState({tojoinitemtype:!0}):n.setState({isRender:!0})}},n.submitstatevalue=function(e,t,a){n.setState({Addcoursestypes:!1,tojoinitemtype:!1,tojoinclasstitle:void 0,rolearr:["",""],Checkboxteacherchecked:!1,Checkboxstudentchecked:!1,Checkboxteachingchecked:!1,Checkboxteachertype:!1,Checkboxteachingtype:!1,code_notice:!1,checked_notice:!1,submitapplicationssum:e,submitapplications:!0,submitapplicationsvalue:t,submitapplicationsvaluedata:a,RadioGroupvalue:void 0})},n.onChangeRadioGroup=function(e){n.setState({RadioGroupvalue:e.target.value})},n.submitsubmitapplications=function(){var e=n.state,t=e.submitapplicationssum,a=e.submitapplicationsvaluedata;n.setState({submitapplications:!1,RadioGroupvalue:void 0}),0===t?void 0!==a&&(window.location.href="/courses/"+a):1===t&&void 0!==a&&(window.location.href="/projects/"+a)},n.hidesubmitapplications=function(){n.setState({Addcoursestypes:!1,tojoinitemtype:!1,tojoinclasstitle:void 0,rolearr:["",""],Checkboxteacherchecked:!1,Checkboxstudentchecked:!1,Checkboxteachingchecked:!1,Checkboxteachertype:!1,Checkboxteachingtype:!1,code_notice:!1,checked_notice:!1,submitapplications:!1,RadioGroupvalue:void 0})},n.educoderlogin=function(){n.setState({isRender:!0})},n.educoderloginysl=function(){m.a.get("/accounts/logout.json").then((function(e){void 0!==e&&(window.location.href="/")})).catch((function(e){console.log(e)}))},n.hideAddcoursestypes=function(){n.setState({Addcoursestypes:!1})},n.HideAddcoursestypess=function(e){console.log("调用了"),n.setState({Addcoursestypes:!1,mydisplay:!0,occupation:e})},n.ModalCancelsy=function(){n.setState({mydisplay:!1})},n.hidetojoinclass=function(){n.setState({tojoinclasstype:!1,tojoinitemtype:!1,tojoinclasstitle:void 0,rolearr:["",""],Checkboxteacherchecked:!1,Checkboxstudentchecked:!1,Checkboxteachingchecked:!1,Checkboxteachertype:!1,Checkboxteachingtype:!1,code_notice:!1,checked_notice:!1,RadioGroupvalue:void 0})},n.submittojoinclass=function(e){var t=n.state,a=t.tojoinclasstitle,o=t.rolearr,i=t.RadioGroupvalue;if(void 0!==a){var s=o;if(a.length<6)n.setState({code_notice:!0});else if(""!==a&&void 0!==a){n.setState({code_notice:!1});for(var r=[],c=0,l=0;l<s.length;l++)""!=s[l]?r.push(s[l]):c+=1;if(2!==c||0!==e)if(1!==e||void 0!==i){if(1===e){m.a.post("/project_applies.json",{code:a,role:i}).then((function(e){1===e.data.status?n.submitstatevalue(1,"您输入的邀请码错误"):2===e.data.status?n.submitstatevalue(1,"您已经是该项目成员",e.data.project):3===e.data.status?n.submitstatevalue(1,"请选择一个角色"):4===e.data.status?n.submitstatevalue(1,"您的申请已提交,请等待项目管理员审批"):5===e.data.status?n.submitstatevalue(1,"您已经申请加入该项目了,请耐心等待"):6===e.data.status?n.submitstatevalue(1,"您已成功加入项目",e.data.project):0===e.data.status&&("reporter"===i?(n.openNotification("您加入项目成功!"),window.location.href="/projects/"+e.data.project_id):n.openNotification("您的申请已提交,请等待项目管理员审批!"))}))}n.hidetojoinclass()}else n.setState({checked_notice:!0});else n.setState({checked_notice:!0})}else n.setState({code_notice:!0})}else n.setState({code_notice:!0})},n.cancelModulationModels=function(){n.setState({isRenders:!1})},n.inputjoinclassvalue=function(e){console.log(e.target.value.length),e.target.value.length>=7?n.openNotification("请输入6位项目邀请码!"):n.setState({tojoinclasstitle:e.target.value})},n.showSearchOpen=function(e){n.setState({showSearchOpentype:!0})},n.hideshowSearchOpen=function(e){!0===n.state.setevaluatinghides&&n.setState({showSearchOpentype:!1,setevaluatinghides:!1})},n.onKeywordSearchKeyDown=function(e){var t="/search?value="+e;n.props.history.push(t)},n.onKeywordSearchKeyDowns=function(){n.setState({setevaluatinghides:!1})},n.setevaluatinghides=function(){n.setState({setevaluatinghides:!0})},n.getUser=function(e,t){if("projects"===t&&(n.props.user&&void 0===n.props.user.email||n.props.user&&null===n.props.user.email||n.props.user&&""===n.props.user.email))n.openNotification("请先绑定邮箱,谢谢");else{var a=n.state.user;void 0!==a?a&&""===a.login?n.setState({isRender:!0}):a&&!1===a.profile_completed?n.setState({AccountProfiletype:!0}):"newshixuns"===t&&n.props&&n.props.current_user&&!1===n.props.current_user.is_shixun_marker?n.setgoshowqqgtounp(!0):void 0===e&&""===e||(window.location.href=e):n.setState({isRender:!0})}},n.Modifyloginvalue=function(){n.setState({isRender:!1})},n.hideAccountProfile=function(){n.setState({AccountProfiletype:!1})},n.headtypesonClick=function(e,t){n.setState({headtypess:e,headtypesonClickbool:t})},n.gettablogourlnull=function(){n.setState({mygetHelmetapi2:void 0});var e=document.createElement("link"),t=document.getElementById("dynamic-favicon");e.id="dynamic-favicon",e.rel="shortcut icon",e.href="/react/build/./favicon.ico",t&&document.head.removeChild(t),document.head.appendChild(e)},n.gettablogourldata=function(e){document.title=e.data.setting.name;var t=document.createElement("link"),n=document.getElementById("dynamic-favicon");t.id="dynamic-favicon",t.rel="shortcut icon",t.href="/"+e.data.setting.tab_logo_url,n&&document.head.removeChild(n),document.head.appendChild(t)},n.handleVisibleChanges=function(e){n.setState({visiblemyss:e})},n.getAppdata=function(){try{var e=JSON.parse(localStorage.getItem("chromesetting")),t=JSON.parse(localStorage.getItem("chromesettingresponse"));n.setState({mygetHelmetapi2:e}),e.tab_logo_url?n.gettablogourldata(t):n.gettablogourlnull()}catch(e){n.geturlsdata()}},n.geturlsdata=function(){m.a.get("/setting.json").then((function(e){if(e)if(e.data){n.setState({mygetHelmetapi2:e.data.setting}),localStorage.setItem("chromesetting",JSON.stringify(e.data.setting)),localStorage.setItem("chromesettingresponse",JSON.stringify(e));try{e.data.setting.tab_logo_url?n.gettablogourldata(e):n.gettablogourlnull()}catch(e){n.gettablogourlnull()}}else n.gettablogourlnull();else n.gettablogourlnull()})).catch((function(e){n.gettablogourlnull()}))},n.matchpaths=function(e){var t=n.props.match;return"/forums"===e&&"/forums"===t.path||(!(!e.startsWith("/projects")||!t.path.startsWith("/projects"))||(!(!e.startsWith("/paths")||!t.path.startsWith("/paths"))||(!(!e.startsWith("/courses")||!t.path.startsWith("/courses"))||(!(!e.startsWith("/competitions")||!t.path.startsWith("/competitions"))||!(!e.startsWith("/statistics")||!t.path.startsWith("/statistics"))))))},n.setgoshowqqgtounp=function(e){n.setState({goshowqqgtounp:e})},n.state={Addcoursestypes:!1,tojoinitemtype:!1,tojoinclasstitle:void 0,rolearr:["",""],Checkboxteacherchecked:!1,Checkboxstudentchecked:!1,Checkboxteachingchecked:!1,Checkboxteachertype:!1,Checkboxteachingtype:!1,code_notice:!1,checked_notice:!1,RadioGroupvalue:void 0,submitapplications:!1,isRender:!1,showSearchOpentype:!1,showTrial:!1,setevaluatinghides:!1,occupation:0,mydisplay:!1,headtypesonClickbool:!1,headtypess:"/",mygetHelmetapi2:null,goshowqqgtounp:!1,visiblemyss:!1},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),b(t,[{key:"componentDidMount",value:function(){var e,t;this.getAppdata(),window._header_componentHandler=this,v(".edu-menu-panel").hover((function(){e&&(t&&t!==this&&v(t).find(".edu-menu-list").hide(),clearTimeout(e),e=null),t=this,v(this).find(".edu-menu-list").show()}),(function(){var t=this;e=setTimeout((function(){v(t).find(".edu-menu-list").hide()}),800)}));try{window.sessionStorage.setItem("yslgeturls",JSON.stringify(window.location.href))}catch(e){}}},{key:"componentWillReceiveProps",value:function(e,t){this.setState({user:e.user}),void 0!==e.Headertop&&e.Headertop.old_url}},{key:"render",value:function(){var e=this,t=this.props.match,n=this.state,a=(n.Addcoursestypes,n.tojoinitemtype,n.tojoinclasstitle,n.code_notice,n.checked_notice,n.AccountProfiletype),o=n.submitapplications,r=n.submitapplicationsvalue,c=n.user,l=n.isRender,h=n.showSearchOpentype,m=n.headtypesonClickbool,g=n.headtypess,b=n.mygetHelmetapi2,v=n.goshowqqgtounp,_=!1,E=!1,k=!1,S=!1,N=!1,x=!1;"/forums"===t.path?_=!0:t.path.startsWith("/shixuns")?E=!0:t.path.startsWith("/paths")?k=!0:t.path.startsWith("/courses")?S=!0:t.path.startsWith("/crowdsourcing")||(t.path.startsWith("/moop_cases")?N=!0:t.path.startsWith("/competitions")&&(x=!0));if(b&&b.navbar&&b.navbar.length>0)if("/"===t.path)!1===m?void 0:g;else for(var C=0;C<b.navbar.length;C++)if(t.path===b.navbar[C].link){b.navbar[C].link;break}var O=!1;if(this.props&&null!=this.props.mygetHelmetapi){this.props.mygetHelmetapi.navbar.map((function(e,t){var n=RegExp(e.link);"/shixuns".match(n)&&!0===e.hidden&&!0,"/paths".match(n)&&!0===e.hidden&&!0,"/courses".match(n)&&!0===e.hidden&&(O=!0)}))}i.a.createElement("div",{className:"questiontypes",style:{width:"93px",height:"80px"}},i.a.createElement("a",{href:"/question"},i.a.createElement("p",{className:"questiontype"},"试题库")),i.a.createElement("p",{className:"questiontypeheng"}),i.a.createElement("a",{href:"/paperlibrary"},i.a.createElement("p",{className:"questiontype"},"试卷库")),i.a.createElement("p",{className:"questiontypeheng"}));return i.a.createElement("div",{className:"newHeaders",id:"nHeader"},i.a.createElement("style",null,"\n\t\t\t\t\t body .questionbanks .ant-popover-inner-content {\n\t\t\t\t\t\t padding:0px !important;\n\t\t\t\t\t }\n\t\t\t\t\t"),!0===l?i.a.createElement(f.a,Object.assign({Modifyloginvalue:function(){return e.Modifyloginvalue()}},this.props,this.state)):"",!0===a?i.a.createElement(p.a,Object.assign({hideAccountProfile:function(){return e.hideAccountProfile()}},this.props,this.state)):"",!0===v?i.a.createElement(y,Object.assign({},this.state,this.props,{setgoshowqqgtounp:function(t){return e.setgoshowqqgtounp(t)}})):"",i.a.createElement("a",{href:"/",onClick:function(){return e.headtypesonClick("/",!1)},className:"fl mr30 ml25 mt10"},null===b?"":void 0===b||null===b.nav_logo_url||void 0===b.nav_logo_url?i.a.createElement("img",{alt:"高校智能化教学与实训平台",className:"logoimg",style:{heigth:"40px"},src:Object(d.j)("images/educoder/headNavLogo.png?1526520218")}):i.a.createElement("img",{alt:"高校智能化教学与实训平台",className:"logoimg",style:{heigth:"40px"},src:Object(d.j)(b.nav_logo_url)})),i.a.createElement("style",null,"\n\t\t\t\t\t\t.educontents{\n\t\t\t\t\t\t\tmargin: 0px auto;\n\t\t\t\t\t\t\tbox-sizing: border-box;\n\n\t\t\t\t\t\t}\n\t\t\t\t\t\t"),null===b?"":void 0!==b&&null!==b.navbar&&void 0!==b.navbar&&b.navbar.length>0?i.a.createElement("div",{className:"head-nav pr",id:"head-navpre1"},i.a.createElement("ul",{id:"header-nav"},b.navbar&&b.navbar.map((function(t,n){var a=t.link,o=e.props.user&&e.props.user.login,s=t.hidden;(a.indexOf("courses")>-1||a.indexOf("contests")>-1)&&(o?a.indexOf("courses")>-1?a=a.replace(/courses/g,"users/"+o+"/courses"):a.indexOf("contests")>-1&&(a=a.replace(/contests/g,"users/"+o+"/contests")):s=!0);var r=new RegExp("projects"),c=!1;return t.link&&(c=!0===r.test(t.link)),i.a.createElement("li",{key:n,onClick:function(){return e.headtypesonClick(t.link,!0)},className:!0===e.matchpaths(t.link)?"pr active":"pr",style:s?{display:"none"}:{display:"flex"}},c?i.a.createElement(i.a.Fragment,null,i.a.createElement(u.a,{to:t.link},t.name),b.old_projects_url?i.a.createElement(u.a,{to:b.old_projects_url,className:"color-orange"},"(进入老版本)"):""):i.a.createElement("a",{href:a,target:"_blank"},t.name))})),i.a.createElement("style",null,"\n\t\t\t\t\t\t\t\t\t\t\t\t.queyppors {\n top: 63px !important;\n }\n\n\t\t\t\t\t\t\t\t\t\t\t .questionbanks .ant-popover-inner-content {\n\t\t\t\t\t\t\t\t\t\t\t padding:0px !important;\n\t\t\t\t\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t\t\t\t\t\t"))):i.a.createElement("div",{className:"head-nav pr",id:"head-navpre3"},i.a.createElement("ul",{id:"header-nav"},i.a.createElement("li",{className:!0===k?"pr active":"pr"},i.a.createElement(u.a,{to:"/projects"},"开源项目")),i.a.createElement("li",{className:!0===S?"pr active":"pr"},i.a.createElement(u.a,{to:void 0===this.props.Headertop?"":"/courses"},"翻转课堂")),i.a.createElement("li",{className:!0===E?"pr active":"pr"},i.a.createElement(u.a,{to:"/shixuns"},"实训项目")),i.a.createElement("li",{className:"fl edu-menu-panel careershover ",style:{display:void 0===this.props.Headertop?"none":this.props.Headertop.career_url.length>0?"block":"none"}},i.a.createElement("a",null,"职业路径"),i.a.createElement("div",{style:{display:void 0===this.props.Headertop?"none":this.props.Headertop.career_url.length>0?"block":"none"}},i.a.createElement("ul",{className:"edu-menu-list edu-menu-listnew ",style:{top:"60px"}},void 0===this.props.Headertop?"":this.props.Headertop.career_url.map((function(e,t){return i.a.createElement("li",{key:t},i.a.createElement("i",{className:"iconfont icon-java left careersiconfont",style:{color:"#000 important"}}),i.a.createElement("a",{style:{width:"83%"},href:e.url},e.name))}))))),i.a.createElement("li",{className:!0===x?"pr active":"pr"},i.a.createElement("a",{href:void 0===this.props.Headertop?"":this.props.Headertop.competitions_url},"在线竞赛")),i.a.createElement("li",{className:!0===N?"pr active":"pr"}," ",i.a.createElement(u.a,{to:"/moop_cases"},"教学案例")),i.a.createElement("li",{className:!0===_?"active":""}," ",i.a.createElement(u.a,{to:void 0===this.props.Headertop?"":this.props.Headertop.topic_url},"交流问答")),i.a.createElement("li",{style:{display:void 0===this.props.Headertop||null===this.props.Headertop.auth?"none":"block"}},i.a.createElement("a",{href:void 0===this.props.Headertop?"":this.props.Headertop.auth},"工程认证")))),i.a.createElement("style",null,"\n .posi-searchs{\n opacity: 1;\n position: absolute;\n top: -2px;\n background: #fff;\n z-index:10000;\n right: 185px;\n }\n\t\t\t\t\t\t\t\t"),i.a.createElement("div",{className:"posi-searchs"},i.a.createElement("div",{className:"search-all clearfix"},i.a.createElement("div",{className:"fl pr search-clear edu-menu-panel",style:{display:"none"}},i.a.createElement("input",{type:"hidden",id:"search_type",value:"1"}),i.a.createElement("span",{className:"searchkey"},"实训"),i.a.createElement("i",{className:"fa fa-angle-down ml5 font-16"}),i.a.createElement("ul",{id:"searchkey",className:"edu-menu-list edu-txt-center",style:{minWidth:"80px",right:"-10px",top:"50px"}},i.a.createElement("li",null,i.a.createElement("a",null,"实训")),i.a.createElement("li",null,i.a.createElement("a",null,"课堂")),i.a.createElement("li",null,i.a.createElement("a",null,"用户")))),!0===h?i.a.createElement("div",{className:"HeaderSearch",onBlur:function(t){return e.hideshowSearchOpen(t)},onMouseLeave:function(){return e.setevaluatinghides()}},i.a.createElement(w,{id:"HeaderSearchs",placeholder:"实践课程/翻转课堂/实训项目/交流问答",onInput:function(){return e.onKeywordSearchKeyDowns()},onSearch:function(t){return e.onKeywordSearchKeyDown(t)},style:{width:300,height:32},autoFocus:!0})):"")),void 0===c||""===c.login?i.a.createElement("span",{className:"font-15 fr mt17 ml5 mr25"},i.a.createElement("a",{onClick:function(){return e.educoderlogin()},className:"mr5 color-white"},"登录"),b&&b.new_course&&b.new_course.register_url&&i.a.createElement("span",null,i.a.createElement("em",{className:"vertical-line"}),i.a.createElement("a",{className:"mr5 color-white",href:""+b.new_course.register_url,target:"_blank"},"注册"))):i.a.createElement("div",{className:"fr edu-menu-panel mr25",style:{height:"60px"}},i.a.createElement("a",{href:"/users/"+(void 0===this.props.current_user?"":this.props.current_user.login)+"/courses",className:"fl ml15"},i.a.createElement("img",{alt:"头像",className:"radius mt13",height:"34",id:"nh_user_logo",name:"avatar_image",src:Object(d.j)("images/"+c.image_url),width:"34"})),i.a.createElement("ul",{className:"edu-menu-list",style:{top:"60px",textAlign:"center"}},b&&b.new_course&&b.new_course.edit_account&&i.a.createElement("li",null,i.a.createElement("a",{href:""+b.new_course.edit_account,target:"_blank"},"修改资料")),b&&b.new_course&&b.new_course.my_courses&&i.a.createElement("li",null,i.a.createElement("a",{href:""+b.new_course.my_courses,target:"_blank"},"我的课程")),b&&b.new_course&&b.new_course.my_projects&&i.a.createElement("li",null,i.a.createElement(u.a,{to:"/users/"+this.props.current_user.login+"/projects"},"我的项目")),b&&b.new_course&&b.new_course.my_organ&&i.a.createElement("li",null,i.a.createElement("a",{href:""+b.new_course.my_organ,target:"_blank"},"我的组织")),i.a.createElement("li",{className:"bor-top-greyE"},i.a.createElement("a",{onClick:function(){return e.educoderloginysl()}},"退出")))),i.a.createElement("div",{className:"fr head-right"},!0===h?"":this.props.user&&!0===this.props.user.main_site?i.a.createElement("a",{id:"search-open",className:"fl mr30 headIcon",onClick:function(t){return e.showSearchOpen(t)}},i.a.createElement("i",{className:"iconfont icon-sousuo color-white"})):"",this.props.user&&this.props.user.login?i.a.createElement("div",{className:"fl mr30 edu-menu-panel headIcon"},i.a.createElement("i",{className:"iconfont icon-tianjiafangda color-white"}),i.a.createElement("div",{className:"edu-menu-list",style:{top:"60px",width:"240px"}},i.a.createElement("div",{className:"overPart"}),i.a.createElement("ul",{className:!0===O&&this.props.user&&!1===this.props.user.main_site?"fl headwith100b edu-txt-center pr ul-leftline":"fl with50 edu-txt-center pr ul-leftline"},b&&b.new_course&&b.new_course.new_syllabuses&&i.a.createElement("li",null,i.a.createElement("a",{href:""+b.new_course.new_syllabuses,target:"_blank"},"新建课程")),b&&b.new_course&&b.new_course.new_course&&i.a.createElement("li",null,i.a.createElement("a",{href:""+b.new_course.new_course,target:"_blank"},"新建班级"))),!0===O&&this.props.user&&!1===this.props.user.main_site?"":i.a.createElement("ul",{className:"fl with50 edu-txt-center"},i.a.createElement("li",null,i.a.createElement(u.a,{to:"/projects/mirror/new"},"新建镜像项目")),i.a.createElement("li",null,i.a.createElement(u.a,{to:"/projects/deposit/new"},"新建托管项目"))))):"",this.props.user&&this.props.user.login?i.a.createElement("div",{className:"fl mr30 edu-menu-panel headIcon"},void 0===c||""===c.login?"":i.a.createElement("a",{href:""+(b&&b.new_course&&b.new_course.tiding_url),style:{position:"relative"},target:"_blank"},i.a.createElement("i",{className:"iconfont icon-xiaoxilingdang color-white"}),i.a.createElement("span",{className:"newslight",style:{display:void 0===this.props.Headertop?"none":!0===this.props.Headertop.new_message?"block":"none"}}))):"",i.a.createElement(s.a,{keyboard:!1,title:"提示",visible:o,closable:!1,footer:null},i.a.createElement("div",{className:"task_popup_con ml30"},i.a.createElement("div",{className:"mr15"},i.a.createElement("ul",null,i.a.createElement("div",{className:"task-popup-content"},i.a.createElement("p",{className:"task-popup-text-center font-16"},r)),i.a.createElement("li",{className:"clearfix mt10 edu-txt-center"},i.a.createElement("a",{className:"task-btn mr10",onClick:this.hidesubmitapplications},"取消"),i.a.createElement("a",{className:"task-btn task-btn-orange ml20",onClick:this.submitsubmitapplications},"确定"))))))))}}]),t}(o.Component),E=(n("wd/R"),function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}());var k=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.showhtml=function(e){var t={__html:e};return i.a.createElement("div",{dangerouslySetInnerHTML:t})},n.state={forge_footer:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),E(t,[{key:"componentDidMount",value:function(){try{var e=JSON.parse(localStorage.getItem("chromesetting"));this.setState({forge_footer:e.footer})}catch(e){}}},{key:"render",value:function(){var e=this.state.forge_footer;return i.a.createElement("div",{className:"newFooter edu-txt-center "},i.a.createElement("style",null,"\n\t\t\t\t\t\t.newFooter {\n\t\t\t\t\t\t\t\tmax-height: 140px !important;\n\t\t\t\t\t\t\t\tpadding-bottom: 20px !important;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp {\n\t\t\t\t\t\t\t\tmargin-top: 0;\n\t\t\t\t\t\t\t\tmargin-bottom:0px !important;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t"),e&&this.showhtml(e))}}]),t}(o.Component),S=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}();var N=window.$;N(window).resize((function(){!function(){var e=parseInt((parseInt(N(window).width())-1200)/2)-81;e>0?N(".-task-sidebar").css("right",e):N(".-task-sidebar").css("right","0px");N(".-task-sidebar").show()}()})),N(window).scroll((function(){N(".gotop").length>0&&(N(document).scrollTop()>0&&(N(".-task-sidebar .gotop").show(),N(".gotop").click((function(){N("html,body").scrollTop(0)}))),0==N(document).scrollTop()&&N(".-task-sidebar .gotop").hide())}));!function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))}(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)})(t,e),S(t,[{key:"render",value:function(){return i.a.createElement("div",{className:"-task-sidebar"},this.props.mygetHelmetapi&&!0===this.props.mygetHelmetapi.main_site?i.a.createElement("div",null,i.a.createElement("div",{className:"gotop",title:"返回顶部"},i.a.createElement("a",null,i.a.createElement("i",{className:"iconfont icon-shangjiantou color-white"}))),i.a.createElement("div",{className:"feedback",title:"意见反馈"},i.a.createElement("a",{target:"_blank",className:"color_white",href:"/help/feedback"},i.a.createElement("i",{className:"iconfont icon-yijianfankui color-white font-22"}))),i.a.createElement("div",{className:"scan pr",title:"微信扫一扫"},i.a.createElement("span",{className:"inline erweima"},i.a.createElement("i",{className:"iconfont icon-erweima color-white font-22 fl"}))),i.a.createElement("div",{className:"consult",title:"在线咨询"},i.a.createElement("a",{target:"_blank",className:"color_white",href:"//shang.qq.com/wpa/qunwpa?idkey=2f2043d88c1bd61d182b98bf1e061c6185e23055bec832c07d8148fe11c5a6cd"},i.a.createElement("i",{className:"iconfont icon-qqzaixianzixun color-white font-22"})))):"")}}])}(o.Component);var x=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}();var C=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.gotoback=function(){null!=n.props.AccountPhoneemailtype?(n.setState({AccountPhoneemailtype:!1}),n.props.hideAccountProfile()):(window.location.href="/",n.setState({AccountPhoneemailtype:!1}))},n.state={AccountPhoneemailtype:!1},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),x(t,[{key:"componentDidMount",value:function(){var e=this;null!=this.props.AccountPhoneemailtype&&this.setState({AccountPhoneemailtype:this.props.AccountPhoneemailtype}),m.a.interceptors.response.use((function(t){return null!=t&&t&&402===t.data.status&&e.setState({AccountPhoneemailtype:!0}),t}),(function(e){}))}},{key:"render",value:function(){var e=this,t=this.props;t.content,t.okText,t.okHref;return i.a.createElement(s.a,{keyboard:!1,title:"提示",visible:this.state.AccountPhoneemailtype,closable:!1,footer:null,destroyOnClose:!0,centered:!0,width:"530px"},i.a.createElement("div",{className:"task-popup-content"},i.a.createElement("p",{className:"task-popup-text-center font-16"}," 您需要完成手机号码或者邮箱的绑定,才能使用此功能"),i.a.createElement("div",{className:"clearfix mt30 edu-txt-center"},i.a.createElement("a",{className:"task-btn mr30",onClick:function(){return e.gotoback()}},"稍后绑定"),i.a.createElement("a",{className:"task-btn task-btn-orange",href:"/account/secure"}," ","立即绑定"))))}}]),t}(o.Component),O=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}();var j=window.$;function A(e){return function(t){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.showShixun=function(){var e="/api/v1/shixuns/"+t.props.match.params.shixunId+"/show_shixun";t.setState({tpmLoading:!0}),m.a.get(e,{withCredentials:!0}).then((function(e){e.data&&e.data.shixun&&(t.initCommonState(e.data.current_user),e.data.tpmLoading=!1,t.setState(e.data))})).catch((function(e){console.log(e)}))},t.aboutFocus=function(){var e=t.state,n=e.creator,a=e.watched,o="/api/v1/users/"+n.owner_id+"/"+(a?"unwatch":"watch")+"?object_id="+n.owner_id+"&object_type=user";m.a.get(o,{}).then((function(e){if(1==e.data.status){Object.assign({},n);t.setState({watched:!a})}})).catch((function(e){console.log(e)}))},t.keyupListener=function(e){"Escape"===e.key&&t.setState({globalLoading:!1})},t.isSuperAdmin=function(){return t.state.coursedata&&0===t.state.coursedata.course_identity},t.isCourseAdmin=function(){return t.state.coursedata&&2===t.state.coursedata.course_identity},t.isClassManagement=function(){return t.state.coursedata&&t.state.coursedata.course_identity<2},t.isAdminOrCreator=function(){return t.state.coursedata&&t.state.coursedata.course_identity<3},t.isAdminOrTeacher=function(){return t.state.coursedata&&t.state.coursedata.course_identity<4},t.isAssistant=function(){return t.state.coursedata&&4===t.state.coursedata.course_identity},t.isAdmin=function(){return t.state.coursedata&&t.state.coursedata.course_identity<5},t.isStudent=function(){return t.state.coursedata&&5===t.state.coursedata.course_identity},t.isAdminOrStudent=function(){return t.state.coursedata&&t.state.coursedata.course_identity<=5},t.isNotMember=function(){return t.state.coursedata&&t.state.coursedata.course_identity>=6},t.isCourseEnd=function(){return!!t.state.current_user&&t.state.current_user.course_is_end},t.gettablogourlnull=function(){t.setState({mygetHelmetapi:void 0}),document.title="EduCoder";var e=document.createElement("link"),n=document.getElementById("dynamic-favicon");e.id="dynamic-favicon",e.rel="shortcut icon",e.href="/react/build/./favicon.ico",n&&document.head.removeChild(n),document.head.appendChild(e)},t.gettablogourldata=function(e){document.title=e.data.setting.name;var t=document.createElement("link"),n=document.getElementById("dynamic-favicon");t.id="dynamic-favicon",t.rel="shortcut icon",t.href="/"+e.data.setting.tab_logo_url,n&&document.head.removeChild(n),document.head.appendChild(t)},t.getAppdata=function(){try{var e=JSON.parse(localStorage.getItem("chromesetting")),n=JSON.parse(localStorage.getItem("chromesettingresponse"));t.setState({mygetHelmetapi:e}),e.tab_logo_url?t.gettablogourldata(n):t.gettablogourlnull()}catch(e){console.log("hoc获取游览器配置失败 重新请求开始读取配置"),t.getAppdatausr()}},t.getAppdatausr=function(){m.a.get("/setting.json").then((function(e){if(e)if(e.data){t.setState({mygetHelmetapi:e.data.setting}),localStorage.setItem("chromesetting",JSON.stringify(e.data.setting)),localStorage.setItem("chromesettingresponse",JSON.stringify(e));try{e.data.setting.tab_logo_url?t.gettablogourldata(e):t.gettablogourlnull()}catch(e){t.gettablogourlnull()}}else t.gettablogourlnull();else t.gettablogourlnull()})).catch((function(e){t.gettablogourlnull()}))},t.fetchUser=function(){var e=void 0,n=t.props.location.pathname.split("/");"classrooms"==n[1]&&n[2]&&(e=parseInt(n[2]));var a={};a="{}"===JSON.stringify(t.state.dataquerys)?{course_id:isNaN(e)?void 0:e,school:1}:{course_id:isNaN(e)?void 0:e,school:1,chinaoocTimestamp:t.state.dataquerys.chinaoocTimestamp,websiteName:t.state.dataquerys.websiteName,chinaoocKey:t.state.dataquerys.chinaoocKey},m.a.get("/users/get_user_info.json",{params:a}).then((function(e){void 0!==e&&e.data&&(t.initCommonState(e.data),t.setState({tpmLoading:!1,coursedata:{course_identity:e.data.course_identity>=0?e.data.course_identity:void 0,course_public:e.data.course_public,name:e.data.course_name,userid:e.data.user_id}}))})).catch((function(e){console.log(e)}))},t.fetchUsers=function(e){var n=void 0,a=t.props.location.pathname.split("/");"classrooms"==a[1]&&a[2]&&(n=parseInt(a[2]));var o={};o="{}"===JSON.stringify(e)?{course_id:isNaN(n)?void 0:n,school:1}:{course_id:isNaN(n)?void 0:n,school:1,chinaoocTimestamp:e.chinaoocTimestamp,websiteName:e.websiteName,chinaoocKey:e.chinaoocKey},m.a.get("/users/get_user_info.json",{params:o},{}).then((function(e){void 0!==e&&e.data&&(t.initCommonState(e.data),t.setState({tpmLoading:!1,coursedata:{course_identity:e.data.course_identity>=0?e.data.course_identity:void 0,course_public:e.data.course_public,name:e.data.course_name,userid:e.data.user_id}}))})).catch((function(e){console.log(e)}))},t.foo=function(e){var t,n={},a=/[\?\&](\w+)(=?)(\w*)/g;do{if(t=a.exec(e)){var o=t[1],i=t[3];t[2]||(i=void 0),n[o]=i}}while(t);return n},t.hideLoginDialog=function(){t.setState({isRender:!1,isloginCancel:void 0})},t.showLoginDialog=function(){t.setState({isRender:!0,isloginCancel:"iscancel"})},t.checkIfLogin=function(){return t.state.current_user&&""!=t.state.current_user.login},t.hideAccountProfile=function(){t.setState({AccountProfiletype:!1})},t.showProfileCompleteDialog=function(){t.dialogObj={},t.setState({AccountProfiletype:!0})},t.showhideAccountPhoneemailDialog=function(){t.dialogObj={},t.setState({AccountPhoneemailtype:!0})},t.hideAccountPhoneemailtype=function(){t.setState({AccountPhoneemailtype:!1})},t.checkIfProfileCompleted=function(){return t.state.current_user&&t.state.current_user.profile_completed},t.showaccountprofileDialog=function(){t.dialogObj={content:"您需要去完成您的个人资料,才能使用此功能",okText:"立即完成",okHref:"/account/profile"},t.setState({AccountProfiletype:!0})},t.showProfessionalCertificationDialog=function(){t.dialogObj={content:"您需要去完成您的职业认证,才能使用此功能",okText:"立即完成",okHref:"/account/certification"},t.setState({AccountProfiletype:!0})},t.checkIfProfessionalCertification=function(){return t.state.current_user&&t.state.current_user.professional_certification},t.ShowOnlinePdf=function(e){return m()({method:"get",url:e,responseType:"arraybuffer"}).then((function(e){var n=[];n.push(e.data),t.url=window.URL.createObjectURL(new Blob(n,{type:"application/pdf"})),window.open(t.url)}))},t.DownloadFileA=function(e,t){var n=document.createElement("a");document.body.appendChild(n),n.href=t,n.download=e;var a=document.createEvent("MouseEvents");a.initEvent("click",!1,!1),n.dispatchEvent(a),document.body.removeChild(n)},t.DownloadOpenPdf=function(e,t){!0===e?window.open(t):window.location.href=t},t.slowDownload=function(e,n){t._gLoadingTip=n||"正在生成文件,请稍后...",t.setState({globalLoading:!0});var a=e;Object(d.h)({url:a,successCallback:function(e){t.setState({globalLoading:!1}),console.log("successCallback")},failCallback:function(e,n){t.setState({globalLoading:!1}),console.log("failCallback")}})},t.yslslowCheckresults=function(e){t._gLoadingTip=e||"成绩计算中,请稍候...",t.setState({globalLoading:!0})},t.yslslowCheckresultsNo=function(){t.setState({globalLoading:!1})},t.showGlobalLoading=function(e){t._gLoadingTip=e||"加载中,请稍后...",t.setState({globalLoading:!0})},t.hideGlobalLoading=function(){t.setState({globalLoading:!1})},t.MdifHasAnchorJustScorll=function(){var e=decodeURI(t.props.location.hash).replace("#","");if(e){var n=document.getElementsByName(e);n&&n.length>0&&n[n.length-1].scrollIntoView()}},t.scrollToAnchor=function(e){if(e){var t=document.getElementById(e);t&&t.scrollIntoView()}},window.$("#root").css("position","relative"),t.state={tpmLoading:!0,resLoading:!0,Headertop:void 0,Footerdown:void 0,coursedata:{},isRender:!1,AccountProfiletype:!1,AccountPhoneemailtype:!1,globalLoading:!1,dataquerys:{},isloginCancel:void 0,mygetHelmetapi:null},t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),O(n,[{key:"initCommonState",value:function(e){var t=Object.assign({},Object.assign({},e),{image_url:""+e.image_url});this.setState({user:t,current_user:t})}},{key:"componentWillUnmount",value:function(){window.removeEventListener("keyup",this.keyupListener)}},{key:"componentDidMount",value:function(){window.addEventListener("keyup",this.keyupListener),"/"===this.props.match.path||("/403"===this.props.match.path?document.title="你没有权限访问":"/nopage"===this.props.match.path?document.title="没有找到该页面":"/shixuns"===this.props.match.path?document.title="实训项目":"/paths"===this.props.match.path?document.title="实践课程":"/classrooms"===this.props.match.path&&(document.title="教学课堂")),j.ajaxSetup({cache:!0});var e=this.props.location.search,t={};try{var n=this.foo(e);"{}"===JSON.stringify(n)?this.setState({dataquerys:{}}):(this.setState({dataquerys:n}),t=n)}catch(e){this.setState({dataquerys:{}})}this.fetchUsers(t),this.getAppdata()}},{key:"render",value:function(){var t=this,n=this.state,o=(n.Headertop,n.Footerdown),s=n.isRender,r=n.AccountProfiletype,c=n.AccountPhoneemailtype,l={isSuperAdmin:this.isSuperAdmin,isAdminOrCreator:this.isAdminOrCreator,isClassManagement:this.isClassManagement,isCourseAdmin:this.isCourseAdmin,isAdmin:this.isAdmin,isAdminOrTeacher:this.isAdminOrTeacher,isAssistant:this.isAssistant,isStudent:this.isStudent,isAdminOrStudent:this.isAdminOrStudent,isNotMember:this.isNotMember,isCourseEnd:this.isCourseEnd,isUserid:this.state.coursedata&&this.state.coursedata.userid,fetchUser:this.fetchUser,showLoginDialog:this.showLoginDialog,checkIfLogin:this.checkIfLogin,showProfileCompleteDialog:this.showProfileCompleteDialog,showhideAccountPhoneemailDialog:this.showhideAccountPhoneemailDialog,checkIfProfileCompleted:this.checkIfProfileCompleted,showaccountprofileDialog:this.showaccountprofileDialog,checkIfProfessionalCertification:this.checkIfProfessionalCertification,showProfessionalCertificationDialog:this.showProfessionalCertificationDialog,ShowOnlinePdf:function(e){return t.ShowOnlinePdf(e)},DownloadFileA:function(e,n){return t.DownloadFileA(e,n)},DownloadOpenPdf:function(e,n){return t.DownloadOpenPdf(e,n)},slowDownload:this.slowDownload,showGlobalLoading:this.showGlobalLoading,hideGlobalLoading:this.hideGlobalLoading,yslslowCheckresults:this.yslslowCheckresults,yslslowCheckresultsNo:this.yslslowCheckresultsNo,MdifHasAnchorJustScorll:this.MdifHasAnchorJustScorll,scrollToAnchor:this.scrollToAnchor};this.props&&this.props.match&&this.props.match.path;return i.a.createElement("div",{className:"indexHOC"},!0===s?i.a.createElement(f.a,Object.assign({Modifyloginvalue:function(){return t.hideLoginDialog()}},this.props,this.state)):"",!0===r?i.a.createElement(p.a,Object.assign({hideAccountProfile:function(){return t.hideAccountProfile()}},this.props,this.state,this.dialogObj)):"",!0===c?i.a.createElement(C,Object.assign({hideAccountProfile:function(){return t.hideAccountPhoneemailtype()}},this.props,this.state,this.dialogObj)):"",i.a.createElement("style",null,"\n\t\t\t\t\t\t\t.newContainers{\n\t\t\t\t\t\t\t min-width: 1200px;\n max-width: unset;\n height: 100%;\n min-height: 100%;\n\t\t\t\t\t\t\t\toverflow: hidden;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t.newHeaders{\n\t\t\t\t\t\t\t // position: fixed;\n\t\t\t\t\t\t\t\tmax-width: unset;\n\t\t\t\t\t\t\t\tbackground: #24292D !important;\n\t\t\t\t\t\t\t\twidth: 100%;\n\t\t\t\t\t\t\t\theight: 60px !important;\n\t\t\t\t\t\t\t\tmin-width: 1200px;\n\t\t\t\t\t\t\t\tz-index: 1000;\n\t\t\t\t\t\t\t\t-moz-box-shadow: 0px 0px 12px rgba(0,0,0,0.1);\n\t\t\t\t\t\t\t\tbox-shadow: 0px 0px 12px rgba(0,0,0,0.1);\n\t\t\t\t\t\t\t}\n\n .globalSpin {\n max-height: 700px !important;\n }\n .indexHOC > .ant-spin-nested-loading {\n background: #000;\n height: 100%;\n }\n .indexHOC > .ant-spin-nested-loading > div > .ant-spin .ant-spin-dot {\n top: 50% !important;\n }\n\n .globalSpin .ant-spin-text {\n text-shadow: none !important;\n color: #fff;\n }\n .globalSpin .ant-spin-dot-item {\n background-color: #fff;\n }\n\t\t\t\t\t\t\t"),i.a.createElement(_,Object.assign({},this.state,this.props)),i.a.createElement(a.a,{spinning:this.state.globalLoading,delay:0,className:"globalSpin",size:"large",tip:this._gLoadingTip||"加载中..."},i.a.createElement("div",{className:"newContainer newContainers"},i.a.createElement(e,Object.assign({initCommonState:function(e){return t.initCommonState(e)}},this.props,this.state,{showShixun:this.showShixun,aboutFocus:this.aboutFocus},l)))),i.a.createElement(k,Object.assign({},this.state,this.props,{Footerdown:o})))}}]),n}(i.a.Component)}},"7aN/":function(e,t,n){},B6BU:function(e,t,n){},TnMl:function(e,t,n){}}]); |