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.8 KiB
1 line
8.8 KiB
webpackJsonp([161],{1481:function(e,t,n){var o=n(1613);"string"==typeof o&&(o=[[e.i,o,""]]);var r={hmr:!1,transform:void 0};n(281)(o,r);o.locals&&(e.exports=o.locals)},1612:function(e,t,n){"use strict";var o=n(0),r=n.n(o),a=(n(5),n(1481)),i=(n.n(a),function(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e});function s(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function l(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l);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,(l.__proto__||Object.getPrototypeOf(l)).call(this,e));return t.DownloadOpenPdf=function(e,t){!0===e?window.open(t):window.location.href=t},t.getTrainingjobsetting=function(){t.props.match.params.homeworkid},t.scrollToAnchor=function(e){if(e){var t=document.getElementById(e);t&&t.scrollIntoView()}},t.state={},t}(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)})(l,o.Component),i(l,[{key:"componentDidMount",value:function(){console.log("Groupjobquesanswer"),console.log("componentDidMount")}},{key:"render",value:function(){var e=this,t=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 e.DownloadOpenPdf(t.is_pdf,t.url)},title:t&&t.title,className:"mr12 yslahover overflowHidden1",length:"58",style:{maxWidth:"480px",fontSize:"16px"}},r.a.createElement("span",null,t&&t.title)),r.a.createElement("span",{className:"color656565 color-grey-6 font-12 mr8"},t&&t.filesize))}}])},1613:function(e,t,n){(e.exports=n(280)(!0)).push([e.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(e,t,n){var o=n(2924);"string"==typeof o&&(o=[[e.i,o,""]]);var r={hmr:!1,transform:void 0};n(281)(o,r);o.locals&&(e.exports=o.locals)},2924:function(e,t,n){(e.exports=n(280)(!0)).push([e.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:""}])},3937:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=n.n(o),a=n(5),i=(n(1612),n(2923)),s=(n.n(i),n(333)),l=n(295),c=function(e,t,n){return t&&p(e.prototype,t),n&&p(e,n),e};function p(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var A=(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)}(m,o.Component),c(m,[{key:"componentDidMount",value:function(){console.log("Generaljobanswer"),console.log("componentDidMount")}},{key:"render",value:function(){var e=this.props.datas;return console.log("Generaljobanswer"),console.log(e.reference_attachments),console.log(e.reference_answer),r.a.createElement("div",{className:" clearfix edu-back-white ",ref:"targetElementTrainingjobsetting",style:{margin:"auto",minWidth:"1200px"}},r.a.createElement("div",{className:"yslquestionbank1"},null===e.reference_answer?"":"null"===e.reference_answer?"":""===e.reference_answer?"":r.a.createElement(a.s,{content:e.reference_answer,selector:"work_content",className:"mb10 yslquesHeigth "}),void 0===e.reference_attachments?void 0===e.reference_answer||null===e.reference_answer||""===e.reference_answer?r.a.createElement(l.a,null):"":""===e.reference_attachments?void 0===e.reference_answer||null===e.reference_answer||""===e.reference_answer?r.a.createElement(l.a,null):"":null===e.reference_attachments?void 0===e.reference_answer||null===e.reference_answer||""===e.reference_answer?r.a.createElement(l.a,null):"":0===e.reference_attachments.length?void 0===e.reference_answer||null===e.reference_answer||""===e.reference_answer?r.a.createElement(l.a,null):"":r.a.createElement("div",{className:"mt24"},r.a.createElement(s.a,Object.assign({},this.state,this.props,{attachments:e.reference_attachments})))))}}]),m);function m(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,m);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,(m.__proto__||Object.getPrototypeOf(m)).call(this,e));return t.getTrainingjobsetting=function(){t.props.match.params.homeworkid},t.scrollToAnchor=function(e){if(e){var t=document.getElementById(e);t&&t.scrollIntoView()}},t.state={},t}t.default=A}}); |