text: webpackJsonp([6],{"33JA":function(e,t,i){"use strict";var a={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.showEmpryPage?e._e():a("div",{staticClass:"container",style:{height:e.containerHeight+"px"}},[e.resourcesData.length>0?a("div",{staticClass:"choose-number",on:{touchmove:function(e){e.preventDefault()}}},[a("span",{staticClass:"choose-label"},[e._v("个人收藏已选择"),a("p",[e._v(e._s(e.myTotalNum))]),e._v("题")]),e._v(" "),a("span",{staticClass:"total-label"},[e._v("共可选10题")])]):e._e(),e._v(" "),e.resourcesData.length>0?a("div",{staticClass:"per_collection",style:{height:e.resourceListHeight+"px"}},e._l(e.resourcesData,function(t,i){return a("div",{key:i,staticClass:"per_collection_resources"},[a("div",{staticClass:"per_collection_question_num"},[a("span",[e._v(e._s(i+5*(e.showPageIndex-1)+1))])]),e._v(" "),t.data.content?a("div",{staticClass:"per_collection_question_content",domProps:{innerHTML:e._s(t.data.content)}}):e._e(),e._v(" "),a("div",{staticClass:"per_collection_question_add_expand"},[a("ul",[a("li",{on:{click:function(i){return e.expandDetail(t)}}},[a("i",{class:t.isExpandDetail?"ic_packUp":"ic_expand"}),e._v(" "),a("span",{domProps:{textContent:e._s(t.expandDesc)}})]),e._v(" "),a("li",{on:{click:function(i){return e.addRemoveQuestion(t)}}},[a("i",{class:t.data.addTopicFlag?"ic_remove":"ic_add"}),e._v(" "),a("span",{class:{remove:t.data.addTopicFlag},domProps:{textContent:e._s(t.addTopicDesc)}})])])]),e._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:t.isExpandDetail,expression:"itemResource.isExpandDetail"}],staticClass:"per_collection_question_detail"},[a("div",{staticClass:"knowledge"},[a("div",{staticClass:"per_collection_question_title"},[e._v("知识点")]),e._v(" "),a("div",{staticClass:"per_collection_question_content knowledge_content"},[a("ul",e._l(t.data.knowledges,function(t,i){return a("li",{key:i},[e._v(e._s(t.name)+"\n              ")])}),0)])]),e._v(" "),a("div",{staticClass:"answer"},[a("div",{staticClass:"per_collection_question_title"},[e._v("答案")]),e._v(" "),a("div",{staticClass:"per_collection_question_content answer_content",domProps:{innerHTML:e._s(t.data.answer)}})]),e._v(" "),a("div",{staticClass:"analysis"},[a("div",{staticClass:"per_collection_question_title"},[e._v("解析")]),e._v(" "),a("div",{staticClass:"per_collection_question_content analysis_content",domProps:{innerHTML:e._s(t.data.analysis)}})])])])}),0):a("div",{staticClass:"empty_view",style:{height:e.resourceEmptyPageHeight+"px"}},[a("div",[a("img",{staticStyle:{width:"2.3rem",height:"1.91rem",margin:"auto"},attrs:{src:i("8lK+")}}),e._v(" "),a("div",{staticStyle:{"text-align":"center","font-size":".22rem","margin-top":"0.2rem","margin-bottom":"0.2rem",color:"#888888"}},[e._v(e._s(e.keyWord?"当前搜索条件下尚无资源,请换个条件试试！":"没有找到相关资源哦!")+"\n      ")])])])])},staticRenderFns:[]};t.a=a},"4Hhr":function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"AdditionBottom",props:{totalParm:{type:Number,required:!1}},data:function(){return{totalNum:0}},watch:{totalParm:function(e){this.totalNum!==e&&(this.totalNum=e)}},methods:{confirmClick:function(){this.$emit("confirmClick","")}}}},"581e":function(e,t){},"7SbY":function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,s=i("9QeB"),o=(a=s)&&a.__esModule?a:{default:a},n=i("NxjZ");t.default={name:"RecommendResource",components:{},props:{topicSetIdParam:{type:String,request:!1},topicIdParam:{type:String,request:!1},pageIndexParam:{type:Number,request:!1},totalTopicParam:{type:Number,request:!1},submitParam:{type:Number,request:!1}},data:function(){return{bottomTitle:"确定（已选7题）",topicSetId:"",topicId:"",pageIndex:1,pageSize:1,pageCount:5,resourcesData:[],alreadyAddedTopics:[],addedTopics:[],removeTopics:[],containerHeight:0,resourceListHeight:0,shadowFlag:!1,myTotalNum:0,totalTopicNum:0,collectionCount:0,OriginEnum:{Archive:"archive",UserStore:"userStore",Survery:"survery"},TopicActionTpye:{FixTop:"fixTop",Store:"store",Teasing:"teasing"}}},mounted:function(){this.topicSetId=this.topicSetIdParam,this.topicId=this.topicIdParam,this.pageIndex=1,this.getRecommendResources();var e=document.documentElement.clientHeight;this.containerHeight=e-this.$remTopx(.65),this.resourceListHeight=this.containerHeight-this.$remTopx(1.57)},watch:{pageIndexParam:function(e){this.pageIndex!==e&&(this.pageIndex=e,this.getRecommendResources())},totalTopicParam:function(e){this.totalTopicNum!==e&&(this.totalTopicNum=e)},submitParam:function(e){e>0&&this.submitTopic()}},methods:{getRecommendResources:function(){var e=this,t=n.Loading.service({fullscreen:!0});o.default.getRecommendResources(this.topicSetId,this.topicId,this.pageIndex).then(function(i){t.close(),e.clearResourceData(),i&&i.resources&&i.resources.length>0&&(i.resources.forEach(function(t){e.acquireTopicFlag(t),t.content&&t.content.length>0&&(t.content=t.content.replace('width="700px"','width="100%"'));var i=t.addTopicFlag?"移出此题":"添加此题",a=[],s={type:e.TopicActionTpye.Store};if(s.name=t.storeFlag?"取消收藏":"收藏",a.push(s),t.origin!==e.OriginEnum.UserStore&&t.origin!==e.OriginEnum.Survery){var o={type:e.TopicActionTpye.Teasing,name:"我要吐槽"};a.push(o)}e.resourcesData.push({isExpandDetail:!1,expandDesc:"展开解析",addTopicDesc:i,topicActionData:a,popoverVisiable:!1,data:t})}),e.pageCount=i.pageInfo.pageSize<1?1:i.pageInfo.pageSize,e.pageSize=i.pageInfo.totalPage,e.alreadyAddedTopics=i.addedTopics,e.setTotalNum(),e.$emit("pageCallBack",1,e.pageSize),e.$nextTick(function(){e.$mathJaxUtil.reRender()})),e.resourcesData?e.$emit("updateListCount",e.resourcesData.length):e.$emit("updateListCount",0)}).catch(function(i){e.clearResourceData(),e.setTotalNum(),e.$emit("updateListCount",0),t.close()})},clearResourceData:function(){this.resourcesData&&this.resourcesData.length>0&&(this.resourcesData=[])},submitTopic:function(){var e=this,t=this.addedTopics.join(","),i=this.removeTopics.join(",");if(t||i){var a=n.Loading.service({fullscreen:!0});o.default.addOrshiftOutTopics(this.topicSetId,this.topicId,t,i,"archive").then(function(t){a.close(),t&&t.operateResult&&(e.pageIndex=1,window.history.back())}).catch(function(t){a.close(),e.$toast("提交失败，请重试")})}},expandDetail:function(e){e.isExpandDetail=!e.isExpandDetail,e.expandDesc=e.isExpandDetail?"收起解析":"展开解析"},setTotalNum:function(){this.myTotalNum=this.alreadyAddedTopics.length+this.addedTopics.length-this.removeTopics.length,this.$emit("updateTotalNum",this.myTotalNum)},addRemoveQuestion:function(e){if(e.data.addTopicFlag)this.removeQuestion(e.data.simlarTopicId),e.addTopicDesc="添加此题",e.data.addTopicFlag=!1;else{if(this.totalTopicNum>19)return void this.Toast("推荐候选和个人收藏共可选20题哦");if(this.myTotalNum>9)return void this.Toast("推荐候选最多可选10题，可去个人收藏选题哦");this.addQuestion(e.data.simlarTopicId),e.addTopicDesc="移出此题",e.data.addTopicFlag=!0}this.setTotalNum()},addQuestion:function(e){this.isAlreadyTopics(e)||this.addedTopics.push(e);var t=this.removeTopics.indexOf(e);-1!==t&&this.removeTopics.splice(t,1)},removeQuestion:function(e){this.isAlreadyTopics(e)&&this.removeTopics.push(e);var t=this.addedTopics.indexOf(e);-1!==t&&this.addedTopics.splice(t,1)},isAlreadyTopics:function(e){return-1!==this.alreadyAddedTopics.indexOf(e)},isAddTopics:function(e){return-1!==this.addedTopics.indexOf(e)},isRemoveTopics:function(e){return-1!==this.removeTopics.indexOf(e)},acquireTopicFlag:function(e){this.isAddTopics(e.simlarTopicId)&&(e.addTopicFlag=!0),this.isRemoveTopics(e.simlarTopicId)&&(e.addTopicFlag=!1)},topicAction:function(e,t){switch(e.popoverVisiable=!1,this.shadowFlag=!1,t.type){case this.TopicActionTpye.FixTop:this.fixTopAction(e);break;case this.TopicActionTpye.Store:this.storeAction(e.data);break;case this.TopicActionTpye.Teasing:this.teasingAction(e.data)}},storeAction:function(e){var t=this;o.default.collectOrDelete(this.topicSetId,this.topicId,e.simlarTopicId,e.origin,!e.storeFlag).then(function(i){i.operateResult&&t.Toast(e.storeFlag?"取消成功":"请在个人题库中查看"),t.collectionCount=t.collectionCount+1,t.getRecommendResources(),setTimeout(function(){t.$emit("updateCollectionCount",t.collectionCount)},1e3)}).catch(function(e){})},teasingAction:function(e){this.$router.push({path:"/class_report/spit",query:{topicId:this.topicId,topicSetId:this.topicSetId,feedbackTopciId:e.simlarTopicId}})},closeAllPopover:function(){this.shadowFlag=!1,this.resourcesData.forEach(function(e){e.popoverVisiable=!1})},showPopover:function(e){e.popoverVisiable=!e.popoverVisiable,this.shadowFlag=!this.shadowFlag}}}},"8lK+":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAD6CAMAAAAss4rBAAABDlBMVEVHcEzz8/Py9PS01/PS5/621bvy8/XB4Pb4tVHj8PEZw7X09PXx8/b19fXw8/T5tU8exrgNva709PT4tVEbxLb19fX4tVAMvq/5tlDc7vA61snO5f3e36/09PTu9/8NwrPS5/7A4PfQ5/7I4/rO5v293/XK5Pup1u222/LF4vmz2vGs1+7///9639eu1++53PSv2O+bzOMlzsDb7fyRyOJB3M8hxbhjq81rsNBytdReqMow0sXj8vxbpsnO6vQ418oMtqdYpMiLxN+Bv9uFwNt4uNZ9u9iN3+Fq1tMQvK0yMjJQ0cen6eT9xA5NTU3s1Jzor1i6vrjb3NZyv4GMjIzLwjKkq6F3d3dqampubm72SnilAAAAHXRSTlMA9EV3vw0tZsoaN3GO3KQmbd7LfZW7qLhO4cri2my+FS8AABWhSURBVHja7Jxbb9u4Esfb3bZueoq2iy5yigZ1dCNDKnGU42zyYsN+2AcbjVGgRdHtfv8vcngdDiXKVnbXFrPV6EaJQ4rz039o2Sn66NFggx3Ynj4dGHS2d68HBp2F9fbtIK3Owjo+fjdQ6Cqs588HaXUW1vPng7S62WshLCGtYY7vmIQDra66OtawjgdaO3X1zrCS09Ywye+A9fqthfX29QCr2/w+zFkdaalEPB5Y3eM9q5aDA7v2RKwn4dMhK7t/N3w9vNK3SqsprOHbYqu03gUm/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1GqdozFMazm9eVCim2uMy/UxGrlnhdBBy+7kDqnSrqfXwfagiCrOt+HwfE93K6K1Xq9c2xOsMCwgBa5ybouE1E71Vv14cKCqOM7K9fEr5R6VDaRGxVChvlf948ICvTrgLt/3bWwqILVaO06l6NnSYRWshu+IF/rVITbprztX25wqvRrWCjXw70kOaboA1nCrWt3J0Det1du9Q8b1OrLZ5c16i9P0MnwZ0k7pAeO6XY/IHdjV2Cnsql47ex++lu9y52Mp3+UO+Vb8nLwKXEizIZrEIb8PaCk8qFV4TAuP/X0Ghx33OtuN/glgDUTs+KP6CXFqAKg3HIevImSnHwkZYDpFmN7AUDluhR1g47TLW2HJN1kPC1JrPzdZ427fI2q994qtgmobYwSQmkp/PWKNUEPYGogbBldRbCEECBFqYESYkVJIUdgoN0wOHNdqI3YA73invgM2AAfRATyIj0TonSGKJ4fQEXb1KsYHzkMAgSBiCOqBjpEqTKEqRIXzoMyoECoNJ0FgKJkq+UeaB4QnHR9BiDGiqbhqTXIactJPrBr9lCpVqlSpUqVKlSpVqlSpUqVKlSpVqlSpUget/wEhrgxZID7YzAAAAABJRU5ErkJggg=="},C5o8:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i("ihjG"),s=i.n(a);for(var o in a)"default"!==o&&function(e){i.d(t,e,function(){return a[e]})}(o);var n=i("WmYe");var c=function(e){i("VhyZ")},r=i("C7Lr")(s.a,n.a,!1,c,"data-v-06c23bd0",null);t.default=r.exports},CHsE:function(e,t){},Gt60:function(e,t,i){"use strict";var a={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"container",on:{touchmove:function(e){e.preventDefault()}}},[i("div",{staticClass:"choose-topic"},[e._v("已选"),i("p",[e._v(e._s(e.totalNum))]),e._v("题")]),e._v(" "),i("div",{staticClass:"total-topic"},[e._v("共可选20题")]),e._v(" "),i("div",{staticClass:"confirm-btn",on:{click:e.confirmClick}},[e._v("确定")])])},staticRenderFns:[]};t.a=a},"K/Ca":function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i("cwl4"),s=i.n(a);for(var o in a)"default"!==o&&function(e){i.d(t,e,function(){return a[e]})}(o);var n=i("33JA");var c=function(e){i("CHsE"),i("O3MY"),i("581e")},r=i("C7Lr")(s.a,n.a,!1,c,"data-v-5c09aeee",null);t.default=r.exports},O3MY:function(e,t){},PjhL:function(e,t){},SBA4:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i("7SbY"),s=i.n(a);for(var o in a)"default"!==o&&function(e){i.d(t,e,function(){return a[e]})}(o);var n=i("cgY5");var c=function(e){i("tZaO"),i("ddBx"),i("PjhL")},r=i("C7Lr")(s.a,n.a,!1,c,"data-v-0c8d0b2a",null);t.default=r.exports},VhyZ:function(e,t){},WmYe:function(e,t,i){"use strict";var a={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{ref:"fixScrollWatch",staticClass:"container",on:{touchmove:function(e){e.preventDefault()}}},[0===e.isSearch?i("div",{staticClass:"header_nav"},[i("div",{staticClass:"back_btn",on:{click:function(t){return e.backClick()}}},[i("i")]),e._v(" "),i("div",{staticClass:"center_seg"},[i("ul",[i("li",{class:[{checked:0===e.selectIndex},"left"],on:{click:function(t){return e.segmentClick(0)}}},[e._v("\n            推荐候选\n          ")]),e._v(" "),i("li",{class:[{checked:1===e.selectIndex},"right"],on:{click:function(t){return e.segmentClick(1)}}},[e._v("\n            个人收藏\n          ")])])]),e._v(" "),i("div",{staticClass:"right_seg"},[i("ul",[i("li",{class:{checked:!0===e.prePageEnable},on:{click:function(t){return e.prePageClick()}}},[e._v("\n            上一批\n          ")]),e._v(" "),i("li",{class:{checked:!0===e.nextPageEnable},on:{click:function(t){return e.nextPageClick()}}},[e._v("\n            下一批\n          ")])]),e._v(" "),1===e.selectIndex?i("div",{staticClass:"search_btn",on:{click:function(t){return e.searchClick()}}},[i("i")]):e._e()])]):e._e(),e._v(" "),1===e.isSearch?i("div",{staticClass:"search_bar",on:{touchmove:function(e){e.preventDefault()}}},[i("div",{staticClass:"search_input"},[i("i",{staticClass:"search_icon"}),e._v(" "),i("form",{attrs:{action:"javascript:return true;",target:"_blank"}},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.searchKeyText,expression:"searchKeyText"}],ref:"inputText",staticClass:"input-text",attrs:{type:"search",autocomplete:"off",autocorrect:"off",autocapitalize:"off",placeholder:"请输入关键词搜索"},domProps:{value:e.searchKeyText},on:{keyup:e.searchEnterFun,focus:function(t){return e.inputFocus()},blur:function(t){return e.inputLoseFocus()},input:function(t){t.target.composing||(e.searchKeyText=t.target.value)}}})]),e._v(" "),e.searchKeyText.length>0?i("div",{staticClass:"search_clear",on:{click:function(t){return e.clearClick()}}},[i("i")]):e._e()]),e._v(" "),i("div",{staticClass:"search_cancel",on:{click:function(t){return e.cancelClick()}}},[e._v("取消")])]):e._e()])},staticRenderFns:[]};t.a=a},b26F:function(e,t){},cgY5:function(e,t,i){"use strict";var a={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"container",style:{height:e.containerHeight+"px"}},[e.resourcesData.length>0?a("div",{staticClass:"choose-number",on:{touchmove:function(e){e.preventDefault()}}},[a("span",{staticClass:"choose-label"},[e._v("推荐候选已选择"),a("p",[e._v(e._s(e.myTotalNum))]),e._v("题")]),e._v(" "),a("span",{staticClass:"total-label"},[e._v("共可选10题")])]):e._e(),e._v(" "),e.resourcesData.length>0?a("div",{staticClass:"question_list",style:{height:e.resourceListHeight+"px"}},e._l(e.resourcesData,function(t,s){return a("div",{key:s,staticClass:"question"},[a("div",{staticClass:"question_num"},[a("div",{staticClass:"topic_index"},[e._v(e._s(s+(e.pageIndex-1)*e.pageCount+1))]),e._v(" "),a("div",{staticClass:"topic_action"},[a("el-popover",{attrs:{placement:"bottom-end",trigger:"manual"},model:{value:t.popoverVisiable,callback:function(i){e.$set(t,"popoverVisiable",i)},expression:"itemResource.popoverVisiable"}},[a("div",{staticClass:"action_content_parent"},e._l(t.topicActionData,function(i){return a("div",{staticClass:"action_content",on:{click:function(a){return e.topicAction(t,i,s)},touchmove:function(e){e.preventDefault()}}},[e._v(e._s(i.name)+"\n              ")])}),0),e._v(" "),a("img",{staticClass:"topic_more",attrs:{slot:"reference",src:i("u01U")},on:{click:[function(i){return e.showPopover(t)},function(e){e.stopPropagation()}]},slot:"reference"})])],1)]),e._v(" "),t.data.content?a("div",{staticClass:"question_content_html",domProps:{innerHTML:e._s(t.data.content)}}):e._e(),e._v(" "),a("div",{staticClass:"question_tool"},[a("ul",[a("li",{on:{click:function(i){return e.expandDetail(t)}}},[a("i",{class:t.isExpandDetail?"ic_packUp":"ic_expand"}),e._v(" "),a("span",{domProps:{textContent:e._s(t.expandDesc)}})]),e._v(" "),a("li",{on:{click:function(i){return e.addRemoveQuestion(t)}}},[a("i",{class:t.data.addTopicFlag?"ic_remove":"ic_add"}),e._v(" "),a("span",{class:{remove:t.data.addTopicFlag},domProps:{textContent:e._s(t.addTopicDesc)}})])])]),e._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:t.isExpandDetail,expression:"itemResource.isExpandDetail"}],staticClass:"question_answer"},[a("div",{staticClass:"knowledge"},[a("div",{staticClass:"question_title"},[e._v("知识点")]),e._v(" "),a("div",{staticClass:"question_content knowledge_content"},[a("ul",e._l(t.data.knowledges,function(t,i){return a("li",{key:i},[e._v(e._s(t.name)+"\n              ")])}),0)])]),e._v(" "),a("div",{staticClass:"answer"},[a("div",{staticClass:"question_title"},[e._v("答案")]),e._v(" "),a("div",{staticClass:"question_content answer_content",domProps:{innerHTML:e._s(t.data.answer)}})]),e._v(" "),a("div",{staticClass:"analysis"},[a("div",{staticClass:"question_title"},[e._v("解析")]),e._v(" "),a("div",{staticClass:"question_content analysis_content",domProps:{innerHTML:e._s(t.data.analysis)}})])])])}),0):a("div",{staticClass:"empty_view",style:{height:e.containerHeight+"px"}},[a("div",[a("img",{staticStyle:{width:"2.3rem",height:"1.91rem",margin:"auto"},attrs:{src:i("8lK+")}}),e._v(" "),a("div",{staticStyle:{"text-align":"center","font-size":".22rem","margin-top":"0.2rem","margin-bottom":"0.2rem",color:"#888888"},domProps:{textContent:e._s("没有找到相关相关资源哦!")}})])]),e._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:e.shadowFlag,expression:"shadowFlag"}],staticClass:"shadow_div",on:{click:e.closeAllPopover,touchmove:function(e){e.preventDefault()}}})])},staticRenderFns:[]};t.a=a},cwl4:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(i("9QeB")),s=n(i("2fBp")),o=i("NxjZ");function n(e){return e&&e.__esModule?e:{default:e}}t.default={name:"PerCollection",components:{exceptionView:s.default},props:{topicSetIdParam:{type:String,request:!1},topicIdParam:{type:String,request:!1},keyWordParam:{type:String,request:!1},pageIndexParam:{type:Number,request:!1},navInputFocusParam:{type:Boolean,default:!1,request:!1},typeParam:{type:Number,request:!1},totalTopicParam:{type:Number,request:!1},submitParam:{type:Number,request:!1},refreshWithCountParam:{type:Boolean,request:!1}},data:function(){return{topicSetId:"",topicId:"",keyWord:"",showPageIndex:-1,pageIndex:-1,totalPage:-1,pageSize:-1,containerHeight:0,resourcesData:[],alreadyAddedTopics:[],addedTopics:[],removeTopics:[],myTotalNum:0,totalTopicNum:0,resourceListHeight:0,resourceEmptyPageHeight:0,currentType:null,showEmpryPage:!1,type:{SEARCH_TYPE:0,LIST_TYPE:1}}},mounted:function(){this.topicSetId=this.topicSetIdParam,this.topicId=this.topicIdParam,this.pageIndex=1,this.addedTopics=[],this.removeTopics=[],this.alreadyAddedTopics=[],this.currentType=this.typeParam,this.updateShowPageIndex(),this.getUserCollectResources();var e=document.documentElement.clientHeight;this.containerHeight=e-this.$remTopx(.65),this.resourceListHeight=this.containerHeight-this.$remTopx(1.57),this.resourceEmptyPageHeight=e},watch:{keyWordParam:function(e){this.keyWord!==e&&(this.keyWord=e,this.updateShowEmptyPage(),this.updateShowPageIndex(),this.getUserCollectResources())},typeParam:function(e){var t=this;this.currentType=e,this.updateShowEmptyPage(),this.$nextTick(function(){t.$mathJaxUtil.reRender()})},pageIndexParam:function(e){this.pageIndex!==e&&(this.pageIndex=e,this.updateShowPageIndex(),this.getUserCollectResources())},totalTopicParam:function(e){this.totalTopicNum!==e&&(this.totalTopicNum=e)},submitParam:function(e){e>0&&this.submitTopic()},refreshWithCountParam:function(e){e&&this.getUserCollectResources()}},methods:{getUserCollectResources:function(){var e=this,t=o.Loading.service(),i=1;this.currentType===this.type.SEARCH_TYPE?i=1:this.currentType===this.type.LIST_TYPE&&(i=this.pageIndex),a.default.getUserCollectResources(this.topicSetId,this.topicId,this.keyWord,i).then(function(i){e.clearResourceData(),i&&i.resources&&i.resources.length>0&&(e.backTop(),i.resources.forEach(function(t){e.acquireTopicFlag(t);var i=t.addTopicFlag?"移出此题":"添加此题";t.content&&t.content.length>0&&(t.content=t.content.replace('width="700px"','width="100%"')),e.resourcesData.push({isExpandDetail:!1,expandDesc:"展开解析",addTopicDesc:i,data:t})}),e.totalPage=i.pageInfo.totalPage,e.pageSize=i.pageInfo.pageSize,e.alreadyAddedTopics=i.addedTopics,e.setTotalNum(),e.$emit("collectionOnRefreshListener",e.pageIndex,e.totalPage),e.$nextTick(function(){e.$mathJaxUtil.reRender()})),e.resourcesData?e.$emit("updateListCount",e.resourcesData.length):e.$emit("updateListCount",0),t.close()}).catch(function(i){e.clearResourceData(),e.setTotalNum(),e.$emit("updateListCount",0),t.close()})},updateShowEmptyPage:function(){this.currentType!==this.type.SEARCH_TYPE||this.keyWord?this.showEmpryPage=!1:this.showEmpryPage=!0},acquireTopicFlag:function(e){this.isAddTopics(e.simlarTopicId)&&(e.addTopicFlag=!0),this.isRemoveTopics(e.simlarTopicId)&&(e.addTopicFlag=!1)},submitTopic:function(){var e=this,t=this.addedTopics.join(","),i=this.removeTopics.join(",");if(t||i){var s=o.Loading.service({fullscreen:!0});a.default.addOrshiftOutTopics(this.topicSetId,this.topicId,t,i,"userStore").then(function(t){s.close(),t&&t.operateResult&&(e.pageIndex=0,e.keyword=null,window.history.back())}).catch(function(t){s.close(),e.Toast("提交失败，请重试")})}},updateShowPageIndex:function(){this.currentType===this.type.SEARCH_TYPE?this.showPageIndex=1:this.currentType===this.type.LIST_TYPE&&(this.showPageIndex=this.pageIndex)},clearResourceData:function(){this.resourcesData&&this.resourcesData.length>0&&(this.resourcesData=[],console.log("keyWord",this.keyWord))},expandDetail:function(e){e.isExpandDetail=!e.isExpandDetail,e.expandDesc=e.isExpandDetail?"收起解析":"展开解析"},setTotalNum:function(){this.myTotalNum=this.alreadyAddedTopics.length+this.addedTopics.length-this.removeTopics.length,this.$emit("updateTotalNum",this.myTotalNum)},addRemoveQuestion:function(e){if(e.data.addTopicFlag)this.removeQuestion(e.data.simlarTopicId),e.addTopicDesc="添加此题",e.data.addTopicFlag=!1;else{if(this.totalTopicNum>19)return void this.Toast("推荐候选和个人收藏共可选20题哦");if(this.myTotalNum>9)return void this.Toast("个人收藏最多可选10题，可去推荐候选选题哦");this.addQuestion(e.data.simlarTopicId),e.addTopicDesc="移出此题",e.data.addTopicFlag=!0}this.setTotalNum()},addQuestion:function(e){this.isAlreadyTopics(e)||this.addedTopics.push(e);var t=this.removeTopics.indexOf(e);-1!==t&&this.removeTopics.splice(t,1)},removeQuestion:function(e){this.isAlreadyTopics(e)&&this.removeTopics.push(e);var t=this.addedTopics.indexOf(e);-1!==t&&this.addedTopics.splice(t,1),console.log("addedTopics:",this.addedTopics),console.log("removeTopics:",this.removeTopics)},isAlreadyTopics:function(e){return-1!==this.alreadyAddedTopics.indexOf(e)},isAddTopics:function(e){return-1!==this.addedTopics.indexOf(e)},isRemoveTopics:function(e){return-1!==this.removeTopics.indexOf(e)},backTop:function(){document.body.scrollTop=0,document.documentElement.scrollTop=0}}}},ddBx:function(e,t){},eXfO:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r(i("SBA4")),s=r(i("C5o8")),o=r(i("K/Ca")),n=r(i("wMq3")),c=r(i("zOyS"));function r(e){return e&&e.__esModule?e:{default:e}}t.default={name:"indexAdd",components:{RecommendResource:a.default,AdditionNav:s.default,PerCollection:o.default,AdditionBottom:c.default},data:function(){return{segmentType:{RECOMMEND_SEG:0,PER_SEG:1,currentSeg:0},topicSetId:"",topicId:"",searchKeyWord:"",perCollectionSearchType:1,pageRIndex:1,pageRTotal:1,pageCIndex:1,pageCTotal:1,prePageEnable:!1,nextPageEnable:!1,recommendTotal:0,perTotal:0,totalTopicNum:0,perListCount:0,recommendListCount:0,recommendCollectionCount:0,needRefreshPer:!1,submitTopic:0,showBottom:!0}},created:function(){this.topicSetId=this.$route.query.topicSetId,this.topicId=this.$route.query.topicId,n.default.state.token=this.$route.query.token},mounted:function(){this.navSegmentClick(this.segmentType.RECOMMEND_SEG)},watch:{pageCTotal:function(e){this.pageCTotal!==e&&this.setPreAndNextPageEnable()},pageRTotal:function(e){this.pageRTotal!==e&&this.setPreAndNextPageEnable()}},methods:{navSegmentClick:function(e){this.segmentType.currentSeg=e,this.setPreAndNextPageEnable(),this.setShowBottom(),this.segmentType.currentSeg===this.segmentType.PER_SEG&&this.recommendCollectionCount>0?(this.needRefreshPer=!0,this.recommendCollectionCount=0):this.needRefreshPer=!1},navSearchClick:function(){this.searchKeyWord="",this.perCollectionSearchType=0,this.setShowBottom()},navSearchEnter:function(e){this.searchKeyWord=e,this.perCollectionSearchType=1,this.setShowBottom()},navCancelSearch:function(){this.searchKeyWord="",this.perCollectionSearchType=1,this.setShowBottom()},navPrePageClick:function(){this.segmentType.currentSeg===this.segmentType.PER_SEG?this.pageCIndex>1&&this.pageCIndex--:this.pageRIndex>1&&this.pageRIndex--,this.setPreAndNextPageEnable()},navNextPageClick:function(){this.segmentType.currentSeg===this.segmentType.PER_SEG?this.pageCIndex<this.pageCTotal&&this.pageCIndex++:this.pageRIndex<this.pageRTotal&&this.pageRIndex++,this.setPreAndNextPageEnable()},bottomConfirmBtnClick:function(){this.submitTopic=this.submitTopic+1},setPreAndNextPageEnable:function(){this.segmentType.currentSeg===this.segmentType.PER_SEG?(this.prePageEnable=this.pageCIndex>1,this.nextPageEnable=this.pageCIndex<this.pageCTotal):(this.prePageEnable=this.pageRIndex>1,this.nextPageEnable=this.pageRIndex<this.pageRTotal)},perCollectionListen:function(e,t){this.pageCTotal=t,this.setPreAndNextPageEnable()},recommendPageCallBack:function(e,t){this.pageRTotal=t,this.setPreAndNextPageEnable()},recommendUpdateTotalNum:function(e){e>-1&&(this.recommendTotal=e,this.totalTopicNum=this.recommendTotal+this.perTotal)},perUpdateTotalNum:function(e){e>-1&&(this.perTotal=e,this.totalTopicNum=this.recommendTotal+this.perTotal)},recommendUpdateListCount:function(e){this.recommendListCount=e,this.setShowBottom()},perCollectionUpdateListCount:function(e){this.perListCount=e,this.setShowBottom()},recommendUpdateCollectionCount:function(e){this.recommendCollectionCount=e},setShowBottom:function(){this.segmentType.currentSeg===this.segmentType.RECOMMEND_SEG?this.showBottom=this.recommendListCount>0:1===this.perCollectionSearchType?this.showBottom=this.perListCount>0:this.showBottom=!1}}}},ihjG:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"AdditionNav",props:{prePageParam:{type:Boolean,request:!1},nextPageParam:{type:Boolean,request:!1}},data:function(){return{searchKeyText:"",selectIndex:0,isSearch:0,prePageEnable:!1,nextPageEnable:!1,showCover:!1}},watch:{prePageParam:function(e){this.prePageEnable=e},nextPageParam:function(e){this.nextPageEnable=e}},mounted:function(){window.addEventListener("scroll",this.handleScroll)},destroyed:function(){window.removeEventListener("scroll",this.handleScroll)},methods:{handleScroll:function(e){e.preventDefault()},segmentClick:function(e){e!==this.selectIndex&&(this.selectIndex=e,this.$emit("segmentClick",this.selectIndex))},backClick:function(){window.history.back()},prePageClick:function(){!0===this.prePageEnable&&this.$emit("prePageClick","")},nextPageClick:function(){!0===this.nextPageEnable&&this.$emit("nextPageClick","")},searchClick:function(){this.isSearch=1,this.searchKeyText="",this.$emit("searchCLick","")},cancelClick:function(){this.searchKeyText="",this.isSearch=0,this.$emit("cancelSearch","")},clearClick:function(){this.searchKeyText=""},searchEnterFun:function(e){13===e.keyCode&&(this.$emit("searchEnter",this.searchKeyText),this.$refs.inputText.blur())},inputFocus:function(){this.showCover=!0},inputLoseFocus:function(){this.showCover=!1},backTop:function(){document.body.scrollTop=0,document.documentElement.scrollTop=0}}}},mdLt:function(e,t){},rKTZ:function(e,t,i){"use strict";var a={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"container"},[i("addition-nav",{staticClass:"nav",attrs:{"pre-page-param":e.prePageEnable,"next-page-param":e.nextPageEnable},on:{segmentClick:e.navSegmentClick,searchCLick:e.navSearchClick,searchEnter:e.navSearchEnter,cancelSearch:e.navCancelSearch,prePageClick:e.navPrePageClick,nextPageClick:e.navNextPageClick}}),e._v(" "),i("recommend-resource",{directives:[{name:"show",rawName:"v-show",value:e.segmentType.currentSeg===e.segmentType.RECOMMEND_SEG,expression:"segmentType.currentSeg === segmentType.RECOMMEND_SEG"}],staticClass:"recommend",attrs:{"topic-id-param":e.topicId,"topic-set-id-param":e.topicSetId,"page-index-param":e.pageRIndex,"total-topic-param":e.totalTopicNum,"submit-param":e.submitTopic},on:{pageCallBack:e.recommendPageCallBack,updateTotalNum:e.recommendUpdateTotalNum,updateListCount:e.recommendUpdateListCount,updateCollectionCount:e.recommendUpdateCollectionCount}}),e._v(" "),i("per-collection",{directives:[{name:"show",rawName:"v-show",value:e.segmentType.currentSeg===e.segmentType.PER_SEG,expression:"segmentType.currentSeg === segmentType.PER_SEG"}],staticClass:"collection",attrs:{"topic-id-param":e.topicId,"topic-set-id-param":e.topicSetId,"key-word-param":e.searchKeyWord,"page-index-param":e.pageCIndex,"type-param":e.perCollectionSearchType,"total-topic-param":e.totalTopicNum,"submit-param":e.submitTopic,"refresh-with-count-param":e.needRefreshPer},on:{collectionOnRefreshListener:e.perCollectionListen,updateTotalNum:e.perUpdateTotalNum,updateListCount:e.perCollectionUpdateListCount}}),e._v(" "),i("addition-bottom",{directives:[{name:"show",rawName:"v-show",value:e.showBottom,expression:"showBottom"}],attrs:{"total-parm":e.totalTopicNum},on:{confirmClick:e.bottomConfirmBtnClick}})],1)},staticRenderFns:[]};t.a=a},tZaO:function(e,t){},u01U:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoAgMAAADxkFD+AAAADFBMVEVHcEwRERERERERERGYl7maAAAAA3RSTlMAS9P2IdF+AAAAJklEQVQY02NgGGJAegIc139hgOH9Pxhg+P8fBhhGEkVSi2TC0AUAfFEc8OHZ4PgAAAAASUVORK5CYII="},ueSn:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i("eXfO"),s=i.n(a);for(var o in a)"default"!==o&&function(e){i.d(t,e,function(){return a[e]})}(o);var n=i("rKTZ");var c=function(e){i("b26F")},r=i("C7Lr")(s.a,n.a,!1,c,"data-v-30144d7f",null);t.default=r.exports},zOyS:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i("4Hhr"),s=i.n(a);for(var o in a)"default"!==o&&function(e){i.d(t,e,function(){return a[e]})}(o);var n=i("Gt60");var c=function(e){i("mdLt")},r=i("C7Lr")(s.a,n.a,!1,c,"data-v-e4eb6e9e",null);t.default=r.exports}});