"use strict";function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var _createClass=function(){function t(t,e){for(var n=0;n",t)}})}},{key:"renderAccusationSecond",value:function(){var t=this;if(e("#secondTypeBox").html(""),!t.accusationSecondTypeList.length)return!1;var n="";n=e("原文链接"==t.accusationSecondTypeList[0].reason?'
\n

内容链接(必填)

\n
\n \n
\n
':'
\n

请选择具体原因(选填)

\n
');s.on("click",".accusation-close",function(){t.destoryAccusation()}).on("click",".accusation-cancel",function(){t.destoryAccusation()}).on("click",".accusation-send",function(){t.sendAccusationMessage()}).on("click",".accusation-type ul li",function(t){e(this).hasClass("active")||(e(this).siblings().removeClass("active"),e(this).addClass("active")),t.target.className.indexOf("accusation-item-first")>-1&&(n.selectId=e(t.target)[0].dataset.content,n.index=e(t.target)[0].dataset.index,n.accusationTypeList[n.index].reasonList&&n.accusationTypeList[n.index].reasonList.length?(n.accusationSecondTypeList=n.accusationTypeList[n.index].reasonList,n.isHasSecond=!0):(n.accusationSecondTypeList=[],n.isHasSecond=!1),n.selectSecondId="",n.renderAccusationSecond()),t.target.className.indexOf("accusation-item-second")>-1&&(n.selectSecondId=e(t.target)[0].dataset.content)}).on("input",".accusation-input > textarea",function(t){n.content=t.target.value,e(".accusation-input > p").text(n.content.length+"/"+n.maxlength)}),e("body").append(s)}},{key:"renderTextArea",value:function(){return'
\n