(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pageTwo/news/list"],{1562:function(t,e,n){"use strict";(function(t,e){var o=n("47a9");n("e92e");o(n("3240"));var a=o(n("2a67"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(a.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},"2a67":function(t,e,n){"use strict";n.r(e);var o=n("72bc"),a=n("e51f");for(var i in a)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(i);n("6a50");var s=n("828b"),r=Object(s["a"])(a["default"],o["b"],o["c"],!1,null,"88d2b54e",null,!1,o["a"],void 0);e["default"]=r.exports},"2ade":function(t,e,n){"use strict";(function(t){var o=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=o(n("7ca3")),i=n("8f59");function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}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,a.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,i.mapState)(["InfoList"])),components:{list:function(){n.e("components/newsList").then(function(){return resolve(n("fae6"))}.bind(null,n)).catch(n.oe)}},onLoad:function(t){this.page=1,this.type=t.type,console.log("options",t),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){var e=this,n=this,o={pageNo:t,pageSize:10,searchValue:""},a=1==this.type?n.$model.getinfolist(o):4==this.type?n.$model.getGongyiList(o):n.$model.getPartyList(o);return a.then((function(t){0==t.code&&(n.newsList=e.newsList.concat(t.data.rows),n.lastPage=t.data.totalpage)}))},handleSearchId:function(t,e){console.log("返回",t,e),this.newsList.forEach((function(n){n.id==t&&(n.browsecnt=e)}))}}};e.default=r}).call(this,n("df3c")["default"])},"6a50":function(t,e,n){"use strict";var o=n("b5e6"),a=n.n(o);a.a},"72bc":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var o=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}})},a=[]},b5e6:function(t,e,n){},e51f:function(t,e,n){"use strict";n.r(e);var o=n("2ade"),a=n.n(o);for(var i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i);e["default"]=a.a}},[["1562","common/runtime","common/vendor"]]]);