(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesActivity/verification/details"],{"10e7":function(t,e,i){},"609e":function(t,e,i){"use strict";i.r(e);var n=i("e4d9"),a=i("cfa5");for(var c in a)["default"].indexOf(c)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(c);i("e335");var r=i("828b"),o=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=o.exports},"746f":function(t,e,i){"use strict";(function(t,e){var n=i("47a9");i("aa6c");n(i("3240"));var a=n(i("609e"));t.__webpack_require_UNI_MP_PLUGIN__=i,e(a.default)}).call(this,i("3223")["default"],i("df3c")["createPage"])},aa40:function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("af34")),c=n(i("7ca3")),r=i("8f59");function o(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}var s={data:function(){return{loadEnd:!1,page:1,limit:20,hasMore:!1,activityId:null,selectScreen:2,memberList:[]}},computed:function(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?o(Object(i),!0).forEach((function(e){(0,c.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):o(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}({},(0,r.mapState)({themeColor:function(t){return t.app.themeColor}})),onLoad:function(e){var i=this;t.showLoading({title:"加载中"}),this.activityId=e.id,this.getMemberList((function(){t.hideLoading(),i.loadEnd=!0}))},onReachBottom:function(){this.hasMore&&(this.page++,this.getMemberList())},methods:{getMemberList:function(e){var i=this;this.$util.request("activity.verifyMemberList",{page:this.page,limit:this.limit,activity_id:this.activityId,is_sign_in:this.selectScreen}).then((function(n){if(e&&e(),1==n.code){var c=n.data.data;i.hasMore=i.page<n.data.total/i.limit,i.memberList=1==i.page?c:[].concat((0,a.default)(i.memberList),(0,a.default)(c))}else t.showToast({title:n.msg,icon:"none"})})).catch((function(t){console.error("获取活动列表 ",t)}))},changeScreen:function(t){this.selectScreen=t,this.page=1,this.getMemberList()},handleScan:function(){var e=this;t.scanCode({success:function(i){var n=JSON.parse(i.result);e.$util.request("activity.verifying",{activity_id:e.activityId,wechat_id:n.wechatId}).then((function(i){1==i.code?(t.showToast({icon:"success",title:"核销成功"}),e.page=1,e.selectScreen=1,e.getMemberList()):t.showToast({title:i.msg,icon:"none"})})).catch((function(t){console.error("核销活动",t)}))}})}}};e.default=s}).call(this,i("df3c")["default"])},cfa5:function(t,e,i){"use strict";i.r(e);var n=i("aa40"),a=i.n(n);for(var c in n)["default"].indexOf(c)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(c);e["default"]=a.a},e335:function(t,e,i){"use strict";var n=i("10e7"),a=i.n(n);a.a},e4d9:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=(this._self._c,this.loadEnd?this.memberList.length:null);this.$mp.data=Object.assign({},{$root:{g0:e}})},a=[]}},[["746f","common/runtime","common/vendor"]]]);