(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-contents-metas"],{"3ce4":function(t,e,a){"use strict";a("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("d4b5"),a("c223"),a("5c47"),a("a1c1");a("af30");var i={data:function(){return{StatusBar:this.StatusBar,CustomBar:this.CustomBar,NavBar:this.StatusBar+this.CustomBar,AppStyle:this.$store.state.AppStyle,Topic:[],moreText:"加载更多",page:1,isLoading:0}},onPullDownRefresh:function(){},onShow:function(){},onReachBottom:function(){this.loadMore()},onLoad:function(t){this.getTopPic(!1)},methods:{back:function(){uni.navigateBack({delta:1})},loadMore:function(){this.moreText="正在加载中...",0==this.isLoad&&this.getTopPic(!0)},getTopPic:function(t){var e=this,a=e.page;t&&a++,e.$Net.request({url:e.$API.getMetasList(),data:{searchParams:JSON.stringify(e.$API.removeObjectEmptyKey({isrecommend:"1"})),limit:14,order:"order",page:a},header:{"Content-Type":"application/x-www-form-urlencoded"},method:"get",dataType:"json",success:function(a){if(e.isLoading=1,e.isLoad=0,1==a.data.code){var i=a.data.data;if(i.length>0){var n=i;t?(e.page++,e.Topic=e.Topic.concat(n)):e.Topic=n}else e.moreText="没有更多数据了"}},fail:function(t){e.isLoading=1,e.isLoad=0,e.moreText="加载更多"}})},replaceSpecialChar:function(t){return t=t.replace(/&quot;/g,'"'),t=t.replace(/&amp;/g,"&"),t=t.replace(/&lt;/g,"<"),t=t.replace(/&gt;/g,">"),t=t.replace(/&nbsp;/g," "),t},toCategoryContents:function(t,e){uni.navigateTo({url:"/pages/contents/contentlist?title="+t+"&type=meta&id="+e})}}};e.default=i},"82b4":function(t,e,a){"use strict";a.r(e);var i=a("3ce4"),n=a.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(s);e["default"]=n.a},"8f2e":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"userpost",class:t.AppStyle},[i("v-uni-view",{staticClass:"header",style:[{height:t.CustomBar+"px"}]},[i("v-uni-view",{staticClass:"cu-bar bg-white",style:{height:t.CustomBar+"px","padding-top":t.StatusBar+"px"}},[i("v-uni-view",{staticClass:"action",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.back.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"cuIcon-back"})],1),i("v-uni-view",{staticClass:"content text-bold",style:[{top:t.StatusBar+"px"}]},[t._v("全部推荐专题")]),i("v-uni-view",{staticClass:"action"})],1)],1),i("v-uni-view",{style:[{padding:t.NavBar+"px 10px 0px 10px"}]}),i("v-uni-view",{staticClass:"data-box"},[i("v-uni-view",{staticClass:"topic grid col-2"},t._l(t.Topic,(function(e,a){return i("v-uni-view",{key:a,staticClass:"topic-box",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.toCategoryContents(e.name,e.mid)}}},[i("v-uni-view",{staticClass:"topic-main"},[i("v-uni-image",{attrs:{src:e.imgurl,mode:"aspectFill"}}),"tag"==e.type?i("v-uni-view",{staticClass:"topic-text"},[t._v("#"+t._s(t.replaceSpecialChar(e.name))+"#")]):i("v-uni-view",{staticClass:"topic-text"},[t._v(t._s(t.replaceSpecialChar(e.name)))])],1)],1)})),1),t.Topic.length>0?i("v-uni-view",{staticClass:"load-more",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.loadMore.apply(void 0,arguments)}}},[i("v-uni-text",[t._v(t._s(t.moreText))])],1):t._e()],1),0==t.isLoading?i("v-uni-view",{staticClass:"loading"},[i("v-uni-view",{staticClass:"loading-main"},[i("v-uni-image",{attrs:{src:a("f408")}})],1)],1):t._e()],1)},n=[]},dd00:function(t,e,a){"use strict";a.r(e);var i=a("8f2e"),n=a("82b4");for(var s in n)["default"].indexOf(s)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(s);var o=a("828b"),c=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"32f712c6",null,!1,i["a"],void 0);e["default"]=c.exports}}]);