(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pageA-pages-common-article-cate"],{"2d9e":function(t,e,a){"use strict";a.r(e);var i=a("5e95"),n=a("c2d3");for(var s in n)"default"!==s&&function(t){a.d(e,t,(function(){return n[t]}))}(s);var r,c=a("f0c5"),o=Object(c["a"])(n["default"],i["b"],i["c"],!1,null,"df74165a",null,!1,i["a"],r);e["default"]=o.exports},"5e95":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return s})),a.d(e,"a",(function(){return i}));var i={mediaNews:a("17ed").default,uniLoadMore:a("7711").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"bottom-placeholder"},[t._l(t.articleList,(function(e,i){return a("media-news",{key:i,attrs:{options:e},on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.XYBase.openPage({common:!0,url:"article/content?id="+e.id})}}})})),a("uni-load-more",{staticClass:"pb-3",attrs:{status:t.search.status,iconSize:24}})],2)},s=[]},"6ed2":function(t,e,a){"use strict";a("ac1f"),a("841c"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={data:function(){return{type:"",search:{page:1,status:"more"},articleList:[]}},onLoad:function(t){switch(this.type=t.type,this.type){case"novice":uni.setNavigationBarTitle({title:"新手指南"});break;case"article_notice":uni.setNavigationBarTitle({title:"公告"});break}this.initHtml()},onReachBottom:function(){"loading"!=this.search.status&&"noMore"!=this.search.status&&(this.search.page++,this.initHtml())},methods:{initHtml:function(){var t=this;"loading"!=this.search.status&&"noMore"!=this.search.status&&(this.search.status="loading",this.XYBase.get({url:"article/list/getAliasSelect/"+this.type,data:this.search},(function(e){if(e)if(0===e.code){e.data.current_page<e.data.last_page?t.search.status="more":t.search.status="noMore";for(var a=0;a<e.data.data.length;a++)t.articleList.push(e.data.data[a])}else t.search.status="noMore"})))},openArticle:function(){}}};e.default=i},c2d3:function(t,e,a){"use strict";a.r(e);var i=a("6ed2"),n=a.n(i);for(var s in i)"default"!==s&&function(t){a.d(e,t,(function(){return i[t]}))}(s);e["default"]=n.a}}]);