require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["plugin/pabonus/index"],{"0725":function(t,n,e){},1880:function(t,n,e){"use strict";e.r(n);var o=e("f2ec"),a=e("f9ea");for(var i in a)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(i);e("ef4c");var u=e("828b"),c=Object(u["a"])(a["default"],o["b"],o["c"],!1,null,"e34dbf7e",null,!1,o["a"],void 0);n["default"]=c.exports},"951b":function(t,n,e){"use strict";var o=e("47a9");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=o(e("af34")),i={data:function(){return{page:1,status:"loadmore",projectList:[]}},onLoad:function(){this.fetchProjects()},onReachBottom:function(){this.fetchProjects()},methods:{fetchProjects:function(){var t=this;"loading"!=this.status&&(this.status="loading",this.$util.get("pabonus/goods/getList",{page:this.page}).then((function(n){t.status="loadmore",1==t.page&&(t.projectList=[]),1==n.code&&(t.projectList=[].concat((0,a.default)(t.projectList),(0,a.default)(n.data.list)),t.page++),n.data.list.length<10&&(t.status="nomore")})).catch((function(n){1==t.page&&(t.projectList=[]),t.status="loadmore"})))},formatStatus:function(t){return{running:"进行中",finished:"已结束",pending:"未开始"}[t]||"未知"},goDetail:function(t){this.$util.jump("/plugin/pabonus/detail?id=".concat(t.id))},goLog:function(t){this.$util.jump("/plugin/pabonus/log?id=".concat(t.id))},goShareholder:function(t){this.$util.jump("/plugin/pabonus/shareholder?id=".concat(t.id))}}};n.default=i},ef4c:function(t,n,e){"use strict";var o=e("0725"),a=e.n(o);a.a},f2ec:function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return i})),e.d(n,"a",(function(){return o}));var o={uAvatar:function(){return Promise.all([e.e("common/vendor"),e.e("uni_modules/uview-ui/components/u-avatar/u-avatar")]).then(e.bind(null,"1350"))},uLoadmore:function(){return Promise.all([e.e("common/vendor"),e.e("uni_modules/uview-ui/components/u-loadmore/u-loadmore")]).then(e.bind(null,"4c80"))}},a=function(){var t=this.$createElement,n=(this._self._c,this.projectList.length);this.$mp.data=Object.assign({},{$root:{g0:n}})},i=[]},f9ea:function(t,n,e){"use strict";e.r(n);var o=e("951b"),a=e.n(o);for(var i in o)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(i);n["default"]=a.a},fbcf:function(t,n,e){"use strict";(function(t,n){var o=e("47a9");e("4c1a");o(e("3240"));var a=o(e("1880"));t.__webpack_require_UNI_MP_PLUGIN__=e,n(a.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])}},[["fbcf","common/runtime","common/vendor"]]]);