1 line
2.9 KiB
JavaScript
1 line
2.9 KiB
JavaScript
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["activity/market/checkin"],{3587:function(t,e,n){"use strict";(function(t){var a=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=a(n("7ca3")),r=a(n("be2d")),i=n("8f59");function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function u(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?c(Object(n),!0).forEach((function(e){(0,o.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var f={data:function(){return{isPage:!1,Info:[],EventId:"",activityagenda:[]}},components:{dayCountdown:function(){n.e("components/day-countdown").then(function(){return resolve(n("7e3d"))}.bind(null,n)).catch(n.oe)}},computed:(0,i.mapState)(["Config","StateCode","notice","plantformInfo","shopInfo","userInfo","hasLogin"]),onLoad:function(e){t.setNavigationBarTitle({title:this.__("活动签到")}),this.initData()},methods:u(u({},(0,i.mapMutations)(["login","logout","getPlantformInfo","forceUserInfo","getUserInfo"])),{},{initData:function(){var t={EventId:this.EventId},e=this;e.$.request(r.default.makeUrl(activityapi.EventCheckIn,t),(function(t){null!=t.Info&&0==t.Code?(e.setData({isPage:!0,Info:t.Info}),r.default.isNull(t.Info.AgendaPlan)||WxParse.wxParse("activityagenda","html",t.Info.AgendaPlan,e)):(r.default.alert(e.__("签到失败!")),e.setData({isPage:!1}))}))}})};e.default=f}).call(this,n("df3c")["default"])},"42b0d":function(t,e,n){"use strict";n.r(e);var a=n("5d8e"),o=n("ab07");for(var r in o)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(r);n("ff92");var i=n("828b"),c=Object(i["a"])(o["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);e["default"]=c.exports},"5d8e":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,n=(t._self._c,t.isPage?t.__("签到成功!"):null),a=t.isPage?t.__("签到时间"):null,o=t.isPage&&null!=t.Info.AgendaPlan?t.__("活动规则"):null;t.$mp.data=Object.assign({},{$root:{m0:n,m1:a,m2:o}})},o=[]},ab07:function(t,e,n){"use strict";n.r(e);var a=n("3587"),o=n.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(r);e["default"]=o.a},d8db:function(t,e,n){t.exports={theme_bg:"#f30213"}},e842:function(t,e,n){"use strict";(function(t,e){var a=n("47a9");n("90c2");a(n("3240"));var o=a(n("42b0d"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(o.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},ff92:function(t,e,n){"use strict";var a=n("d8db"),o=n.n(a);o.a}},[["e842","common/runtime","common/vendor"]]]); |