12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-9ee868b6"],{"010d":function(t,e,n){"use strict";var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"content-tab"},[t._l(t.tabList,(function(n,r){return e("div",{staticClass:"tab-item",class:{select:r==t.current},on:{click:function(e){return t.$emit("changeTab",r)}}},[t._v("\n "+t._s(t.text[r])+"\n ")])})),t.showRefresh?e("div",{staticClass:"refresh",on:{click:function(e){return t.$emit("handleRefresh")}}},[e("img",{staticClass:"icon",attrs:{src:n("9c7f"),alt:""}}),e("span",[t._v("换一换")])]):t._e()],2)},i=[],a=(n("c5f6"),{name:"ContentTab",props:{current:{type:Number},showRefresh:{type:Boolean,default:!0},text:{type:Array,default:function(){return["为你推荐","全部"]}}},data:function(){return{tabList:[{name:"为你推荐"},{name:"全部"}]}}}),o=a,s=(n("b7f7"),n("2877")),c=Object(s["a"])(o,r,i,!1,null,"dee3fa1a",null);e["a"]=c.exports},"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="},"3b0f":function(t,e,n){},4314:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAABKBJREFUWEftmXtMU1ccx7+nLa+2LLwEx5CNuiFsmXEMFnRuFVLG3kGNZJotRrOyYUz24CWLMcTEbMjYxpwxgWy6xcccTp3LNglGSpQ5I24yw6BgK1F0BQobtFXKo2c5t2tHodh76w3wx07/6b33d76/z/39zv39ek/J0w0ailkYhMBKgZsEaAbI8UXKhOPVqdWjk1HIbAFOAQEMIKSocUX9sYnX5gygC4oQVGSol28pI2UOdm7OAXJQBBWNK04Vz1lAJyRZxdI9JyPIAQKGRaGqZMGAb6q0iAgMR2VHFewO+7TPf75KC7lMgarOzzBGx/yqE4SQXEGAYQFhqF16AF22a9BezJ/WaXhAGI4sPYQ2Szs2//aOX3D/rsWDggBfi1+H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JqXVZKymlR+9WVMz57u03l6hap9lJKYrEdOKvlscGpkukjJZJGhrPfjDbkFO2gCffJUs3KK2Y6TXJ1pzXTXRvaeAeHOvVHIDmUCCVALFiF3O+f0P8AykzESWicFq5AAAAAElFTkSuQmCC"},"4b8d":function(t,e,n){},"597a":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAx5JREFUWEftmD9o00EUx9+7Rh1s4yCCiKAUwaHokjgIokG62OQuRSyCiHTRTcHBxSmTi4Ogmy6l6CAVae5+waVILAUHk0XpIEjpUAQpDsY4VNN78vQXCGn+3P2awm/owQ9+w713H77v3rt3hxDzgTHng13A7UYosoKZTCaRTCaPA8BJIjoEACPhx0w/+UPEdQD4XKvVVsvlciMKrDegUmqEiC4Q0SkA2Oe46AYifkLEd1prhncezoCFQiFRrVbPA8BZItrjvELLRET8AwDvU6nUYqFQcFLUCZBVs9ZeBYCjUcA62KwJIV66qNkXcGJi4rAQ4hoAJAcE13RTE0K80Fp/6+W3J2Co3M0dgGuFfNZLya6AvOcqlcr0AMPaTai1dDo9021PdgWUUl4kIk4K54GIP3gyER1wNgIARFw0xrztZNMRMCwld3yyVQjxWmv9kRdRSp221l52heTsRsTHnULdEVBKmSOitOsCoWqzpVJphf+z2ewoIt7wsUfEijEmaLfZAsgnxPDw8D2PIvzPJyLOGWOW+V9KOUZEUz6AALBRr9cftp84WwCVUiestdc9nUMikTDz8/NVtpucnEw1Gg3p60MI8Vxr/aXVrhNg1lp7xtc5ACwEQbDEdrlc7hwAjPv6EEJ80FqXegJKKaeJiJsArzE0NLRULBYX2Cifz49vbm4ypNdAxFVjzEw/wNtEdNDL8//J1SAITKgghzfl6wMRvxtjnvQDvE9Ee32dCyGWtdZzbKeUmrLWjvn6QMTfxpgHOwIIACtBEMyGCnKJGd0pwEghRsSvxpinDCWlvEVERyIAOoU4UpIAQM0Y8ygEvBulwXBKEqVU1DLDxXqViLh0HfNVj+c7lZmohToKULuNU6GOetQBwDoRveFFEfESAPBFyme4HXXhHvJuFgCgHARBOcziDADw5zycm4WwjvHNzbfdWi4Wi6/YPp/PX/Gpg97tVqiid8MKAL9CyfY7SxelYWXnsW/5m6G21sbz0tQMUayvnU3IWF/cm5CxfvpozcjYPh61l43YPr/51LdBzO37eDSIRbbjYxdwO+qx7V8MbZU4T5pPLgAAAABJRU5ErkJggg=="},"619e":function(t,e,n){"use strict";n("3b0f")},"69e6":function(t,e,n){"use strict";var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"childNavbar-wrap"},[t._l(t.menuList,(function(n,r){return["line"==n?e("div",{staticClass:"childNavbar-line"}):e("div",{staticClass:"childNavbar-item",class:{"childNavbar-item-currnet":t.current==r},on:{click:function(e){return t.handlePush(n,r)}}},[e("img",{attrs:{src:t.current==r?n.icon_s:n.icon,alt:""}}),e("span",{class:{blue:t.current==r}},[t._v(t._s(n.title))]),n.numKey&&t.num[n.numKey]?e("div",{staticClass:"mark"},[t._v("\n "+t._s("round"==n.shape?"":t.num[n.numKey])+"\n ")]):t._e()])]}))],2)},i=[],a=(n("1c01"),n("58b2"),n("8e6e"),n("f3e2"),n("d25f"),n("ac6a"),n("456d"),n("b54a"),n("20d6"),n("ade3"));n("6d67");function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){Object(a["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var c={name:"childNavbar",props:{menu:{type:Array,required:!0},num:{type:Object}},data:function(){return{current:0,menuList:[]}},watch:{current:function(t){this.$emit("change",t)}},mounted:function(){var t=this;this.menuList=this.menu.map((function(e){return"string"==typeof e?e:s(s({},e),t.iconPath(e))})),this.current=this.menuList.findIndex((function(e){return e.link==t.$route.path}))},methods:{handlePush:function(t,e){this.current!=e&&(this.current=e,this.$router.push(t.link).then((function(){})))},iconPath:function(t){return{icon:n("9b0e")("./".concat(t.icon_title||t.title,".png")),icon_s:n("aace")("./".concat(t.icon_title||t.title,"_1.png"))}}}},u=c,l=(n("a19b"),n("2877")),f=Object(l["a"])(u,r,i,!1,null,"d8446d90",null);e["a"]=f.exports},7677:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"wrap"},[t.$route.meta.children?e("ChildContent",{attrs:{menu:t.menu}}):e("Content",{attrs:{menu:t.menu}})],1)},i=[],a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"content"},[e("div",{staticClass:"navbar"},[e("ChildNavbar",{attrs:{num:t.forumMarkNum,menu:t.menu}})],1),e("div",{staticClass:"content-wrap"},[e("div",{staticClass:"tab"},[e("ContentTab",{staticClass:"tab-content-tab",attrs:{text:[]},on:{handleRefresh:t.handleRefresh}})],1),e("div",{staticClass:"list"},t._l(t.list,(function(n){return e("div",{staticClass:"card-item",on:{click:function(e){return t.toQuestionDetail(n)}}},[e("ForumQuestionCard",{attrs:{info:n},on:{handleReport:function(e){return t.handleReport(n)}}})],1)})),0),t.loading?e("div",{staticClass:"loading"},[e("el-col",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{span:24}})],1):t._e(),e("div",{staticClass:"empty"},[t.finished?e("el-empty",{attrs:{description:"没有更多数据"}}):t._e()],1)]),e("Report",{attrs:{type:6,info:t.report_info},model:{value:t.reportVisible,callback:function(e){t.reportVisible=e},expression:"reportVisible"}})],1)},o=[],s=(n("1c01"),n("58b2"),n("8e6e"),n("f3e2"),n("d25f"),n("ac6a"),n("456d"),n("2909")),c=n("ade3"),u=n("69e6"),l=n("010d"),f=(n("7f7f"),function(){var t=this,e=t._self._c;return e("div",{staticClass:"forum-question-card"},[e("div",{staticClass:"header"},[e("div",{staticClass:"user"},[e("img",{staticClass:"avatar",attrs:{src:t.info.headimg,alt:""}}),e("div",{staticClass:"name"},[t._v(t._s(t.info.name))])]),t.info.level?e("img",{staticClass:"vip",attrs:{src:n("cfa8")}}):t._e()]),e("div",{staticClass:"title"},[e("img",{staticClass:"icon",attrs:{src:n("21c9"),alt:""}}),t._v("\n "+t._s(t.info.title)+"\n ")]),e("div",{staticClass:"content",domProps:{innerHTML:t._s(t.formatRichText1(t.info.content)||"")}}),e("div",{staticClass:"tag"},t._l(t.info.label_name,(function(n){return e("div",{staticClass:"tag-item"},[t._v(t._s(n))])})),0),e("div",{staticClass:"footer"},[e("img",{staticClass:"icon",attrs:{src:n("4314"),alt:""}}),e("div",{staticClass:"answer-read"},[t._v("\n "+t._s(t.info.reply_num)+"人回答·"+t._s(t.info.browse_num)+"阅读量\n ")]),e("div",{staticClass:"report",on:{click:function(e){return e.stopPropagation(),t.$emit("handleReport")}}},[e("img",{staticClass:"report-icon",attrs:{src:n("597a")}}),e("div",{staticClass:"report-text"},[t._v("举报")])])])])}),p=[],d=n("325c"),g={name:"ForumQuestionCard",props:{info:{default:function(){return{}}}},data:function(){return{}},methods:{formatRichText1:d["c"]}},A=g,m=(n("957f"),n("2877")),h=Object(m["a"])(A,f,p,!1,null,"1bdcaada",null),b=h.exports,v=n("a882"),C=n("f523"),O=n("2f62");function w(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function y(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?w(Object(n),!0).forEach((function(e){Object(c["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var E={name:"Content",components:{ChildNavbar:u["a"],ContentTab:l["a"],ForumQuestionCard:b,Report:v["a"]},props:{menu:{type:Array,default:[]}},data:function(){return{params:{page:1,pageNum:20},list:[],finished:!1,loading:!1,reportVisible:!1,report_info:{}}},computed:y({},Object(O["b"])({forumMarkNum:function(t){return t.mark_num.forumMarkNum}})),mounted:function(){this.getQuestionList(),localStorage.getItem("user_info")&&this.$store.dispatch("getMarkNum","forum")},methods:{handleRefresh:function(){this.params.page=1,this.list=[],this.getQuestionList()},TouchBottom:function(){this.finished||this.loading||this.getQuestionList()},getQuestionList:function(){var t=this;this.loading||(this.loading=!0,C["f"].getForumList(this.params).then((function(e){var n=e.data,r=n.list;t.list=1===t.params.page?r:[].concat(Object(s["a"])(t.list),Object(s["a"])(r)),r.length<t.params.page_num||t.list.length==n.total_count?t.finished=!0:t.params.page++})).catch((function(){t.finished=!0})).finally((function(){t.loading=!1})))},handleReport:function(t){this.report_info=t,this.reportVisible=!0},toQuestionDetail:function(t){this.$router.push({path:"/forum-question-details",query:{forum_id:t.id}})}}},N=E,I=(n("619e"),Object(m["a"])(N,a,o,!1,null,"6d7ab8c8",null)),D=I.exports,P=function(){var t=this,e=t._self._c;return e("div",{staticClass:"child"},[e("div",{staticClass:"navbar"},[e("ChildNavbar",{attrs:{num:t.forumMarkNum,menu:t.menu}})],1),e("div",{staticClass:"content"},[e("router-view")],1)])},R=[];function B(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function j(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?B(Object(n),!0).forEach((function(e){Object(c["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):B(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var V={name:"childContent",components:{ChildNavbar:u["a"]},props:{menu:{type:Array}},data:function(){return{}},computed:j({},Object(O["b"])({forumMarkNum:function(t){return t.mark_num.forumMarkNum}})),mounted:function(){this.$store.dispatch("getMarkNum","forum")}},_=V,k=(n("d135"),Object(m["a"])(_,P,R,!1,null,"1d000672",null)),x=k.exports,U={components:{Content:D,ChildContent:x},data:function(){return{menu:[{title:"回答我的",link:"/forum/answer-on-my",numKey:"answer_num"},{title:"评论我的",link:"/forum/comment-on-my",numKey:"comment_num",icon_title:"回复我的"},{title:"回复我的",link:"/forum/reply-on-my",numKey:"reply_num",icon_title:"回复我的_forum"},{link:"/forum/like-on-my",title:"点赞我的",numKey:"praise_num",shape:"round"},"line",{title:"我的提问",link:"/forum/my-question"},{title:"我的回答",link:"/forum/my-answer"},{title:"我的评论",link:"/forum/my-comment",icon_title:"我的评论_forum"},{title:"我的回复",link:"/forum/my-reply",icon_title:"我的回复_forum"},{title:"我的点赞",link:"/forum/my-like"},{title:"我的关注",link:"/forum/my-follow"},{title:"浏览记录",link:"/forum/browse-history"}]}}},Q=U,M=(n("b2ab"),Object(m["a"])(Q,r,i,!1,null,"28234edd",null));e["default"]=M.exports},"7cee":function(t,e,n){},"8e04":function(t,e,n){},"957f":function(t,e,n){"use strict";n("cf96")},"9b0e":function(t,e,n){var r={"./充值订单.png":"9728","./充值订单_1.png":"a398","./回复我的.png":"91ea","./回复我的_1.png":"b528","./回复我的_forum.png":"0818","./回复我的_forum_1.png":"74fa","./回答我的.png":"efa8","./回答我的_1.png":"3d81","./学习历史.png":"9f71","./学习历史_1.png":"0677","./我的关注.png":"cda1","./我的关注_1.png":"3215","./我的发布.png":"2e1a","./我的发布_1.png":"b48b","./我的回复.png":"a5f6","./我的回复_1.png":"ec94","./我的回复_forum.png":"c8a9","./我的回复_forum_1.png":"6cb6","./我的回答.png":"d83c","./我的回答_1.png":"76ef","./我的已购.png":"42aa","./我的已购_1.png":"d388","./我的提问.png":"7f11","./我的提问_1.png":"d9f4","./我的收藏.png":"04a8","./我的收藏_1.png":"f30b","./我的点赞.png":"4740","./我的点赞_1.png":"8be3","./我的订阅.png":"0bb9","./我的订阅_1.png":"95b6","./我的评论.png":"2d4e","./我的评论_1.png":"a078","./我的评论_forum.png":"aba0","./我的评论_forum_1.png":"af14","./我的追番.png":"6c7d","./我的追番_1.png":"51c3","./浏览记录.png":"709a2","./浏览记录_1.png":"3aed","./点赞我的.png":"1146","./点赞我的_1.png":"9c4b","./订阅.png":"2a09","./订阅_1.png":"5527","./评论我的.png":"7d7e","./评论我的_1.png":"d6b0","./账户管理.png":"c6a7","./账户管理_1.png":"62bf"};function i(t){var e=a(t);return n(e)}function a(t){if(!n.o(r,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return r[t]}i.keys=function(){return Object.keys(r)},i.resolve=a,t.exports=i,i.id="9b0e"},"9c7f":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAA6BJREFUWEfFlllsFWUUx39ner135rI0tqIBVxKXBKVGAopoYmPC4gOSlhmMTXhogssLhMQXN3zR4LPBBZQgicZUZ241hISIL9RoFJOiFTXyghENAWmg0LQzd5tj5rYY6l0HRpnH+f7f//y+c77lCFf5k6scn2QBbP9VhOXkzV72yXgri0sYIBgB7QLZgmfu+P8BnPzzaPg6yFE8s+u/AXD8hSjdIItA5kEI6CgiP4EeQ2UIuAbRFbjZb5pBtFgCFTYUHMJwK/BgE9OIyEDZS87qv3KA9cEdiL4HPDJlJmXgR+Aw6OnpfzcADwBdoG3TQScRcwGunG8E0TgDG4oPEZb2AR1AgMgOCN/EzZ6oMn1MM8wKXgFe/GdMZQ058/PLA+idWIZhRPW0QL5HeBLXPFYz8Gx/CxhbUV1QGVfGEd6mw9zGu1KMD+CMzyNMDSPcjMgQ+czauufa9rcDL0wHOYMYb1BMv8VnMtas/pWC1hTZwU7QZ4DfEHMprpyta+b4j4K8jPIpktmNK34rgS9qqgEqm45fQFMgq/HMg3EM42qrAZz8a2j4EjCEZ3XHNYyrrwaw/V+BuxD6ca29cQ3j6mcCPK5zSOfHQA1SegsD2T/iGsbVzwTonViCYQyDXMAz2+OaNdT3FO7FKC8mZ314qW4mgF1cAaWvgZN41o2JAjjBUVTvQXU5uezh2qfgicIyyuXvgLN4VmeiAHYQlbYdabsPN/1DbYDoAtLUX5XBtNnBR3IuEQjnfAeaGQUVpDwfd/ap+veA7Ucb7yZUbXLZXDIAkz2oDAK/41m31d8D0YgdvAP6LCI5XNNOBMAOBkF7gN141lONAZzC/Wj4LaiiRhe5zM9XBLE+fzcSjgBtSNtS3PRwY4CpLBwAXVN580fNhzkkpcuC6NYU1wVfTjUxchDPXP1vn9qPkRPcjnIEdA6wB8/cBKKxIWx/D9APMkmoixm0jrcGEKkcvw+VDyq3IgxQMJ9utdVm1alZzG1/P3IhahrF6MPNfFxrAY07ItvfBOyq9HjR04yxDUkP4FbasuovSnlnwUGizphbQUoYxmY+Se+sl73mTalTXImWokdpqtuB6AzvR+QIIX8iYqA6H2EJ6Drg+mndaUQ24ppfNCpdc4Bodp9eSzF4DmUzMLfxXtAxkF1MTG7nQOeFZvumNYCLLms1S7qwCtGViN6JSrTyEqrnEBkB+YozJ/dzaGHQLHD9m7DVmQnp4mUgoaCX2vwN+m8uMHgqzPAAAAAASUVORK5CYII="},a19b:function(t,e,n){"use strict";n("7cee")},a737:function(t,e,n){},a882:function(t,e,n){"use strict";n("6762"),n("2fdb");var r=function(){var t=this,e=t._self._c;return t.visible?e("el-dialog",{attrs:{center:"",title:"请选择举报理由",width:"600px","append-to-body":"",visible:t.visible,"before-close":function(e){return t.$emit("visible",!1)}},on:{"update:visible":function(e){t.visible=e}}},[e("div",{staticClass:"report"},[t._l(t.reportCase,(function(n){return e("div",{staticClass:"report-item"},[e("div",{staticClass:"title"},[t._v(t._s(n.title))]),e("div",{staticClass:"children-box"},t._l(n.children,(function(n){return e("div",{staticClass:"children-item",on:{click:function(e){return t.handleRadio(n)}}},[e("div",{staticClass:"radio",class:{select:t.reportIds.includes(n.id)}},[t.reportIds.includes(n.id)?e("i",{staticClass:"el-icon-check"}):t._e()]),e("div",{staticClass:"label"},[t._v(t._s(n.title))])])})),0)])})),t.reportIds.includes("other")?e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.reportContent,expression:"reportContent"}],staticClass:"report-content",attrs:{placeholder:"请输入填写举报内容(必填)"},domProps:{value:t.reportContent},on:{input:function(e){e.target.composing||(t.reportContent=e.target.value)}}}):t._e()],2),e("div",{staticClass:"report-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"},on:{click:t.report}},[t._v("确 定")])],1)]):t._e()},i=[],a=(n("d25f"),n("57e7"),n("c5f6"),n("f523")),o={name:"Report",props:{visible:{type:Boolean,default:!1},info:{type:Object},type:{type:Number}},model:{prop:"visible",event:"visible"},data:function(){return{reportIds:[],reportContent:""}},computed:{reportCase:function(){return this.$store.state.report.reportCase}},methods:{handleRadio:function(t){-1==this.reportIds.indexOf(t.id)?this.reportIds.push(t.id):this.reportIds.splice(this.reportIds.indexOf(t.id),1)},report:function(){var t=this;if(!this.reportIds.filter((function(t){return"other"!=t})).length)return this.$message.error("请选择举报类目");if(this.reportIds.includes("other")&&!this.reportContent)return this.$message.error("请填写举报内容");var e=0;switch(this.type){case 1:e=this.info.video_id;break;case 4:e=this.info.datum_id;break;case 5:e=this.info.article_id;break;default:e=this.info.id}var n={report_id:e,type:this.type,case_ids:this.reportIds.filter((function(t){return"other"!=t})).join(","),content:this.reportIds.includes("other")?this.reportContent:""};a["j"].userReport(n).then((function(e){var n=e.msg;e.data;t.$message.success(n),t.$emit("visible",!1)}))}}},s=o,c=(n("c0dc"),n("2877")),u=Object(c["a"])(s,r,i,!1,null,"0387d88f",null);e["a"]=u.exports},aa77:function(t,e,n){var r=n("5ca1"),i=n("be13"),a=n("79e5"),o=n("fdef"),s="["+o+"]",c="
",u=RegExp("^"+s+s+"*"),l=RegExp(s+s+"*$"),f=function(t,e,n){var i={},s=a((function(){return!!o[t]()||c[t]()!=c})),u=i[t]=s?e(p):o[t];n&&(i[n]=u),r(r.P+r.F*s,"String",i)},p=f.trim=function(t,e){return t=String(i(t)),1&e&&(t=t.replace(u,"")),2&e&&(t=t.replace(l,"")),t};t.exports=f},aace:function(t,e,n){var r={"./充值订单_1.png":"a398","./回复我的_1.png":"b528","./回复我的_forum_1.png":"74fa","./回答我的_1.png":"3d81","./学习历史_1.png":"0677","./我的关注_1.png":"3215","./我的发布_1.png":"b48b","./我的回复_1.png":"ec94","./我的回复_forum_1.png":"6cb6","./我的回答_1.png":"76ef","./我的已购_1.png":"d388","./我的提问_1.png":"d9f4","./我的收藏_1.png":"f30b","./我的点赞_1.png":"8be3","./我的订阅_1.png":"95b6","./我的评论_1.png":"a078","./我的评论_forum_1.png":"af14","./我的追番_1.png":"51c3","./浏览记录_1.png":"3aed","./点赞我的_1.png":"9c4b","./订阅_1.png":"5527","./评论我的_1.png":"d6b0","./账户管理_1.png":"62bf"};function i(t){var e=a(t);return n(e)}function a(t){if(!n.o(r,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return r[t]}i.keys=function(){return Object.keys(r)},i.resolve=a,t.exports=i,i.id="aace"},b2ab:function(t,e,n){"use strict";n("8e04")},b7f7:function(t,e,n){"use strict";n("a737")},c0dc:function(t,e,n){"use strict";n("4b8d")},c5f6:function(t,e,n){"use strict";var r=n("7726"),i=n("69a8"),a=n("2d95"),o=n("5dbc"),s=n("6a99"),c=n("79e5"),u=n("9093").f,l=n("11e9").f,f=n("86cc").f,p=n("aa77").trim,d="Number",g=r[d],A=g,m=g.prototype,h=a(n("2aeb")(m))==d,b="trim"in String.prototype,v=function(t){var e=s(t,!1);if("string"==typeof e&&e.length>2){e=b?e.trim():p(e,3);var n,r,i,a=e.charCodeAt(0);if(43===a||45===a){if(n=e.charCodeAt(2),88===n||120===n)return NaN}else if(48===a){switch(e.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+e}for(var o,c=e.slice(2),u=0,l=c.length;u<l;u++)if(o=c.charCodeAt(u),o<48||o>i)return NaN;return parseInt(c,r)}}return+e};if(!g(" 0o1")||!g("0b1")||g("+0x1")){g=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof g&&(h?c((function(){m.valueOf.call(n)})):a(n)!=d)?o(new A(v(e)),n,g):v(e)};for(var C,O=n("9e1e")?u(A):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),w=0;O.length>w;w++)i(A,C=O[w])&&!i(g,C)&&f(g,C,l(A,C));g.prototype=m,m.constructor=g,n("2aba")(r,d,g)}},cf96:function(t,e,n){},cfa8:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAcCAYAAAAuh5ywAAAAAXNSR0IArs4c6QAABl9JREFUWEfVWHtQVFUY/51lHzwEpMTJclKTfOWjdFQeMj5AHgY2WsA0NSKKkuaD8tFgIoo66GgNOm06pdgKwhRh5jMnUlOsDcFBoyFJRg0UB0wERRBtb3PP3r333N27uxf9x/afhbvnnvN93+/3fb/vfAQAuKqsQbCQHBBEAsQPhADQgH7Tv4VvopH+VnrGrnX3vrhWOMe2n7gvf6b9ecz/NtuIpg1EUwqdNoP4RdYSqzOcGSABioY7c4g1iDXCpaN2BrkLlCxAdg7Kgk2D0gKdNphw5zNLwJGZj49GN410cF4h6nSN0r5KaDLPPDT7CVeZ2SrRzEYtG83sD1OgAL9UiV42o+xpa1vL/67h9+N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Bmb2p6BPoL4ugmhxyp0X877GTR2Hb+lnw8BC0UKFBdqtDklMapH/yEw6dvgy9zgPlBXPg62OAhSMInbUbzS33MX5kXxRuTnRQ9CdxSK/TYuTQvkiaHowZsWNBhC5DXralftCtDrEonayoR+r6YzSYWz6IwMyIoTD/fgPvZOynz3KWTkVizAgHfVDjUNaS1xERNlRWFPjWx9/Px9pZKHXgCvc2VTpkqzSPLEDo7Hz809qBiWNeRN666VhtPIWiY9VW1IrS4Ovj6YjQE+oQyxLpzsZqZzd1iL34rfuiDHsPV0ProcFZ02zELizE7bZOxIQFwbg6XvF2qwYhscq5vDi6uQ8RAlU6JPKVaFB1qQlvrrBSLDpkII7/WmcV3Mx4RIUG2V3R1Vc5dzokdeLMaEC5KHT/PhSRVoSrja1iYfLvYYB533zo9VoVCHVfh2Q9G3+qw/1NQk61DrFVZVtRBbYXWZtQ/vN27HBsWMzPV9h2XjpYjQ7JKSfvoJ0Oatii0F0dsjpkTb5rjW1YuvVH0aGsBZPx2pA+TvurXcXlOPzzn3R9yWcpoo5U1dzA2u1H6fNlqVMRPk4Qa7UzhSfVIVmk7G63ijSQjaYUrvmi4U5oxL7P6o9s0OJ4H3IyJPmfzOXYAQ3hhySVmSWAMMZyNzx0Nlp6GuZyvA10jMUOGh9rSvqUzOVsg0Y+IalTIDng2FGw0qTyKZzL0VEwKYVFl0ECI2v/A5efXosLxT9xAAAAAElFTkSuQmCC"},d135:function(t,e,n){"use strict";n("fae8")},fae8:function(t,e,n){},fdef:function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"}}]);
- //# sourceMappingURL=chunk-9ee868b6.be8b4030.js.map
|