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.
25 lines
5.8 KiB
25 lines
5.8 KiB
webpackJsonp([34],{
|
|
|
|
/***/ 800:
|
|
/***/ (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__ = __webpack_require__(57);
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_router_dom__ = __webpack_require__(45);
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__Loading__ = __webpack_require__(315);
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_react_loadable__ = __webpack_require__(316);
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_react_loadable___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_react_loadable__);
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__tpm_TPMIndexHOC__ = __webpack_require__(317);
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__courses_common_CNotificationHOC__ = __webpack_require__(325);
|
|
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 CompetitionsIndex=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(143).then(__webpack_require__.bind(null, 4545));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});//竞赛详情页
|
|
var CompetitionCommon=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(58).then(__webpack_require__.bind(null, 4548));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});//战队详情
|
|
var CompetitionTeams=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(99).then(__webpack_require__.bind(null, 4563));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});//团队竞赛报名
|
|
var Registration=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(141).then(__webpack_require__.bind(null, 4566));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});var Competitions=function(_Component){_inherits(Competitions,_Component);function Competitions(props){_classCallCheck(this,Competitions);return _possibleConstructorReturn(this,(Competitions.__proto__||Object.getPrototypeOf(Competitions)).call(this,props));}_createClass(Competitions,[{key:'componentDidMount',value:function componentDidMount(){window.document.title='竞赛';}},{key:'render',value:function render(){var _this2=this;return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'newMain clearfix'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["e" /* Switch */],null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/competitions/:identifier/competition_teams/:competition_team_id',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(CompetitionTeams,Object.assign({},_this2.props,props,_this2.state));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/competitions/:identifier/enroll',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(Registration,Object.assign({},_this2.props,props,_this2.state));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/competitions/:identifier',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(CompetitionCommon,Object.assign({},_this2.props,props,_this2.state));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/competitions',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(CompetitionsIndex,Object.assign({},_this2.props,props,_this2.state));}})));}}]);return Competitions;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (Object(__WEBPACK_IMPORTED_MODULE_6__courses_common_CNotificationHOC__["a" /* CNotificationHOC */])()(Object(__WEBPACK_IMPORTED_MODULE_5__tpm_TPMIndexHOC__["a" /* TPMIndexHOC */])(Competitions)));
|
|
|
|
/***/ })
|
|
|
|
}); |