You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
144 lines
60 KiB
144 lines
60 KiB
5 years ago
|
webpackJsonp([0],{
|
||
|
|
||
5 years ago
|
/***/ 1534:
|
||
5 years ago
|
/***/ (function(module, exports, __webpack_require__) {
|
||
|
|
||
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
||
|
|
||
|
// load the styles
|
||
5 years ago
|
var content = __webpack_require__(2843);
|
||
5 years ago
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
||
|
// Prepare cssTransformation
|
||
|
var transform;
|
||
|
|
||
|
var options = {"hmr":false}
|
||
|
options.transform = transform
|
||
|
// add the styles to the DOM
|
||
|
var update = __webpack_require__(291)(content, options);
|
||
|
if(content.locals) module.exports = content.locals;
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
5 years ago
|
/***/ 2091:
|
||
5 years ago
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||
|
|
||
|
"use strict";
|
||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_antd_lib_modal_style_css__ = __webpack_require__(30);
|
||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_antd_lib_modal_style_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_antd_lib_modal_style_css__);
|
||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_antd_lib_modal__ = __webpack_require__(31);
|
||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_antd_lib_modal___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_antd_lib_modal__);
|
||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react__ = __webpack_require__(0);
|
||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react__);
|
||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_educoder__ = __webpack_require__(5);
|
||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_moment__ = __webpack_require__(85);
|
||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_moment___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_moment__);
|
||
|
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}var UpgradeModals=function(_Component){_inherits(UpgradeModals,_Component);function UpgradeModals(props){_classCallCheck(this,UpgradeModals);var _this=_possibleConstructorReturn(this,(UpgradeModals.__proto__||Object.getPrototypeOf(UpgradeModals)).call(this,props));_this.updatasmodals=function(){var updata=_this.props.updata;if(updata&&updata.system_update===true){var SystemUpdateEndTime=localStorage.getItem('SystemUpdateEndTime');if(SystemUpdateEndTime===null){_this.setState({system_updates:true});}else if(SystemUpdateEndTime===undefined){_this.setState({system_updates:true});}else if(__WEBPACK_IMPORTED_MODULE_4_moment___default()(SystemUpdateEndTime)<__WEBPACK_IMPORTED_MODULE_4_moment___default()(updata.end_time)){_this.setState({system_updates:true});}}};_this.setmodalSave=function(){var updata=_this.props.updata;localStorage.setItem('SystemUpdateEndTime',updata.end_time);_this.setState({system_updates:false});};_this.state={system_updates:false};return _this;}_createClass(UpgradeModals,[{key:'componentDidMount',value:function componentDidMount(){this.updatasmodals();}},{key:'componentDidUpdate',value:function componentDidUpdate(prevProps){// if (prevProps.data!=this.props.updata){
|
||
|
// this.updatasmodals()
|
||
|
// }
|
||
|
}},{key:'render',value:function render(){var _this2=this;// const antIcons = <Icon type="loading" style={{ fontSize: 24 }} spin />
|
||
|
{/*<Spin indicator={antIcons} spinning={this.state.system_updates} >*/}{/*</Spin>*/}var system_updates=this.state.system_updates;var updata=this.props.updata;return __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_antd_lib_modal___default.a,{keyboard:false,title:updata&&updata.subject,visible:system_updates// visible={this.props.modalsType===undefined?false:this.props.modalsType}
|
||
|
,closable:false,footer:null,destroyOnClose:true,centered:true,width:'530px'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{className:'task-popup-content'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('pre',{className:'break-word break-word-firefox'},updata&&updata.system_score),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{className:'clearfix edu-txt-center mt20'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('a',{className:'task-btn task-btn-orange pop_close',onClick:function onClick(){return _this2.setmodalSave();}},'\u77E5\u9053\u5566'))));}}]);return UpgradeModals;}(__WEBPACK_IMPORTED_MODULE_2_react__["Component"]);/* harmony default export */ __webpack_exports__["a"] = (UpgradeModals);
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
5 years ago
|
/***/ 2843:
|
||
5 years ago
|
/***/ (function(module, exports, __webpack_require__) {
|
||
|
|
||
|
exports = module.exports = __webpack_require__(290)(true);
|
||
|
// imports
|
||
|
|
||
|
|
||
|
// module
|
||
5 years ago
|
exports.push([module.i, ".navInfo{border:none!important;position:absolute;width:100%;bottom:-8px}.navInfo li{float:left;margin:0 40px;padding:0;height:45px;line-height:40px;font-size:16px;position:relative}.navInfo li.active:after{position:absolute;left:0;height:2px;width:100%;content:\"\";bottom:0;background:#05101a!important;color:#666!important}.navInfo li,.navInfo li.ant-menu-item-active{border-bottom:none!important;color:#666!important}.navInfo li.ant-menu-item-selected{border-bottom:2px solid #05101a!important;color:#05101a!important}.navInfo ul.ant-menu{float:left!important;border:none!important}.substancenenew{width:236px;height:206px;background:#f8f8f8;border:2px dotted #e1e1e1;opacity:1;border-radius:4px;padding-top:50px;position:inherit}.substancepad{padding:20px 20px 0;border-bottom:1px solid transparent}.substancefont{height:24px;font-size:18px;font-family:Microsoft YaHei;font-weight:400;line-height:21px;color:#999;opacity:1;margin-top:-8px}.topten{width:1px;height:100px;border:2px #e1e1e1;border:1px solid #e1e1e1}.leftten,.topten{background:#e1e1e1;margin:0 auto}.leftten{width:100px;height:1px;border:1px solid #e1e1e1;position:absolute;top:120px;left:88px}.squarebox{position:absolute;top:0;left:0}.bankTag{max-height:82px;overflow-y:auto}.bankTag #sourceTag li{margin-left:0;margin-right:5px}.bank_list_Tag{cursor:default}#sourceTag li,.bank_list_Tag{font-size:12px;color:#4e7a9b;background-color:#e5f3ff;padding:0 4px;height:20px;line-height:20px;margin-left:5px;display:inline-block;cursor:pointer;margin-bottom:5px}#sourceTag li a{color:#4e7a9b!important}#sourceTag li.active{background-color:#4cacff;color:#fff}#sourceTag li.active a{background-color:#4cacff;color:#fff!important}.mtf15{margin-top:-15px}.project-package-item.with-operator .item-operator{width:0;transition:width .2s;-moz-transition:width .2s;-webkit-transition:width .2s;-o-transition:width .2s}.project-package-item.with-operator:hover .item-operator{margin:-20px -20px -20px 20px;padding:20px 0;width:100px;display:-ms-flexbox;display:flex;-ms-flex-pack:distribute;justify-content:space-around;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;background:#f0f0f0}.project-package-item.with-operator .item-operator a{display:none}.project-package-item.with-operator:hover .item-operator a{display:block;font-size:20px}.bannerPanel{width:100%;top:0;left:0;height:186px;padding-top:25px;-webkit-box-sizing:border-box;box-sizing:border-box;background:url(" + __webpack_require__(2844) + ") no-repeat top;background-color:#0d4473}.username{font-size:26px;margin-right:15px;height:30px;line-height:30px;float:left;color:#fff}.myPhoto img{border-radius:50%;width:100%;height:100%}.myPhoto{border-radius:50%;border:2px solid #fff;width:110px;height:110px}.userpost{padding:0 10px;border:1px solid #fff;border-radius:2px;color:#fff!important;display:inline;margin-top:6px;float:left}.userpost label{display:block;height:18px;line-height:18px}.user-colorgrey-B8{color:#b8b8b8}.user-colorgrey-green{color:#7ed321}.user-colorgrey-blue{color:#98ebff}.user_yellow_btn{color:#fff!important;background-color:#ff8e02}.headtab span{color:#e8e8e8;font-size:14px}.headtab a,.headtab span{display:block;width:100%;text-align:center}.headtab{width:140px;height:70px;text-align:center}.leftTransform:before{position:absolute;content:\"\";left:0;top:6px;width:1px;height:84%;background:#fff;-webkit-transform:rotate(18deg);-ms-transform:rotate(18deg);transform:rotate(18deg)}.userNav{height:54px;line-height:54px;background:#fff;-webkit-box-shadow:0 9px 16px -1px #e6e6e6;box-shadow:0 9px 16px -1px #e6e6e6;border-radius:7px;padding:0 10px}.userNav li{display:inline-block;padding:0 30px;-webkit-box-sizing:border-box;box-sizing:border-box}.userNav li a{color:#333;font-size:16px;display:block}.userNav li.active a{position:relative;color:#4cacff}.userNav li.active a:after{position:absolute;bottom:0;height:4px;width:100%;content:\"\";left:0;background:#4cacff}.breadcrumb{height:18px;line-height:18px;margin:10px 0 0}.breadcrumb .ant-breadcrumb a:hover{color:#459be5!impo
|
||
5 years ago
|
|
||
|
// exports
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
5 years ago
|
/***/ 2844:
|
||
5 years ago
|
/***/ (function(module, exports) {
|
||
|
|
||
|
module.exports = "data:image/png;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAQDAwQDAwQEBAQFBQQFBwsHBwYGBw4KCggLEA4RERAOEA8SFBoWEhMYEw8QFh8XGBsbH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1bIhWqFSoBpCUoCK0AI1cgAAAaAAAAAAICkFWAsQoIUAhaQAJViJbQEAiogUAAACFISCgACEAAAAAAEKAKEKVIoAAAAAABCAAAAAAEUogAAAAAAEKAAQoICgAAAMtAICAAAAAABnQAABkAABKloAAACFUCFIRUAWkUjVItlQDSELpARVKAakWAAAAaAAAAAAIAC0hZItABKsQUigUEKAACSWKQpCgAAQEgoAAAhAAAAAAAAJVAKQAAAAAAABkAAQoAACLFpAAAAAAAAAAIUAAAAAIsVCghAAAAAAAzSgAAGQAAGbVAAAAAWAqxAWQCW2xFLVSoBSslqUUSlALJbAAAABoAAAAAAEBSFoiAoAICgEqxKsEKpAJLFAAAAAgJKAAABCAAAAAACFAFCGgQAAAAAAAIQAAAAAAjRCwpAAAAAAAABACgAABFqBGboBAQAAAAAAM6AAAMgAAJUtAQoAAAItBCKECgLVhZpAKlQUoCK1CgNTKgAAAKUAAAAAAhSCkCiwABCkBQACFAASWBSFBCgASIoAAAAGQAAAAAAABKoBSAAAAAAAAMqQAAAAARqFIAAAAAAAAAIUhQAAAAEWQVQQgAAAAAAZGgAADIAADNqgAAAABRACKgDVZitAtlQDSEpSFsFLChZLYAAAA
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
5 years ago
|
/***/ 4488:
|
||
5 years ago
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||
|
|
||
|
"use strict";
|
||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_antd_lib_tooltip_style_css__ = __webpack_require__(165);
|
||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_antd_lib_tooltip_style_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_antd_lib_tooltip_style_css__);
|
||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_antd_lib_tooltip__ = __webpack_require__(164);
|
||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_antd_lib_tooltip___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_antd_lib_tooltip__);
|
||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react__ = __webpack_require__(0);
|
||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react__);
|
||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react_router_dom__ = __webpack_require__(45);
|
||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_educoder__ = __webpack_require__(5);
|
||
5 years ago
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__usersInfo_css__ = __webpack_require__(1534);
|
||
5 years ago
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__usersInfo_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5__usersInfo_css__);
|
||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__courses_css_members_css__ = __webpack_require__(305);
|
||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__courses_css_members_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6__courses_css_members_css__);
|
||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__courses_css_Courses_css__ = __webpack_require__(303);
|
||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__courses_css_Courses_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7__courses_css_Courses_css__);
|
||
|
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}var InfosBanner=function(_Component){_inherits(InfosBanner,_Component);function InfosBanner(props){_classCallCheck(this,InfosBanner);return _possibleConstructorReturn(this,(InfosBanner.__proto__||Object.getPrototypeOf(InfosBanner)).call(this,props));}_createClass(InfosBanner,[{key:'render',value:function render(){var _this2=this;var _props=this.props,data=_props.data,id=_props.id,login=_props.login,moduleName=_props.moduleName,current_user=_props.current_user;var is_current=this.props.is_current;var username=this.props.match.params.username;var pathname=this.props.location.pathname;moduleName=pathname.split("/")[3];var user_id=this.props.current_user&&this.props.current_user.user_id;var user_type=this.props.current_user&&this.props.current_user.user_identity;var targetuserid=this.props.data&&this.props.data.id;// console.log(is_current)
|
||
|
// console.log(current_user)
|
||
|
// console.log(current_user.is_teacher)
|
||
|
var shixuntype=false;var pathstype=false;var coursestypes=false;if(this.props&&this.props.mygetHelmetapi!=null){var shixun="/shixuns";var paths="/paths";var courses="/courses";this.props.mygetHelmetapi.navbar.map(function(item,key){var reg=RegExp(item.link);if(shixun.match(reg)){if(item.hidden===true){shixuntype=true;}}if(paths.match(reg)){if(item.hidden===true){pathstype=true;}}if(courses.match(reg)){if(item.hidden===true){coursestypes=true;}}});}return __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{className:'bannerPanel mb60'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{className:'educontent'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{className:'clearfix color-white mb25'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('p',{className:'myPhoto mr20 fl'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('img',{alt:'\u5934\u50CF',src:data&&''+Object(__WEBPACK_IMPORTED_MODULE_4_educoder__["M" /* getImageUrl */])('images/'+data.avatar_url)})),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{className:'fl'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('p',{className:'clearfix mt20'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('span',{className:'username task-hide',style:{"maxWidth":'370px'}},data&&data.name)),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('p',{className:'mt15'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_antd_lib_tooltip___default.a,{placement:'bottom',title:data&&data.professional_certification?"已职业认证":"未职业认证"},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('i',{className:data&&data.professional_certification?"iconfont icon-shenfenzhenghaomaguizheng font-18 user-colorgrey-blue mr20 ml2":"iconfont icon-shenfenzhenghaomaguizheng font-18 user-colorgrey-B8 mr20 ml2"})),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_antd_lib_tooltip___default.a,{placement:'bottom',title:data&&data.authentication?"已实名认证":"未实名认证"},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('i',{className:data&&data.authentication?"iconfont icon-renzhengshangjia font-18 user-colorgrey-blue":"iconfont icon-renzhengshangjia font-18 user-colorgrey-B8"})))),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{className:'fr'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{'class':'fl headtab mt20'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('span',null,is_current?"我":"TA",'\u7684\u7ECF\u9A8C\u503C'),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('a',{style:{"cursor":"default"}},data&&data.experience)),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{'class':'fl headtab mt20 pr leftTransform pl20'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('span',null,is_current?"我":"TA",'\u7684\u91D1\u5E01'),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('a',{style:{"cursor":"default"}},data&&data.grade)),is_current?__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('span',{className:'fl mt35 ml60'},data&&data.attendance_signed?__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('span',{className:'user_default_btn user_grey_btn font-18'},'\u5DF2\u7B7E\u5230'):__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('a',{herf:'javascript:void(0);',onClick:this.props.signFor,className:'user_default_btn user_yellow_btn fl font-18'},'\u7B7E\u5230')):__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('span',{className:'fl mt35 ml60'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4_educoder__["r" /* LinkAfterLogin */],Object.assign({},this.props,this.state,{className:'user_default_btn user_yellow_btn fl font-18',to:'/messages/'+login+'/message_detail?target_ids='+id}),'\u79C1\u4FE1')))),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{className:'userNav'},coursestypes===t
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ 775:
|
||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||
|
|
||
|
"use strict";
|
||
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react_router_dom__ = __webpack_require__(45);
|
||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_loadable__ = __webpack_require__(316);
|
||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_loadable___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react_loadable__);
|
||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__Loading__ = __webpack_require__(315);
|
||
5 years ago
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__modals_UpgradeModals__ = __webpack_require__(2091);
|
||
5 years ago
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_axios__ = __webpack_require__(12);
|
||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_axios___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_axios__);
|
||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_educoder__ = __webpack_require__(5);
|
||
5 years ago
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__InfosBanner__ = __webpack_require__(4488);
|
||
5 years ago
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__usersInfo_css__ = __webpack_require__(1534);
|
||
5 years ago
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__usersInfo_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8__usersInfo_css__);
|
||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__courses_css_members_css__ = __webpack_require__(305);
|
||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__courses_css_members_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_9__courses_css_members_css__);
|
||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__courses_css_Courses_css__ = __webpack_require__(303);
|
||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__courses_css_Courses_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_10__courses_css_Courses_css__);
|
||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__login_Trialapplication__ = __webpack_require__(122);
|
||
5 years ago
|
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}var InfosPackage=__WEBPACK_IMPORTED_MODULE_2_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(166).then(__webpack_require__.bind(null, 4489));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});var InfosCourse=__WEBPACK_IMPORTED_MODULE_2_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(153).then(__webpack_require__.bind(null, 4490));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});var InfosShixun=__WEBPACK_IMPORTED_MODULE_2_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(150).then(__webpack_require__.bind(null, 4491));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});var InfosPath=__WEBPACK_IMPORTED_MODULE_2_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(152).then(__webpack_require__.bind(null, 4492));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});var InfosProject=__WEBPACK_IMPORTED_MODULE_2_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(151).then(__webpack_require__.bind(null, 4493));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});var InfosVideo=__WEBPACK_IMPORTED_MODULE_2_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(111).then(__webpack_require__.bind(null, 4494));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});var InfosTopics=__WEBPACK_IMPORTED_MODULE_2_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(148).then(__webpack_require__.bind(null, 3119));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});var $=window.$;var Infos=function(_Component){_inherits(Infos,_Component);function Infos(props){_classCallCheck(this,Infos);var _this=_possibleConstructorReturn(this,(Infos.__proto__||Object.getPrototypeOf(Infos)).call(this,props));_this.componentDidMount=function(){var upsystem='/users/system_update.json';__WEBPACK_IMPORTED_MODULE_5_axios___default.a.get(upsystem).then(function(response){var updata=response.data;_this.setState({updata:updata});}).catch(function(error){console.log(error);});_this.getInfo(_this.props.match.params.username);};_this.componentDidUpdate=function(prevProps){if(_this.props.current_user&&prevProps.current_user!=_this.props.current_user){if(_this.props.current_user.login!=_this.props.match.params.username){_this.setState({is_current:false,login:_this.props.current_user.login});}}else{if(prevProps.match.params.username!=_this.props.match.params.username){_this.getInfo(_this.props.match.params.username);}}};_this.getInfo=function
|
||
5 years ago
|
// (prevState) => ({
|
||
|
// data : update(prevState.data, {attendance_signed: {$set: true} })
|
||
|
// })
|
||
|
// )
|
||
|
// this.setState({
|
||
|
// next_gold:result.data.next_gold
|
||
|
// })
|
||
|
_this.getInfo(_this.props.match.params.username);}}).catch(function(error){console.log(error);});};_this.followPerson=function(){var _this$state=_this.state,followed=_this$state.followed,id=_this$state.id;var url='/users/'+id+'/watch.json';// 取消关注
|
||
|
if(followed){__WEBPACK_IMPORTED_MODULE_5_axios___default.a.delete(url).then(function(result){if(result){_this.setState({followed:false});}}).catch(function(error){console.log(error);});}else{// 关注
|
||
|
__WEBPACK_IMPORTED_MODULE_5_axios___default.a.post(url).then(function(result){if(result){_this.setState({followed:true});}}).catch(function(error){console.log(error);});}};_this.cancelModulationModels=function(){_this.setState({isRenders:false});};_this.ToBank=function(url){window.location.href=url;};_this.state={data:undefined,is_current:undefined,is_edit:false,sign:undefined,type:0,login:undefined,isRenders:false,moduleName:"courses",next_gold:undefined};return _this;}//判断是否看的是当前用户的个人主页
|
||
|
//获取个人主页信息
|
||
|
// 编辑签名
|
||
|
// 输入签名
|
||
|
//取消编辑签名
|
||
|
//签到
|
||
|
// 关注
|
||
|
// 试用申请
|
||
|
// trialapplications =()=>{
|
||
|
// this.setState({
|
||
|
// isRenders: true,
|
||
|
// showTrial:true
|
||
|
// })
|
||
|
// }
|
||
|
_createClass(Infos,[{key:'render',value:function render(){var _this2=this;var _state=this.state,data=_state.data,is_edit=_state.is_edit,sign=_state.sign,type=_state.type,followed=_state.followed,id=_state.id,isRenders=_state.isRenders,moduleName=_state.moduleName,next_gold=_state.next_gold;var isCurrent=true;var currentLogin=void 0;if(this.props.current_user&&this.props.current_user.login!=this.props.match.params.username){isCurrent=false;currentLogin=this.props.current_user.login;}var _commonProps={is_current:isCurrent,login:currentLogin};return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'newMain'},this.state.updata===undefined?"":__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4__modals_UpgradeModals__["a" /* default */],this.state),isRenders&&__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_11__login_Trialapplication__["a" /* default */],Object.assign({},this.props,this.state,{Cancel:function Cancel(){return _this2.cancelModulationModels();}})),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_7__InfosBanner__["a" /* default */],Object.assign({},this.props,this.state,_commonProps,{signFor:this.signFor,followPerson:this.followPerson})),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Switch */],this.props,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{exact:true,path:'/users/:username/topics/:topicstype',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(InfosTopics,Object.assign({},_this2.props,props,_this2.state,_commonProps));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{exact:true,path:'/users/:username/courses',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(InfosCourse,Object.assign({},_this2.props,props,_this2.state,_commonProps));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{exact:true,path:'/users/:username/shixuns',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(InfosShixun,Object.assign({},_this2.props,props,_this2.state,_commonProps));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{exact:true,path:'/users/:username/paths',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(InfosPath,Object.assign({},_this2.props,props,_this2.state,_commonProps));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{exact:true,path:'/users/:username/projects',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(InfosProject,Object.assign({},_this2.props,props,_this2.state,_commonProps));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{exact:true,path:'/users/:username/package',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(InfosPackage,Object.assign({},_this2.props,props,_this2.state,_commonProps));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{exact:true,path:'/users/:username/videos',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(InfosVideo,Object.assign({},_this2.props,props,_this2.state,_commonProps));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{exact:true,path:'/users/:username',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___de
|
||
|
/* harmony default export */ __webpack_exports__["default"] = (Infos);
|
||
|
|
||
|
/***/ })
|
||
|
|
||
|
});
|