12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7030e0ca"],{"010d":function(t,e,i){"use strict";var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"content-tab"},[t._l(t.tabList,(function(i,n){return e("div",{staticClass:"tab-item",class:{select:n==t.current},on:{click:function(e){return t.$emit("changeTab",n)}}},[t._v("\n "+t._s(t.text[n])+"\n ")])})),t.showRefresh?e("div",{staticClass:"refresh",on:{click:function(e){return t.$emit("handleRefresh")}}},[e("img",{staticClass:"icon",attrs:{src:i("9c7f"),alt:""}}),e("span",[t._v("换一换")])]):t._e()],2)},s=[],a=(i("c5f6"),{name:"ContentTab",props:{current:{type:Number},showRefresh:{type:Boolean,default:!0},text:{type:Array,default:function(){return["为你推荐","全部"]}}},data:function(){return{tabList:[{name:"为你推荐"},{name:"全部"}]}}}),r=a,c=(i("b7f7"),i("2877")),o=Object(c["a"])(r,n,s,!1,null,"dee3fa1a",null);e["a"]=o.exports},"083b":function(t,e,i){"use strict";i("1622")},"0bce":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAWhJREFUOE+t1D1Lw1AUxvH/SatNXFzq4gs6iYOizi5K0VlrKuLiIPgRxK8g4gfQQQS7JVVxLg4Ojgq+IKUIDk7O2jaW5koV6Ytp04bc8dzz/Ljk3Fwh5CUdeUk1jFaYQUVyZPR8u4w/aDopcNNAL1BGxMTSL1uh7cF5FSXuvIIaqgNusI25YKBZTADZhrDikYwxFQxcLR0iarsxrM6x+5LdgyvOJBH3FuhpDGu72LG9zsCUihAlTvlrAdwDYPBfUGSJj9j1T30ElyMp1/fUhrLmLOO6J0B/R1fpt0mh5A6NDSw9Vy3UQLP0DGqiC6zWKmSxjMUmsPgODAQCIY9tjIcJHmMbW+GBQgLLuAoLfMPWR0HccECRfSx95+/b1005yFBEITKNFXvwAu+Blv+o5/RFbCw95X2xzUIKtDSo6jPltxSiztCNTU7l0xusVteLY1S0WVQl2lIUzaHMExf6i1eP/wPrd9am/W8VUGkVx2Ud3QAAAABJRU5ErkJggg=="},"0ec9":function(t,e,i){"use strict";i("388d")},1622:function(t,e,i){},"1a26":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"},"24c8":function(t,e,i){},"388d":function(t,e,i){},"41ca":function(t,e,i){},"48f0":function(t,e,i){"use strict";i("24c8")},"4b8d":function(t,e,i){},5212:function(t,e,i){"use strict";i("54fd")},"54fd":function(t,e,i){},"55ee":function(t,e,i){"use strict";i("41ca")},6343:function(t,e,i){"use strict";i("f03f")},6493:function(t,e,i){"use strict";i("70e3")},"70e3":function(t,e,i){},"97bc":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAfJJREFUOE91ks1qU1EUhdc6N2lNGuNPJ1YEFUWTm858BEeOSgcVhRJLm0ZwZqORithERDESOxMsqdQiKDgofQAfwVmTKigqiDrxL71JWpN7l9zUio3xDNde395rczbR5cUn1gYJ3vVLgi6vzu9c6bTxb8Eec/bJ0g0A4wSsTRAugId0eb2yEPm85W+D+9MK72o5GVJZgJFuKQA5Egs/ApHixznWaY+vnQZZBHSgO/BPyA+QMoynawN0dVPQua14/2vgxyb4SBav/dkxkXLOSngMyHQH6ZEYLZciT/w6Y0n1s6eepzQkMgfgE+UVACR+NyiLJgtggFJO5LJr3BztlDMKaVbAUsNtZd8t7PmOEVl21En5YKUaKeEZ3UNj33aHrECBwDAYuNiO6othK7AswDbATLkaeeCb2xNHZCWiznkPyBOs1N3mkN+cscn1Y3RbRRocpIvbMjoD4IgRp3zOo+4BeEOPT2VhmsD7luddoj1ZOyXPmzVEpYVA5lUp9NaeaJwkXB+AYE1V5kPPj6cahwNoFSXYMGYz6om0gnW3doHAFQGLzfWNW69/7q35taM9X/uCO3qvEkgKuBO2+u6/mGNz28nFktV+E2QOxDA95dsTDWcgLHlN5V4uRr9sO7nOfxtMbcQ9NYu+bhjMrJR6Vzs9vwBmpsxjhoi/2gAAAABJRU5ErkJggg=="},"9c7f":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAA6BJREFUWEfFlllsFWUUx39ner135rI0tqIBVxKXBKVGAopoYmPC4gOSlhmMTXhogssLhMQXN3zR4LPBBZQgicZUZ241hISIL9RoFJOiFTXyghENAWmg0LQzd5tj5rYY6l0HRpnH+f7f//y+c77lCFf5k6scn2QBbP9VhOXkzV72yXgri0sYIBgB7QLZgmfu+P8BnPzzaPg6yFE8s+u/AXD8hSjdIItA5kEI6CgiP4EeQ2UIuAbR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ass:"screen"},[e("div",{staticClass:"parents"},t._l(t.list,(function(i){return e("div",{staticClass:"parents-item",class:{"parents-select":i.id==t.current.id},on:{click:function(e){t.current=i,t.childrenCurrent=t.childrenList[0]}}},[t._v("\n "+t._s(i.title)+"\n ")])})),0),t.show_second?e("div",{staticClass:"children"},t._l(t.childrenList,(function(i){return e("div",{staticClass:"children-item",class:{"children-select":i.id==t.childrenCurrent.id},on:{click:function(e){t.childrenCurrent=i}}},[t._v("\n "+t._s(i.title)+"\n ")])})),0):t._e()])},s=[],a=i("2909"),r={name:"Screen",props:{list:{type:Array},show_second:{type:Boolean,default:!0}},data:function(){return{current:{},childrenCurrent:{}}},watch:{childrenCurrent:{handler:function(){this.$emit("changeCurrent",this.current,this.childrenCurrent)},deep:!0}},computed:{childrenList:function(){return this.current.children?[{id:0,title:"全部"}].concat(Object(a["a"])(this.current.children)):[]}},mounted:function(){this.current=this.list[0],this.childrenCurrent=this.childrenList[0]}},c=r,o=(i("5212"),i("2877")),l=Object(o["a"])(c,n,s,!1,null,"2ec891a6",null);e["a"]=l.exports},a737:function(t,e,i){},a882:function(t,e,i){"use strict";i("6762"),i("2fdb");var n=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(i){return e("div",{staticClass:"report-item"},[e("div",{staticClass:"title"},[t._v(t._s(i.title))]),e("div",{staticClass:"children-box"},t._l(i.children,(function(i){return e("div",{staticClass:"children-item",on:{click:function(e){return t.handleRadio(i)}}},[e("div",{staticClass:"radio",class:{select:t.reportIds.includes(i.id)}},[t.reportIds.includes(i.id)?e("i",{staticClass:"el-icon-check"}):t._e()]),e("div",{staticClass:"label"},[t._v(t._s(i.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()},s=[],a=(i("d25f"),i("57e7"),i("c5f6"),i("f523")),r={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 i={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["i"].userReport(i).then((function(e){var i=e.msg;e.data;t.$message.success(i),t.$emit("visible",!1)}))}}},c=r,o=(i("c0dc"),i("2877")),l=Object(o["a"])(c,n,s,!1,null,"0387d88f",null);e["a"]=l.exports},aa77:function(t,e,i){var n=i("5ca1"),s=i("be13"),a=i("79e5"),r=i("fdef"),c="["+r+"]",o="
",l=RegExp("^"+c+c+"*"),u=RegExp(c+c+"*$"),d=function(t,e,i){var s={},c=a((function(){return!!r[t]()||o[t]()!=o})),l=s[t]=c?e(A):r[t];i&&(s[i]=l),n(n.P+n.F*c,"String",s)},A=d.trim=function(t,e){return t=String(s(t)),1&e&&(t=t.replace(l,"")),2&e&&(t=t.replace(u,"")),t};t.exports=d},b157:function(t,e,i){"use strict";var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sort"},t._l(t.list,(function(i){return e("div",{staticClass:"sort-item",class:{select:t.current==i.type},on:{click:function(e){return t.$emit("changeSort",i.type)}}},[t._v("\n "+t._s(i.label)+"\n ")])})),0)},s=[],a=(i("c5f6"),{name:"Sort",props:{current:{type:Number,default:1},list:{type:Array,default:function(){return[{label:"默认排序",type:1},{label:"按时间升序",type:2},{label:"按时间降序",type:3}]}}}}),r=a,c=(i("55ee"),i("2877")),o=Object(c["a"])(r,n,s,!1,null,"36514e32",null);e["a"]=o.exports},b7f7:function(t,e,i){"use strict";i("a737")},c08c:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAc5JREFUOE+tlD2IFEEQhd9jGuQUwctEd7drUNALLvASESNNNDEyOExVMDM0MdFQU01EDcwOEUQwOcTMxDUQFDRwpGtmFzUUE3/YmZJe9o69vdmbW9gOu7q/flX1qok5L86Zh10BReQgyU4IodskoBHY6XQWSX4keZjk1RDC452gjcA0TR+Z2ZUR5CeAJVX9MQ26I9B7f4bka2BLadZU9dLMwFartZAkyQeSRwE8N7OvJKPSAyTPhRBe1UGnKhSROwBuxEtmdijP8+9pmj4zs4sAvjjnlrMs+zsJrQV6708A6JJ0I+BKnufvvfdvSJ4eQW6p6u3dAJ2IvAWwsnG4qqoLRVG8FJEAQEb7fwaDwXK/38/GodsUikhMM6Y7vq6p6kMR+Q1gz1hgXVXPTwW22+0jsREA9k4A7yZJcr8sy2JbiuRqCOHpxv4WhSISLXK2pnsVgNiAhZrYN+fcUpZlv2JsE+i9v0yydgrM7GZZlk+cc58B7J+Emtm9PM+vbwLjrAL4BGBximEfRC8CeDFRw+FxMyurqjrV6/XeDRWKyBqA1abBb4h3VfVkBEabxPzr6jPLG/9Udd9QYZqmx8zs+Cy3a+pYRPM3/jazPjJ34H91lZ8Z+QbsBQAAAABJRU5ErkJggg=="},c0dc:function(t,e,i){"use strict";i("4b8d")},c5f6:function(t,e,i){"use strict";var n=i("7726"),s=i("69a8"),a=i("2d95"),r=i("5dbc"),c=i("6a99"),o=i("79e5"),l=i("9093").f,u=i("11e9").f,d=i("86cc").f,A=i("aa77").trim,f="Number",m=n[f],g=m,h=m.prototype,p=a(i("2aeb")(h))==f,v="trim"in String.prototype,C=function(t){var e=c(t,!1);if("string"==typeof e&&e.length>2){e=v?e.trim():A(e,3);var i,n,s,a=e.charCodeAt(0);if(43===a||45===a){if(i=e.charCodeAt(2),88===i||120===i)return NaN}else if(48===a){switch(e.charCodeAt(1)){case 66:case 98:n=2,s=49;break;case 79:case 111:n=8,s=55;break;default:return+e}for(var r,o=e.slice(2),l=0,u=o.length;l<u;l++)if(r=o.charCodeAt(l),r<48||r>s)return NaN;return parseInt(o,n)}}return+e};if(!m(" 0o1")||!m("0b1")||m("+0x1")){m=function(t){var e=arguments.length<1?0:t,i=this;return i instanceof m&&(p?o((function(){h.valueOf.call(i)})):a(i)!=f)?r(new g(C(e)),i,m):C(e)};for(var b,N=i("9e1e")?l(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),R=0;N.length>R;R++)s(g,b=N[R])&&!s(m,b)&&d(m,b,u(g,b));m.prototype=h,h.constructor=m,i("2aba")(n,f,m)}},cfa8:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAcCAYAAAAuh5ywAAAAAXNSR0IArs4c6QAABl9JREFUWEfVWHtQVFUY/51lHzwEpMTJclKTfOWjdFQeMj5AHgY2WsA0NSKKkuaD8tFgIoo66GgNOm06pdgKwhRh5jMnUlOsDcFBoyFJRg0UB0wERRBt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AAACNiR0NAAAAAXNSR0IArs4c6QAAAX9JREFUOE/N1D1Lw0AYB/D/kzspLuLimFxTM/kyCX4FJ0FFKggKTuKsqw51cHZyUVAEP0CdBScncVFRIeUuWSw6KYiFWE8iRtL0hat08Mbj4ZfnnpcQenyoxx66BS0An52SMAZt2x5mjJ1xzud8379qhxqDjuOMWJZ1C+CdiFallMet0L+AibOrlNoA8JGGTcA+IcQ4EU0C2MtkdV6r1YrVavU5uW8LFgoFp16vbxLRPIDBDo0IOeezSV1bgkKIRSLaB9BvOFZxXReklKdNYD6fXwFwAHQ3Ulrr7SAIthpA27bHGGOXAHKGmcVh8VyWlFIlALoBdF23rLWeTmESwJ3W+o2IBgBMZT70QkTLUspyU1M8zxuKouiRiBiAE8bYTqVSuUkCU3OYXN0T0YyU8qHl2LiuW9RaHwFYU0odZp+cAcuc8yXf91+zcb9PFkKsW5b11G4DfsDrdL06borjOKNhGMar1fJ4npeLomgiCIKLnvwcTLtusnqm1nfc/we/AH8+exXAe0vBAAAAAElFTkSuQmCC"},d565:function(t,e,i){},e8d6:function(t,e,i){"use strict";i.r(e);var n=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")],1)},s=[],a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"content"},[e("div",{staticClass:"tab"},[e("ContentTab",{attrs:{current:t.current,showRefresh:!t.current},on:{changeTab:t.changeTab,handleRefresh:t.handleRefresh}})],1),0==t.current?e("div",{staticClass:"list",style:{opacity:0==t.current?1:0}},t._l(t.recommendList,(function(i){return e("div",{staticClass:"card-item",on:{click:function(e){return t.toDetail(i.article_id,i.id)}}},[i.images_arr.length<3?e("ImageTextRecommendCard",{staticStyle:{width:"100%"},attrs:{info:i},on:{handleLike:function(e){return t.handleLike(i)},handleCollect:function(e){return t.handleCollect(i)},handleForward:function(e){return t.handleForward(i)}}}):e("ImageTextRecommendImageCard",{staticStyle:{width:"100%"},attrs:{info:i}})],1)})),0):t._e(),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"},[0==t.current&&t.finished?e("el-empty",{attrs:{description:"没有更多数据"}}):t._e()],1),1==t.current?e("div",{staticClass:"all",style:{opacity:1==t.current?1:0}},[e("div",{staticClass:"screen"},[t.cateTree.length?e("Screen",{attrs:{list:t.cateTree},on:{changeCurrent:t.changeCurrent}}):t._e()],1),e("div",{staticClass:"sort"},[e("Sort",{attrs:{current:t.listParams.sort_type},on:{changeSort:t.changeSort}})],1),t._l(t.allList,(function(i){return e("div",{staticClass:"card-item",on:{click:function(e){return t.toDetail(i.id)}}},[e("ImageTextAllCard",{attrs:{info:i}})],1)}))],2):t._e()])},r=[],c=(i("c5f6"),i("2909")),o=i("f523"),l=i("010d"),u=i("a049"),d=i("b157"),A=function(){var t=this,e=t._self._c;return e("div",{staticClass:"image-text-recommend-card"},[e("div",{staticClass:"content"},[e("div",{staticClass:"info"},[e("img",{staticClass:"app-logo",attrs:{src:t.info.app_logo,alt:""}}),e("div",{staticClass:"app-name"},[t._v(t._s(t.info.app_name))]),e("div",{staticClass:"time"},[t._v(t._s(t.info.release_time))]),t.info.is_vip?e("img",{staticClass:"vip",attrs:{src:i("cfa8")}}):t._e()]),e("div",{staticClass:"title"},[t._v(t._s(t.info.title))]),e("div",{staticClass:"desc"},[t._v(t._s(t.info.desc))]),e("div",{staticClass:"control"},[e("div",{staticClass:"item",on:{click:function(e){return e.stopPropagation(),t.$emit("handleLike")}}},[t.info.is_like?e("img",{attrs:{src:i("0bce"),alt:""}}):e("img",{attrs:{src:i("e9d9"),alt:""}}),e("span",{style:{color:t.info.is_like?"#2A63F3":"#202020"}},[t._v(t._s(t.info.like_num))])]),e("div",{staticClass:"item",on:{click:function(e){return e.stopPropagation(),t.$emit("handleCollect")}}},[t.info.is_collect?e("img",{attrs:{src:i("1a26"),alt:""}}):e("img",{attrs:{src:i("f71a"),alt:""}}),e("span",{style:{color:t.info.is_collect?"#2A63F3":"#202020"}},[t._v(t._s(t.info.collect_num))])]),e("el-popover",{attrs:{placement:"bottom-start"},model:{value:t.forwardVisible,callback:function(e){t.forwardVisible=e},expression:"forwardVisible"}},[e("div",{staticClass:"item",attrs:{slot:"reference"},on:{click:function(t){t.stopPropagation()}},slot:"reference"},[e("img",{attrs:{src:i("d0c6"),alt:""}}),e("span",[t._v("转发")])]),e("div",{staticClass:"forward"},[e("div",{staticClass:"content"},[t._v(t._s(t.forword_url))]),e("div",{staticClass:"btn",on:{click:function(e){return t.handleCopy(t.forword_url)}}},[t._v("复制链接")])])]),e("div",{staticClass:"item",on:{click:function(e){return e.stopPropagation(),t.showReport.apply(null,arguments)}}},[e("img",{attrs:{src:i("c08c"),alt:""}}),e("span",[t._v("举报")])])],1)]),e("img",{staticClass:"cover",attrs:{src:t.info.cover,alt:""}}),e("Report",{attrs:{type:5,info:t.info},model:{value:t.reportVisible,callback:function(e){t.reportVisible=e},expression:"reportVisible"}})],1)},f=[],m=i("a49b"),g=i("a882"),h={name:"ImageTextRecommendCard",components:{Report:g["a"]},props:{info:{type:Object,default:function(t){}}},data:function(){return{forwardVisible:!1,reportVisible:!1}},computed:{forword_url:function(){return"".concat(m["c"],"/image-text-details?id=").concat(this.info.article_id,"&item_id=").concat(this.info.id)}},methods:{handleCopy:function(t){var e=this;navigator.clipboard.writeText(t).then((function(){e.$message.success("复制成功"),e.$emit("handleForward")}))},showReport:function(){if(!this.$store.state.userInfo)return this.$store.state.is_login.show=!0;this.reportVisible=!0}}},p=h,v=(i("48f0"),i("2877")),C=Object(v["a"])(p,A,f,!1,null,"2db13400",null),b=C.exports,N=function(){var t=this,e=t._self._c;return e("div",{staticClass:"image-text-recommend-image-card"},[e("div",{staticClass:"header"},[e("div",{staticClass:"title"},[t._v(t._s(t.info.title))]),e("div",{staticClass:"info"},[e("img",{staticClass:"app-logo",attrs:{src:t.info.app_logo,alt:""}}),e("div",{staticClass:"app-name"},[t._v(t._s(t.info.app_name))]),e("div",{staticClass:"time"},[t._v(t._s(t.info.release_time))]),t.info.is_vip?e("img",{staticClass:"vip",attrs:{src:i("cfa8")}}):t._e()])]),t.info.images_arr&&!t.info.images_arr.length<2?e("div",{staticClass:"cover-box"},t._l(t.info.images_arr.slice(0,3),(function(t){return e("img",{staticClass:"cover",attrs:{src:t,alt:""}})})),0):t._e()])},R=[],x={name:"ImageTextRecommendImageCard",props:{info:{type:Object}}},E=x,w=(i("083b"),Object(v["a"])(E,N,R,!1,null,"5814f60d",null)),y=w.exports,O=function(){var t=this,e=t._self._c;return e("div",{staticClass:"card-box"},[e("div",{staticClass:"left"},[e("img",{staticClass:"cover",attrs:{src:t.info.cover}}),e("div",{staticClass:"type"},[t._v("系列")])]),e("div",{staticClass:"right"},[e("div",{staticClass:"header"},[e("div",{staticClass:"title"},[t._v("\n "+t._s(t.info.title)+"\n ")]),e("div",{staticClass:"read"},[t._v("\n "+t._s(t.info.read_num||"--")+" 观看·"+t._s(t.info.create_at||"--")+"\n ")])]),e("div",{staticClass:"info"},[e("div",{staticClass:"left"},[e("img",{staticClass:"icon",attrs:{src:i("97bc"),alt:""}}),t.info.recently_title?e("div",{staticClass:"last"},[t._v("\n 上次看到:"+t._s(t.info.recently_title)+"\n ")]):e("div",{staticClass:"last"},[t._v("尚未观看")])]),e("div",{staticClass:"num"},[t._v(t._s(t.info.item_list.length)+"集")])])])])},B=[],I={name:"ImageTextCallCard",props:{info:{type:Object,default:function(t){}}}},U=I,_=(i("6493"),Object(v["a"])(U,O,B,!1,null,"0da23459",null)),S=_.exports,V={name:"Content",components:{ContentTab:l["a"],ImageTextRecommendCard:b,ImageTextRecommendImageCard:y,Screen:u["a"],Sort:d["a"],ImageTextAllCard:S},data:function(){return{current:0,recommendParams:{page:1,page_num:20},recommendList:[],loading:!1,finished:!1,cateTree:[],listParams:{first_classify:0,second_classify:0,page:1,page_num:20,sort_type:1},allList:[]}},mounted:function(){this.getRecommendList(),this.getCateTree(),this.$store.state.userInfo&&this.$store.dispatch("getMarkNum","imageText")},methods:{changeTab:function(t){this.current=t,this.loading=!1,this.finished=!1,this.recommendParams.page=1,this.listParams.page=1,this.recommendList=[],this.allList=[],0==t?this.getRecommendList():this.getArticleList()},handleRefresh:function(){this.loading=!1,this.finished=!1,this.recommendParams.page=1,this.getRecommendList()},changeCurrent:function(t,e){this.listParams.first_classify=t.id,this.listParams.second_classify=e.id,this.listParams.page=1,this.loading=!1,this.finished=!1,this.getArticleList()},changeSort:function(t){this.listParams.sort_type=t,this.listParams.page=1,this.loading=!1,this.finished=!1,this.getArticleList()},TouchBottom:function(){this.finished||this.loading||(0==this.current?this.getRecommendList():this.getArticleList())},getRecommendList:function(){var t=this;this.loading=!0;var e="";1==this.recommendParams.page&&(e=this.$loading({lock:!0,text:"Loading",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.7)"})),o["a"].getRecommendList(this.recommendParams).then((function(i){var n=i.data,s=n.list;e&&e.close(),t.recommendList=1===t.recommendParams.page?s:[].concat(Object(c["a"])(t.recommendList),Object(c["a"])(s)),s.length<t.recommendParams.page_num||t.recommendList.length==n.total_count?t.finished=!0:t.recommendParams.page++})).catch((function(){t.finished=!0})).finally((function(){t.loading=!1}))},getCateTree:function(){var t=this;o["a"].getArticleCate({type:2}).then((function(e){var i=e.data;t.cateTree=i.list}))},getArticleList:function(){var t=this,e="";1==this.listParams.page&&(e=this.$loading({lock:!0,text:"Loading",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.7)"})),o["a"].getArticleList(this.listParams).then((function(i){var n=i.data,s=n.list;e&&e.close(),t.allList=1===t.listParams.page?s:[].concat(Object(c["a"])(t.allList),Object(c["a"])(s)),s.length<t.listParams.page_num?t.finished=!0:t.listParams.page++}))},handleLike:function(t){var e=this;o["a"].articleTags({item_id:t.id}).then((function(i){var n=i.data,s=i.msg;t.is_like=n.tags,t.like_num=n.tags?Number(t.like_num)+1:Number(t.like_num)-1,e.$message.success(s)}))},handleCollect:function(t){var e=this;o["a"].articleCollect({article_id:t.article_id,item_id:t.id}).then((function(i){var n=i.data,s=i.msg;t.is_collect=n.status,t.collect_num=n.status?Number(t.collect_num)+1:Number(t.collect_num)-1,e.$message.success(s)}))},handleForward:function(t){o["a"].articleTransmit({item_id:t.id})},toDetail:function(t,e){this.current?this.$router.push({path:"/image-text-collection",query:{id:t}}):this.$router.push({path:"/image-text-details",query:{id:t,item_id:e}})}}},k=V,L=(i("f022"),Object(v["a"])(k,a,r,!1,null,"136ef41f",null)),P=L.exports,D=function(){var t=this,e=t._self._c;return e("div",{staticClass:"child"},[e("div",{staticClass:"navbar"},[e("ChildNavbar",{attrs:{num:t.imageTextMarkNum,menu:t.menu}})],1),e("div",{staticClass:"content"},[e("router-view")],1)])},F=[],Q=(i("1c01"),i("58b2"),i("8e6e"),i("f3e2"),i("d25f"),i("ac6a"),i("456d"),i("ade3")),Y=i("69e6"),M=i("2f62");function j(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function z(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?j(Object(i),!0).forEach((function(e){Object(Q["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):j(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var K={name:"childContent",components:{ChildNavbar:Y["a"]},props:{menu:{type:Array}},data:function(){return{}},computed:z({},Object(M["b"])({imageTextMarkNum:function(t){return t.mark_num.imageTextMarkNum}})),mounted:function(){this.$store.dispatch("getMarkNum","imageText")}},T=K,X=(i("6343"),Object(v["a"])(T,D,F,!1,null,"f42d43a0",null)),Z=X.exports,J={components:{Content:P,ChildContent:Z},data:function(){return{menu:[{title:"评论我的",link:"/image-text/comment-on-my",numKey:"comment_num"},{title:"回复我的",link:"/image-text/reply-on-my",numKey:"reply_num"},{link:"/image-text/like-on-my",title:"点赞我的",numKey:"praise_num",shape:"round"},{title:"我的订阅",link:"/image-text/my-chasingFun",numKey:"follow_num"},"line",{title:"我的评论",link:"/image-text/my-comment"},{title:"我的回复",link:"/image-text/my-reply"},{title:"我的点赞",link:"/image-text/my-like"},{title:"我的发布",link:"/image-text/my-release"},{title:"我的已购",link:"/image-text/my-buy"},{title:"我的收藏",link:"/image-text/my-collect"},{title:"学习历史",link:"/image-text/study-history"}]}}},G=J,W=(i("0ec9"),Object(v["a"])(G,n,s,!1,null,"20bbea80",null));e["default"]=W.exports},e9d9:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAW9JREFUOE+t1L9Kw1AUBvDv3ERXF12MNDcUxEFRZycpOovYxcVB8BHEVxDxAVzEwVEUnIuDg6OCf5DSmtxDXepuQWw9EtASY9q0IRlPzvkR7ndyCTk/NIjnOM6UZVkLtm1Xfd+v9ZtJBT3PK4vIKYBRAJ9EtBEEwWUvNA20Xdc1ROREgBtjzFImsFAolJRSleiwiDwy81wmUGt9BGAnNnxhjFkfGiwWi7OdTucWwEhseM8Ysz8oaHmeNy4iywAOAUzGB4lo1bKs67Ber9e/wqCiPd1QtNZrAE4AjA2ySj89AuCOiDaDIKiGtSj4DGBmCKzbKiIVZl6Jg28AJrKAAGrGmOk8wWNjzHZuoIiUmPkqF1BEXpnZBRAm/ieUTGcoIgfMvPt79tGUs4CilJr3ff8hCbwH0PMfTUpfRM6YuZy42LFrKm17hIjOW63WVrPZfE8Ew6LWWovIolLK7iN+tNvtp0aj8ZLUk3Yfpn3pv/ffp3qLFadXnvYAAAAASUVORK5CYII="},f022:function(t,e,i){"use strict";i("d565")},f03f:function(t,e,i){},f71a:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAeNJREFUOE+t1DGIE0EUBuD/zZCAOYsT9AIxl8wmhVrZWNkcnI0iiIWiFjZ2Fl5noaCFghZ2Z2FnY6FyFiKINgrXWNnYpUnmbYyBnIKKGiFh5snG5Fhz3u4a3GJhmf99vH0zu4T/fFEWr1wu74hynU7nZ1o+FQyC4KCIrEcQES1Za98loamgMeYhgLNj5BEzn5sZrNfrC8659wDyY2SgtV5sNpsb26GJHRpjrgC4NVV8lZlvZwHJGFNUSu1xzu0mogUAdwAsThVHHV8WkQ3v/Uet9Sdm7gGQ0ZyjW6VS2aWUegNgf9oubrPe8N4fbrfbn0egMeYogBczYpOyY8z8cgSWSqVCLpdbJ6JDs6Ai8nY4HC51u93+5qYUi8W5QqHwWESO/wtKRM/7/f6ZXq/3Y3OGMUAbY+4CuJgRvcfMlwC4Sf6vx8YY0wCwLwVtMPOB6cwWMJpnPp//AiCXAg4Hg8F8NLd4bgtYrVaXiehVllcWkSNhGL5OBIMguCYiN+IhEfn++99Ac38UE1231t5M63CNiE7FQk+11ivRs3NuFcDJyZqIPAnD8HRah+e99/eJ6AMRrVhrn8ULgiA4ISKrIrJXKXXBWvsgERx/OfPM/C1+HKZmqmu12s5Wq/U1dZezbEZS5hfQVqoV63cM0wAAAABJRU5ErkJggg=="},fdef:function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"}}]);
- //# sourceMappingURL=chunk-7030e0ca.1ffe134b.js.map
|