(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["plugins/region/bonus/bonus"],{"1c9c":function(t,e,n){"use strict";n.r(e);var i=n("5e97"),o=n.n(i);for(var a in i)"default"!==a&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=o.a},"1d7b":function(t,e,n){"use strict";(function(t){n("2d0a");i(n("66fd"));var e=i(n("7ff2"));function i(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},"1f51":function(t,e,n){},"5e97":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("2f62");function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c={data:function(){return{show:!1,cash_detail:"",setting:{},detail:{}}},computed:a({},(0,i.mapState)({region:function(t){return t.mallConfig.__wxapp_img.region}})),methods:{toCash:function(){t.navigateTo({url:"/plugins/region/cash/cash"})},toDetail:function(){var e=this.cash_detail?this.cash_detail:"";t.navigateTo({url:"/plugins/region/cash-detail/cash-detail?name="+e})},getSetting:function(){var e=this;e.$showLoading({type:"global",text:"加载中..."}),e.$request({url:e.$api.region.setting}).then((function(n){e.getInfo(),0==n.code?e.setting=n.data:t.showToast({title:n.msg,icon:"none",duration:1e3})})).catch((function(n){e.$hideLoading(),t.hideLoading()}))},getInfo:function(){var e=this;e.$request({url:e.$api.region.info}).then((function(n){e.$hideLoading(),0==n.code?e.detail=n.data:t.showToast({title:n.msg,icon:"none",duration:1e3})})).catch((function(t){e.$hideLoading()}))}},onLoad:function(e){this.$commonLoad.onload(e),this.getSetting(),e.name&&t.setNavigationBarTitle({title:e.name}),e.cash_detail&&(this.cash_detail=e.cash_detail)}};e.default=c}).call(this,n("543d")["default"])},"7c35":function(t,e,n){"use strict";var i=n("1f51"),o=n.n(i);o.a},"7ff2":function(t,e,n){"use strict";n.r(e);var i=n("9d65"),o=n("1c9c");for(var a in o)"default"!==a&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("7c35");var r,c=n("f0c5"),u=Object(c["a"])(o["default"],i["b"],i["c"],!1,null,"f896f746",null,!1,i["a"],r);e["default"]=u.exports},"9d65":function(t,e,n){"use strict";var i;n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}));var o=function(){var t=this,e=t.$createElement;t._self._c;t._isMounted||(t.e0=function(e){t.show=!t.show})},a=[]}},[["1d7b","common/runtime","common/vendor"]]]);