(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesActivity/search/result"],{2595:function(t,n,e){"use strict";e.r(n);var a=e("3550"),i=e("93d5");for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(o);e("6537");var c=e("828b"),s=Object(c["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);n["default"]=s.exports},"31fd":function(t,n,e){"use strict";(function(t){var a=e("47a9");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=a(e("af34")),o={components:{activityItem:function(){Promise.all([e.e("common/vendor"),e.e("pages/component/activity/index")]).then(function(){return resolve(e("6245"))}.bind(null,e)).catch(e.oe)}},data:function(){return{loadEnd:!1,keyword:"",page:1,limit:20,hasMore:!1,dataList:[]}},onLoad:function(n){var e=this;this.keyword=decodeURIComponent(n.keyword),t.showLoading({title:"加载中"}),this.getList((function(){t.hideLoading(),e.loadEnd=!0}))},onReachBottom:function(){this.hasMore&&(this.page++,this.getList())},methods:{getList:function(n){var e=this;this.$util.request("activity.list",{page:this.page,limit:this.limit,keywords:this.keyword}).then((function(a){if(n&&n(),1==a.code){var o=a.data.data;e.hasMore=e.page<a.data.total/e.limit,e.dataList=1==e.page?o:[].concat((0,i.default)(e.dataList),(0,i.default)(o))}else t.showToast({title:a.msg,icon:"none"})})).catch((function(t){console.error("获取活动列表 ",t)}))}}};n.default=o}).call(this,e("df3c")["default"])},3550: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(){}));var a=function(){var t=this.$createElement,n=(this._self._c,this.loadEnd?this.dataList.length:null);this.$mp.data=Object.assign({},{$root:{g0:n}})},i=[]},6537:function(t,n,e){"use strict";var a=e("9425"),i=e.n(a);i.a},"93d5":function(t,n,e){"use strict";e.r(n);var a=e("31fd"),i=e.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(o);n["default"]=i.a},9425:function(t,n,e){},c6d7:function(t,n,e){"use strict";(function(t,n){var a=e("47a9");e("aa6c");a(e("3240"));var i=a(e("2595"));t.__webpack_require_UNI_MP_PLUGIN__=e,n(i.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])}},[["c6d7","common/runtime","common/vendor"]]]);