(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pageTwo/news/list"],{"3ae8":function(t,e,n){},"3b2d":function(t,e,n){"use strict";n.r(e);var a=n("c1d1"),i=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},7766:function(t,e,n){"use strict";var a=n("3ae8"),i=n.n(a);i.a},c1d1:function(t,e,n){"use strict";(function(t){var a=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a(n("9523")),o=n("26cb");function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}var r={data:function(){return{type:1,page:1,lastPage:1,newsList:[]}},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){(0,i.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},(0,o.mapState)(["InfoList"])),components:{list:function(){n.e("components/newsList").then(function(){return resolve(n("a85c"))}.bind(null,n)).catch(n.oe)}},onLoad:function(e){this.type=e.type,t.setNavigationBarTitle({title:1==this.type?"资讯列表":4==this.type?"活动列表":"党建专栏"}),this.handleInfoList(this.page)},onReachBottom:function(){console.log("this.lastPage",this.lastPage),!this.lastPage||this.page>=this.lastPage?t.showToast({title:"没有更多数据！",icon:"none"}):(this.page++,this.handleInfoList(this.page))},methods:{handleInfoList:function(t,e){var n=this,a=this,i={pageNo:e,pageSize:10},o=1==this.type?a.$model.getinfolist(i):4==this.type?a.$model.getCampaignList(i):a.$model.getPartyList(i);return o.then((function(t){0==t.code&&(a.newsList=n.newsList.concat(t.data.rows),a.lastPage=t.data.totalpage)}))}}};e.default=r}).call(this,n("543d")["default"])},c2da:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var a=function(){var t=this.$createElement,e=(this._self._c,this.newsList.length),n=this.newsList.length;this.$mp.data=Object.assign({},{$root:{g0:e,g1:n}})},i=[]},d15e:function(t,e,n){"use strict";(function(t,e){var a=n("4ea4");n("eaf2");a(n("66fd"));var i=a(n("d69e"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(i.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},d69e:function(t,e,n){"use strict";n.r(e);var a=n("c2da"),i=n("3b2d");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("7766");var s=n("f0c5"),r=Object(s["a"])(i["default"],a["b"],a["c"],!1,null,"57297caf",null,!1,a["a"],void 0);e["default"]=r.exports}},[["d15e","common/runtime","common/vendor"]]]);