chunk-28dd088d.ab47a8dd.js 18 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-28dd088d"],{"0f01":function(t,e,n){"use strict";n("c01a")},"21c9":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAw1JREFUWEftWU1IVFEU/s59zg9lhOZGE1pIkhUFleImrIgQIRprxoVYSEEQSJtSxI1WKJLRKi0kgogKnDBpUyLkqkVRFGGIgmEL+zMsJkNnxnk37htfMzrjzH3Px8wE3uW8c777nXPPOffcM4R46yy3YSbgAqkugPYBKADn2XFlzf5INAvgM8Bfg7MB5NoH0EvB5XAUg+/xVwO8C5wXmd3blB7RBECN8DoeR+tHCLZxhg/+TnDeaGoDq5SIurDD0Yw2UgVkhKBn/mrayelGCpJeZ1OEoDhWrvZb5QRLcIgdF8dNEAnx0z+a8phLZoWIyRxHCcHt9wBqXzJ5/XtpEaGhMgstD4OYmpHVMivHagieufvgqJWFqNvPcO+8HYPvQqhsj1SFnPVAcX5sUYiH65sDRqd48i0JDwie+TFwXpxcOiLx6IINJ8oVnOsN4tZQSPtQXcbQ32iXghkeCeHQpZiSF6tLNC4I/jZahPM2ACPXHch2ArsvBjDxjWvec5WxhASFfzvrbDBAcJbgnpPwNdB0TEHJZsLpngUIhaN7GZ4023HZu4DWvgUpzzECQn1OeYJaHZQk+LzVhoM7FSg181AXTRJeG/8iZZ9mQMoJSrktSijlBDeuAwpzE2fu5DTHH3+YZcoJnqpguNuQOHOPXAlg6L12raaP4MCrEN58DJPQV8V2hsO7FGQEwTM9QdwZDtdDfbVUK2ivta0R/OeReGVGj8E1D8rUs//ag5+mOX74lt4o+TmEglxKb5K4Shm6TmYlPID67iBejIXJp7xQy4RGtMwaweXdjFEPbskDJm868fRtCFUdEg3ratstGYLucgbOAcaA+gMKqvYoaLgdRPfg0ptnJaxV9YMyBF922FG2NdxpqyrXEsZ9LYDvPhltAw2ryNjCTYQbz+Qs17ffVkAQJUes0SkVX3/JEdOlpD1oDNY6aVOPJuu2T45k6tmZHNY6CcMPd+u2lkMyPPqQg7VOKnOHR4s2hvM/E8dvSwhqJDNogBkVIZk3Al4WvpkzRF8hr+KPBVLxN4Rkov8FcwoOVs89lzwAAAAASUVORK5CYII="},3002:function(t,e,n){"use strict";n("59b9")},3046:function(t,e,n){"use strict";var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"to-next",on:{click:function(e){return t.$emit("toNext")}}},[e("img",{attrs:{src:n("7e84"),alt:""}}),e("span",[t._v("下一条未读")])])},a=[],s={name:"ToNext",data:function(){return{}},mounted:function(){},methods:{}},o=s,c=(n("3002"),n("2877")),r=Object(c["a"])(o,i,a,!1,null,"07fb63da",null);e["a"]=r.exports},"34fa":function(t,e,n){"use strict";n("7e55")},4314:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAABKBJREFUWEftmXtMU1ccx7+nLa+2LLwEx5CNuiFsmXEMFnRuFVLG3kGNZJotRrOyYUz24CWLMcTEbMjYxpwxgWy6xcccTp3LNglGSpQ5I24yw6BgK1F0BQobtFXKo2c5t2tHodh76w3wx07/6b33d76/z/39zv39ek/J0w0ailkYhMBKgZsEaAbI8UXKhOPVqdWjk1HIbAFOAQEMIKSocUX9sYnX5gygC4oQVGSol28pI2UOdm7OAXJQBBWNK04Vz1lAJyRZxdI9JyPIAQKGRaGqZMGAb6q0iAgMR2VHFewO+7TPf75KC7lMgarOzzBGx/yqE4SQXEGAYQFhqF16AF22a9BezJ/WaXhAGI4sPYQ2Szs2//aOX3D/rsWDggBfi1+H11UbcMVqQOvgH1Mc33YMY4+hGi47vaUD7UN6r4CtQ22o66m/MzxBB29ApUyJr9I+R2RQBBzUAcI+hHAO2DEbQ6MWaC9uwpdpNZDL5KDU2QNcdq5jdo7Bvd9ecUdAVsx5A25NLkVWTCZ26j/CD3/+hGBJMA6n70evvc8j3ZWLy5EakYItl7fiXP95DmBPyqe4Xx6PtefXY3B0UFDKeQGq5z2F7Y9sQ/PAryj4vcTtwJXKba3b0dh3hoMuSSrAiGPEIzpLwhajakkljt04gU86d4kPuCwyHZsWvoGClhL02HvdDhRSBTYmrOciahuzcd/H6Tj2dbHI/mfHJpQ/ugPB0iAUtpRilE5pudNC84qgsy4RUHj/XfH8/GxsfjCfi5yUSEEgwa4ru1HXc8rtWAIJHHCuVSGDN6A3UVYPixLfxbKodFwYaMaOtnIOsDSpmFuHTeZz+LDjYwyM/CWEycPWL8BASQCyY56BVrURcmkIaoxf4HD3EQ/h3LjV3PXhcVZ6arinlqVf6BAEyErNytiXsSouh+smpuEeLmqd1k6vflUKFd5LKkac/D6Y7WZ8e+M7nLj5PaxjNt6cvABjgqKxZsFqvHjvcwiRhqDfPoD+kX4khj7Ey5HBakSoLBTRwfNwa+w2fjSdRG33UZiGTT7n8wIsTHwbL8W+gOu3uvH19VrUmerxePhjSA1P8emAGbQMXsbP/b9AE52BVxbkQqVMwKW/W/DWpUKf83kBRgVG4uF7knHG3DTtk+zT0wSD9Ign0Gc3w2Az+pzGC3CiSqAkECrFAz6FvRkYbV1cKRIyBAOqFAnYm1YtxIfbdsOFPBhtVwXN9RuQtTa2rvgM1olYu5xRQFb79l87xIcPr8av5Wri/4AsXK41eNJUj9O9DbwimBmdgWfnZ81sBHmRTTKa0RSzYn26t5EXZ2a0GtkzFUGlTIHlUU+iw9LJu2SwZcHa4llzk6A+zO5ecJnhFTIRjYhap7FQCqWImqJJOV+adBo9KBJFUxVTiL12qnWaA5RinZi6YmkRgoNErctaQyn9RixRMXW4rY+85rwAvcXYRoGFYorfrZZ784gJqXVZKymlR+9WVMz57u03l6hap9lJKYrEdOKvlscGpkukjJZJGhrPfjDbkFO2gCffJUs3KK2Y6TXJ1pzXTXRvaeAeHOvVHIDmUCCVALFiF3O+f0P8AykzESWicFq5AAAAAElFTkSuQmCC"},55591:function(t,e,n){"use strict";var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"reply"},[t.visible?e("el-dialog",{attrs:{width:"600px",visible:t.visible,"before-close":function(e){return t.$emit("visible",!1)}},on:{"update:visible":function(e){t.visible=e}}},[e("div",{staticClass:"reply-content"},[e("div",{staticClass:"info"},[e("img",{staticClass:"avatar",attrs:{src:t.info[t.info_dict.headimg],alt:""}}),e("div",{staticClass:"name"},[t._v(t._s(t.info[t.info_dict.user_name]))])]),e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.content,expression:"content"}],staticClass:"content",attrs:{placeholder:"回复@".concat(t.info[t.info_dict.user_name],":")},domProps:{value:t.content},on:{input:function(e){e.target.composing||(t.content=e.target.value)}}})]),e("div",{staticClass:"reply-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:function(e){return t.$emit("visible",!1)}}},[t._v("取 消")]),e("el-button",{staticStyle:{"background-color":"#0054f7",color:"white"},style:{opacity:t.content?1:.3,cursor:t.content?"pointer":"default"},on:{click:function(e){t.content&&(t.$emit("handleReply",t.content),t.content="")}}},[t._v("确 定")])],1)]):t._e()],1)},a=[],s={name:"Reply",props:{visible:{type:Boolean,default:!1},info:{type:Object},info_dict:{default:function(){return{headimg:"headimg",user_name:"user_name"}}}},model:{prop:"visible",event:"visible"},data:function(){return{content:""}}},o=s,c=(n("34fa"),n("2877")),r=Object(c["a"])(o,i,a,!1,null,"2ef8d99e",null);e["a"]=r.exports},5833:function(t,e,n){"use strict";var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"card-question-content",on:{click:function(e){return t.$emit("handleToDetail")}}},[e("img",{staticClass:"icon",attrs:{src:n("21c9"),alt:""}}),e("div",{staticClass:"title"},[t._v(t._s(t.content))])])},a=[],s={name:"CardQuestionContent",props:{content:{type:String,default:""}}},o=s,c=(n("ef3e"),n("2877")),r=Object(c["a"])(o,i,a,!1,null,"39f2b4cc",null);e["a"]=r.exports},"59b9":function(t,e,n){},7514:function(t,e,n){"use strict";var i=n("5ca1"),a=n("0a49")(5),s="find",o=!0;s in[]&&Array(1)[s]((function(){o=!1})),i(i.P+i.F*o,"Array",{find:function(t){return a(this,t,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")(s)},7542:function(t,e,n){},"7e55":function(t,e,n){},"7e84":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAR1JREFUOE/N1D1Ow0AQhuF3iGEXIcQBoKJAHIO/joKGIEFFCbfgChScgAKEU0R0nAKa9CkhDRRBciTCIDts5Dj2rgsjsaW9fjQz366Fhpc07PHH4Olom6+lD2J5rVX5lUb0sMQydPtnKzxJbvjWQyJ2uF/ue9G2rqHJE8gzHXtZDp6r5XP0iOqWF3WYyCrW7HIrg3IwfRpC81hk9riTt3wn5aFUoQEshWfBs2STlhlmLRTRsX3PZpa26SoLhnKcXIMeTeeXR4UByMoUc9UuyAsP9qJ+KBO0C6wTmYNsZp7W52dYPb8WsYx92PwMXd2NhZLPv04oJSfff5d9oVRco/DPwYWibLBo9osHueiGQfdFWyehBFZ9MCT9vv//4A8mr7sVKTiR1wAAAABJRU5ErkJggg=="},"8abd":function(t,e,n){"use strict";n("7542")},9117:function(t,e,n){"use strict";var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"card-answer-content"},[e("div",{staticClass:"top"},[t.showIcon?e("img",{staticClass:"icon",attrs:{src:n("4314")}}):t._e(),t.showVip?t._e():e("div",{staticClass:"content"},[t._v("\n "+t._s(t.replaceTag(t.formatRichText1(t.content)))+"\n ")])]),t.showVip?t._e():e("div",{staticClass:"view-answer",on:{click:function(e){return t.$emit("handleToDetail")}}},[t._v("\n 点击查看答案\n ")]),t.showVip?e("div",{staticClass:"open-vip"},[t._v("开通会员查看答案")]):t._e()])},a=[],s=(n("a481"),n("325c")),o={name:"CardAnswerContent",props:{content:{type:String},showIcon:{type:Boolean,default:!0},showVip:{type:Boolean,default:!1}},methods:{formatRichText1:s["c"],replaceTag:function(t){return t.replace("<p>","").replace("</p>","")}}},c=o,r=(n("8abd"),n("2877")),l=Object(r["a"])(c,i,a,!1,null,"dc6fdb30",null);e["a"]=l.exports},"9fa5":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAcFJREFUOE+t0j9o1GAYx/Hvc+Eub7wOJ2gdpLM6uTi5FHRRxNJCgjp0cXOwm4OCDgo6uNXBzaXgHxKoVEQXC106dXG7vThYhVZsTe6O5JFcWq9pvSQeZkve3/vJ8z7PK/znRyp5njr9nC9hWb4cnNk+i2Wt9KE4nmRx7HMRWg664Svg+i7ymsC5MTo4o+NY0TrQ2EW6xGaCRdkYhhZX6IZ3gccHNt8jcJ5UAFXwdk4Ax4ntY1i9cZCnKBO5zcI6sd6B+gb15BtJ7zt+8yuIprmswitbR3HsVeB02RSHrLdpmPO8lM0M9KJLqH4YEcu2iVzGNx8z8KoewY7Sq3FuRHSNjpnknfwaDGVWm4TRm7QB/4i+xzHXWJCdQQ/3BE8tks4zRG9VQlWeU7Nv40u8l//7tXHDNnCqGJU2gTlzMHMYzPq5BdRLquzRMa20b/tzh0EvvIDyqdKRhYv4znIx6HbuQ/IwD8o2aPrzZv577QGB/agEjHxQ909I5C3dZK7/3qjNozo9ACQgMF7JkbuzaPIC9Asic/hmKVeVF02hOg+cRKyb+I2FYjBdnd5sUW/93H8d8qhawBi+/CifcqVpDA/9BlUCgxW4LjtYAAAAAElFTkSuQmCC"},b222:function(t,e,n){"use strict";n("ff83")},c01a:function(t,e,n){},cb29:function(t,e,n){},e802:function(t,e,n){"use strict";n.r(e);n("6d67"),n("d25f");var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"wrap"},[e("div",{staticClass:"wrap-title"},[e("TitleControl",{attrs:{title:"评论我的"},on:{handleChange:t.handleSearch}},[e("div",{staticClass:"control-btn",attrs:{slot:"control"},slot:"control"},[t.manageType?t._e():e("div",{staticClass:"is-read",on:{click:function(e){t.$message.success("已将所有信息标为已读"),t.handleRead(t.list,1)}}},[e("img",{attrs:{src:n("9fa5"),alt:""}}),e("span",[t._v("全部已读")])]),t.manageType?e("div",{staticClass:"manage cancel",on:{click:function(e){t.manageType=!1}}},[t._v("\n 取消\n ")]):e("div",{staticClass:"manage",on:{click:function(e){t.manageType=!0}}},[t._v("\n 管理\n ")])]),e("div",{staticClass:"switch-box",attrs:{slot:"bottom"},slot:"bottom"},[e("div",{staticClass:"btn",class:{select:!t.type},on:{click:function(e){return t.changeType(0)}}},[t._v("\n 问题\n "),t.forumMarkNum.forum_comment?e("div",{staticClass:"mark"},[t._v("\n "+t._s(t.forumMarkNum.forum_comment>99?"99+":t.forumMarkNum.forum_comment)+"\n ")]):t._e()]),e("div",{staticClass:"btn",class:{select:!!t.type},on:{click:function(e){return t.changeType(1)}}},[t._v("\n 回答\n "),t.forumMarkNum.reply_comment?e("div",{staticClass:"mark"},[t._v("\n "+t._s(t.forumMarkNum.reply_comment>99?"99+":t.forumMarkNum.reply_comment)+"\n ")]):t._e()])])])],1),e("div",{staticClass:"wrap-content"},[t.manageType?e("div",{staticClass:"read-box"},[e("div",{staticClass:"radio"},[e("el-checkbox",{on:{change:t.changeAllChecked},model:{value:t.allChecked,callback:function(e){t.allChecked=e},expression:"allChecked"}})],1),e("div",{staticClass:"btn is-read",on:{click:function(e){t.handleRead(t.list.filter((function(t){return t.checked})),1)}}},[t._v("\n 已读\n ")]),e("div",{staticClass:"btn un-read",on:{click:function(e){t.handleDelete(t.list.filter((function(t){return t.checked})).map((function(t){return t.id})).join(","),0)}}},[t._v("\n 删除\n ")])]):t._e(),e("div",{staticClass:"list"},[t._l(t.list,(function(n){return e("div",{key:n.id,staticClass:"list-item"},[t.manageType?e("div",{staticClass:"radio"},[e("el-checkbox",{model:{value:n.checked,callback:function(e){t.$set(n,"checked",e)},expression:"item.checked"}})],1):t._e(),e("div",{ref:"card-"+n.id,refInFor:!0,staticClass:"card",style:t.manageType?{width:"calc(100% - 60px)"}:"",on:{click:function(e){return t.handleRead([n],1)}}},[e("CommentMyCard",{attrs:{info:n,manageType:t.manageType,cardType:t.type?"answer":"question"},on:{reply:function(e){return t.showReply(n)},handleDelete:function(e){return t.handleDelete(n.id)},handleRead:function(e){return t.handleRead([n],1-n.is_read)},handleToDetail:function(e){return t.handleToDetail(n,e,"question"==e?{forum_id:"forum_id",reply_id:"id"}:{forum_id:"forum_id",reply_id:"reply_id"})}}})],1)])})),t.finished?e("el-empty",{attrs:{description:"没有更多数据"}}):t._e()],2)]),e("Reply",{attrs:{info:t.info,info_dict:{headimg:"headimg",user_name:"name"}},on:{handleReply:t.handleReply},model:{value:t.replyVisible,callback:function(e){t.replyVisible=e},expression:"replyVisible"}}),t.manageType?t._e():e("ToNext",{on:{toNext:t.toNext}})],1)},a=[],s=(n("1c01"),n("58b2"),n("8e6e"),n("7514"),n("456d"),n("28a5"),n("6762"),n("2fdb"),n("20d6"),n("2909")),o=(n("ac6a"),n("f3e2"),n("ade3")),c=n("f523"),r=n("2f62"),l=function(){var t=this,e=t._self._c;return e("div",{staticClass:"card"},[e("CardBox",t._g({staticStyle:{padding:"15px 20px"},attrs:{btnList:t.btnList}},t.$listeners),[e("div",{staticClass:"header"},[e("CardHeader",t._g({attrs:{avatar:t.info.headimg,name:t.info.user_name,time:t.info.create_at,isRead:t.info.is_read}},t.$listeners))],1),e("div",{staticClass:"content"},[e("CardContent",{attrs:{content:t.info.content}})],1),e("div",{staticClass:"target"},["question"==t.cardType?e("CardQuestionContent",{attrs:{content:t.info.title,is_normal:t.info.is_normal},on:{handleToDetail:function(e){return t.$emit("handleToDetail","question")}}}):e("CardAnswerContent",{attrs:{content:t.info.content,showIcon:!0,"show-vip":t.showVip},on:{handleToDetail:function(e){return t.$emit("handleToDetail","answer")}}})],1)])],1)},u=[],d=n("c191"),f=n("a7e8"),p=n("3d06"),h=n("9117"),m=n("5833");function g(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function A(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?g(Object(n),!0).forEach((function(e){Object(o["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var v={name:"CommentMyCard",components:{CardBox:d["a"],CardHeader:f["a"],CardContent:p["a"],CardAnswerContent:h["a"],CardQuestionContent:m["a"]},props:{info:{type:Object},manageType:{type:Boolean,default:!1},cardType:{type:String,default:"question"}},data:function(){return{}},computed:A(A({},Object(r["b"])(["userInfo"])),{},{showVip:function(){return!(this.userInfo.level_id||!this.info.level)},btnList:function(){var t=["del"];return this.info.is_read?t.push("unRead"):t.push("isRead"),this.manageType?[]:t}}),mounted:function(){}},y=v,C=(n("b222"),n("2877")),b=Object(C["a"])(y,l,u,!1,null,"cc8917b2",null),w=b.exports,O=n("7e74"),k=n("55591"),R=n("3046");function _(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function T(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?_(Object(n),!0).forEach((function(e){Object(o["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var x={components:{CommentMyCard:w,TitleControl:O["a"],Reply:k["a"],ToNext:R["a"]},data:function(){return{list:[],params:{page:1,page_num:20,sort_type:1},finished:!1,manageType:!1,allChecked:!1,replyVisible:!1,info:{},type:0,list_copy:""}},computed:T({},Object(r["b"])({forumMarkNum:function(t){return t.mark_num.forumMarkNum}})),watch:{manageType:function(t){!t&&(this.allChecked=!1),this.list.forEach((function(t){return t.checked=!1}))}},mounted:function(){this.getQuestionList()},methods:{TouchBottom:function(){this.finished||(this.type?this.getAnswerList():this.getQuestionList())},changeAllChecked:function(t){this.list.map((function(e){return e.checked=t}))},changeType:function(t){this.type=t,this.finished=!1,this.list=[],this.params.page=1,this.manageType=!1,t?this.getAnswerList():this.getQuestionList()},getQuestionList:function(){var t=this;c["f"].commentOnMyForum(this.params).then((function(e){var n=e.data,i=n.list.map((function(t){return T({checked:!1},t)}));t.list=1===t.params.page?i:[].concat(Object(s["a"])(t.list),Object(s["a"])(i)),i.length<t.params.page_num?t.finished=!0:t.params.page++}))},getAnswerList:function(){var t=this;c["f"].commentOnMyReply(this.params).then((function(e){var n=e.data,i=n.list.map((function(t){return T({checked:!1},t)}));t.list=1===t.params.page?i:[].concat(Object(s["a"])(t.list),Object(s["a"])(i)),i.length<t.params.page_num?t.finished=!0:t.params.page++}))},handleDelete:function(t){var e=this,n=this;this.showConfirmPopup("确定要删除该信息?").then((function(){c["f"].batchesDel({id:t,type:4}).then((function(i){i.data;n.list.splice(n.list.findIndex((function(e){return e.id==t.id})),1),e.$message.success("删除成功!")}))})).catch((function(t){}))},handleRead:function(t,e){var n=this,i={id:"",type:this.type?4:3,is_read:e};i.id=t.map((function(t){return t.id})).join(","),i.id&&c["f"].unreadChange(i).then((function(t){n.list.forEach((function(t){i.id.split(",").includes(t.id+"")&&(t.is_read=i.is_read)})),n.manageType=!1,n.$store.dispatch("getMarkNum","forum")}))},handleToDetail:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"question",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{forum_id:"forum_id",reply_id:"id"};if(Object.keys(t).includes("is_normal")&&!t.is_normal)return this.$message.error("该问题已失效");this.$router.push({path:"question"==e?"/forum-question-details":"/forum-answer-item",query:{forum_id:t[n.forum_id],reply_id:t[n.reply_id]}}).catch((function(){}))},showReply:function(t){this.replyVisible=!0,this.info=t},handleReply:function(t){var e=this;this.replyVisible=!1,c["f"].forumSecondComment({id:this.info.id,content:t}).then((function(t){t.data;e.$message.success("回复成功")}))},handleSearch:function(t){this.list_copy||(this.list_copy=this.list),t?this.list=this.list_copy.filter((function(e){return e.content.includes(t)})):(this.list=this.list_copy,this.list_copy="")},toNext:function(){var t,e,n=this;return t=0,this.list.forEach((function(e,i){var a=n.$refs["card-"+e.id][0].getBoundingClientRect(),s=a.top;s>-170&&s<=100&&(t=i)})),t!=this.list.length-1&&this.list.length?(e=this.list.slice(t+1).find((function(t){return!t.is_read})),e?void window.scrollTo(0,window.scrollY+this.$refs["card-"+e.id][0].getBoundingClientRect().top-100):this.$message.info("没有下一条未读消息!")):this.$message.info("没有下一条未读消息!")}}},j=x,B=(n("0f01"),Object(C["a"])(j,i,a,!1,null,"4634fa4a",null));e["default"]=B.exports},ef3e:function(t,e,n){"use strict";n("cb29")},ff83:function(t,e,n){}}]);
  2. //# sourceMappingURL=chunk-28dd088d.ab47a8dd.js.map