(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/activity/index"],{"6a69":function(e,t,n){"use strict";n.r(t);var i=n("6f34"),u=n.n(i);for(var a in i)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(a);t["default"]=u.a},"6f34":function(e,t,n){"use strict";(function(e){var i=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=i(n("2eee")),a=i(n("448a")),o=i(n("c973")),r=i(n("d730")),s=n("9b1a"),c={data:function(){return{list:[],more:"more",page:0,size:12,type:null}},mounted:function(){this.query()},onLoad:function(e){this.type=e.type},methods:{query:function(){var e=this;return(0,o.default)(u.default.mark((function t(){var n,i,o,c;return u.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.page+=1,e.more="loading",t.next=4,r.default.getActivity({pageNum:e.page,pageSize:e.size,types:e.type});case 4:o=t.sent,c=(new Date).getTime(),null===(n=o.rows)||void 0===n||n.map((function(e){Date.parse(e.endTime);var t=Date.parse(e.regStartTime);return(0==e.status||c<t)&&(e.statusText="未开始"),3!==e.status&&c>t&&(e.statusText="进行中"),3==e.status&&(e.statusText="已结束"),e.image=s.BASE_URL.fileUrl+e.image,e})),(i=e.list).push.apply(i,(0,a.default)(o.rows)),e.more=e.page>=Math.ceil(o.total/e.size)?"noMore":"more";case 9:case"end":return t.stop()}}),t)})))()},btn:function(t){e.navigateTo({url:"/pages/activity/details?activityId=".concat(t.activityId)})}},onReachBottom:function(){"noMore"!=this.more&&(this.more="more",this.query())}};t.default=c}).call(this,n("543d")["default"])},7605:function(e,t,n){"use strict";var i=n("cb88"),u=n.n(i);u.a},afb2:function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i}));var i={uniList:function(){return n.e("uni_modules/uni-list/components/uni-list/uni-list").then(n.bind(null,"8e97"))},uniListItem:function(){return n.e("uni_modules/uni-list/components/uni-list-item/uni-list-item").then(n.bind(null,"984f"))},uniIcons:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(n.bind(null,"0ef2"))},uniLoadMore:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uni-load-more/components/uni-load-more/uni-load-more")]).then(n.bind(null,"f044"))}},u=function(){var e=this.$createElement;this._self._c},a=[]},b0e2:function(e,t,n){"use strict";n.r(t);var i=n("afb2"),u=n("6a69");for(var a in u)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return u[e]}))}(a);n("7605");var o=n("f0c5"),r=Object(o["a"])(u["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);t["default"]=r.exports},cb88:function(e,t,n){},d926:function(e,t,n){"use strict";(function(e,t){var i=n("4ea4");n("8316");i(n("66fd"));var u=i(n("b0e2"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(u.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])}},[["d926","common/runtime","common/vendor"]]]);