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.

1 line
8.5 KiB

webpackJsonp([160],{1481:function(t,n,e){var o=e(1613);"string"==typeof o&&(o=[[t.i,o,""]]);var r={hmr:!1,transform:void 0};e(281)(o,r);o.locals&&(t.exports=o.locals)},1612:function(t,n,e){"use strict";var o=e(0),r=e.n(o),i=(e(5),e(1481)),a=(e.n(i),function(t,n,e){return n&&s(t.prototype,n),e&&s(t,e),t});function s(t,n){for(var e=0;e<n.length;e++){var o=n[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function l(t){!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,l);var n=function(t,n){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||"object"!=typeof n&&"function"!=typeof n?t:n}(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,t));return n.DownloadOpenPdf=function(t,n){!0===t?window.open(n):window.location.href=n},n.getTrainingjobsetting=function(){n.props.match.params.homeworkid},n.scrollToAnchor=function(t){if(t){var n=document.getElementById(t);n&&n.scrollIntoView()}},n.state={},n}(function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+typeof n);t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(t,n):t.__proto__=n)})(l,o.Component),a(l,[{key:"componentDidMount",value:function(){console.log("Groupjobquesanswer"),console.log("componentDidMount")}},{key:"render",value:function(){var t=this,n=this.props.attachments;return r.a.createElement("div",{className:"color-grey df yslquesmat26",key:this.props.key,style:{lineHeight:"17px"}},r.a.createElement("a",{className:"color-grey "},r.a.createElement("i",{className:"font-14 color-green iconfont icon-fujian mr8","aria-hidden":"true"})),r.a.createElement("style",null,"\n\t\t\t\t\t\t\t\ta:hover {\n\t\t\t\t\t\t\t\t\t\t\tcolor: #459be5 !important;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\ta:link, a:visited {\n \t\t\t\t\t\t\t\ttext-decoration: none;\n\t\t\t\t\t\t\t\t\t color: #999999 !important;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t"),r.a.createElement("a",{onClick:function(){return t.DownloadOpenPdf(n.is_pdf,n.url)},title:n&&n.title,className:"mr12 yslahover overflowHidden1",length:"58",style:{maxWidth:"480px",fontSize:"16px"}},r.a.createElement("span",null,n&&n.title)),r.a.createElement("span",{className:"color656565 color-grey-6 font-12 mr8"},n&&n.filesize))}}])},1613:function(t,n,e){(t.exports=e(280)(!0)).push([t.i,".yslquestionbank1{padding-top:30px!important;padding-right:30px!important;padding-left:30px!important;min-height:500px!important}.yslquesHeigth{width:100%!important}.yslquesmarkdowntext{font-size:16px;color:#707070}.yslquesmat26{margin-top:26px;padding-bottom:33px!important}.ysltextcolor9999{color:#999;font-size:14px}.ysltextcolor66{color:#666;font-size:14px}.ysltextcolor05{color:#05101a;font-size:14px}.ml47text{margin-left:17px;margin-top:33px;padding-bottom:37px}.ysltextcolor99999{color:#999;font-size:16px}.yslahover{color:#999}.mt24{margin-top:24px!important}.pd30{margin-bottom:30px}","",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/src/modules/courses/groupjobbank/questionbanks.css"],names:[],mappings:"AAAA,kBACI,2BAA6B,AAC7B,6BAA+B,AAC/B,4BAA8B,AAC9B,0BAA6B,CAChC,AACD,eACI,oBAAuB,CAG1B,AACD,qBACI,eAAgB,AAChB,aAAe,CAElB,AACD,cACI,gBAAiB,AACjB,6BAAgC,CACnC,AACD,kBACI,WAAe,AACf,cAAgB,CACnB,AACD,gBACI,WAAe,AACf,cAAgB,CACnB,AACD,gBACI,cAAe,AACf,cAAgB,CACnB,AACD,UACI,iBAAkB,AAClB,gBAAiB,AACjB,mBAAqB,CACxB,AACD,mBACI,WAAe,AACf,cAAgB,CACnB,AACD,WACI,UAAgB,CACnB,AACD,MACI,yBAA6B,CAChC,AACD,MACI,kBAAoB,CACvB",file:"questionbanks.css",sourcesContent:[".yslquestionbank1{\n padding-top: 30px !important;\n padding-right: 30px !important;\n padding-left: 30px !important;\n min-height: 500px !important;\n}\n.yslquesHeigth{\n width: 100% !important;\n\n\n}\n.yslquesmarkdowntext{\n font-size: 16px;\n color: #707070;\n\n}\n.yslquesmat26{\n margin-top: 26px;\n padding-bottom: 33px !important;\n}\n.ysltextcolor9999{\n color: #999999;\n font-size: 14px;\n}\n.ysltextcolor66{\n color: #666666;\n font-size: 14px;\n}\n.ysltextcolor05{\n color: #05101A;\n font-size: 14px;\n}\n.ml47text{\n margin-left: 17px;\n margin-top: 33px;\n padding-bottom: 37px;\n}\n.ysltextcolor99999{\n color: #999999;\n font-size: 16px;\n}\n.yslahover {\n color: #999999 ;\n}\n.mt24{\n margin-top: 24px !important ;\n}\n.pd30{\n margin-bottom: 30px;\n}"],sourceRoot:""}])},2923:function(t,n,e){var o=e(2924);"string"==typeof o&&(o=[[t.i,o,""]]);var r={hmr:!1,transform:void 0};e(281)(o,r);o.locals&&(t.exports=o.locals)},2924:function(t,n,e){(t.exports=e(280)(!0)).push([t.i,".yslquestionbank1{padding-top:30px!important;padding-right:30px!important;padding-left:30px!important;min-height:500px!important}.yslquesHeigth{width:100%!important}.yslquesmarkdowntext{font-size:16px;color:#707070}.yslquesmat26{margin-top:26px;padding-bottom:44px!important}.ysltextcolor9999{color:#999;font-size:14px}.ysltextcolor99999{color:#999;font-size:16px}.mt16px{margin-top:16px}.mt16px,.pd30{padding-bottom:30px}","",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/src/modules/courses/questionbank/questionbank.css"],names:[],mappings:"AAAA,kBACI,2BAA6B,AAC7B,6BAA+B,AAC/B,4BAA8B,AAC9B,0BAA6B,CAChC,AACD,eACI,oBAAuB,CAC1B,AACD,qBACI,eAAgB,AAChB,aAAe,CAElB,AACD,cACI,gBAAiB,AACjB,6BAAgC,CACnC,AACD,kBACG,WAAe,AACd,cAAgB,CACnB,AACD,mBACI,WAAe,AACf,cAAgB,CACnB,AACD,QACI,eAAiB,CAEpB,AACD,cAFI,mBAAqB,CAIxB",file:"questionbank.css",sourcesContent:[".yslquestionbank1{\n padding-top: 30px !important;\n padding-right: 30px !important;\n padding-left: 30px !important;\n min-height: 500px !important;\n}\n.yslquesHeigth{\n width: 100% !important;\n}\n.yslquesmarkdowntext{\n font-size: 16px;\n color: #707070;\n\n}\n.yslquesmat26{\n margin-top: 26px;\n padding-bottom: 44px !important;\n}\n.ysltextcolor9999{\n color: #999999;\n font-size: 14px;\n}\n.ysltextcolor99999{\n color: #999999;\n font-size: 16px;\n}\n.mt16px{\n margin-top: 16px;\n padding-bottom: 30px;\n}\n.pd30{\n padding-bottom: 30px;\n}"],sourceRoot:""}])},3936:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=e(0),r=e.n(o),i=e(5),a=(e(1612),e(2923)),s=(e.n(a),e(333)),l=e(295),p=function(t,n,e){return n&&c(t.prototype,n),e&&c(t,e),t};function c(t,n){for(var e=0;e<n.length;e++){var o=n[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}var A=(function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+typeof n);t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(t,n):t.__proto__=n)}(m,o.Component),p(m,[{key:"componentDidMount",value:function(){console.log("Generaljobdetails"),console.log("componentDidMount")}},{key:"render",value:function(){var t=this.props.datas;return r.a.createElement("div",{className:" clearfix edu-back-white ",ref:"targetElementTrainingjobsetting",style:{margin:"auto",minWidth:"1200px"}},r.a.createElement("div",{className:"yslquestionbank1"},null===t.description?"":"null"===t.description?"":t&&""===t.description?"":r.a.createElement(i.s,{content:t.description,selector:"work_content",className:"mb10 yslquesHeigth"}),void 0===t.attachments?void 0===t.description||null===t.description||""===t.description?r.a.createElement(l.a,null):"":""===t.attachments?void 0===t.description||null===t.description||""===t.description?r.a.createElement(l.a,null):"":null===t.attachments?void 0===t.description||null===t.description||""===t.description?r.a.createElement(l.a,null):"":0===t.attachments.length?void 0===t.description||null===t.description||""===t.description?r.a.createElement(l.a,null):"":r.a.createElement("div",{className:"mt16px"},r.a.createElement(s.a,Object.assign({},this.state,this.props,{attachments:t.attachments})))))}}]),m);function m(t){!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,m);var n=function(t,n){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||"object"!=typeof n&&"function"!=typeof n?t:n}(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,t));return n.getTrainingjobsetting=function(){n.props.match.params.homeworkid},n.scrollToAnchor=function(t){if(t){var n=document.getElementById(t);n&&n.scrollIntoView()}},n.state={},n}n.default=A}});