(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/menber"],{"12eb":function(e,t,n){"use strict";n.r(t);var r=n("bf44"),o=n.n(r);for(var c in r)"default"!==c&&function(e){n.d(t,e,(function(){return r[e]}))}(c);t["default"]=o.a},bd8f:function(e,t,n){"use strict";var r;n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"a",(function(){return r}));var o=function(){var e=this,t=e.$createElement,n=(e._self._c,e.__map(e.list,(function(t,n){var r=e.__get_orig(t),o=(1*t.price/(1*t.time)).toFixed(2);return{$orig:r,g0:o}})));e.$mp.data=Object.assign({},{$root:{l0:n}})},c=[]},bf44:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("c3d8"),o=n("26cb");function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a={data:function(){return{currentIndex:0,checked:!0,list:[],loading:!1,chooosId:""}},computed:i({},(0,o.mapState)("user",["userInfo","orderInfo","hasLogin"])),onLoad:function(){},onShow:function(){this.getMenberCard()},onReachBottom:function(){},onReady:function(){},methods:{navClick:function(e,t){this.currentIndex=e,this.chooosId=t.id},Getcheckbox:function(){var e=this;e.checked=!e.checked},TOprivacy:function(){},zf:function(){var e=this;if(!e.loading){if(!e.checked)return e.$api.msg("请阅读并同意会员用户协议");e.loading=!0,(0,r.buyMenber)({char_id:e.chooosId,type:0}).then((function(e){console.log(e)})).catch((function(t){e.loading=!1}))}},getMenberCard:function(){var e=this;(0,r.getMenberCard)().then((function(t){console.log(t),e.list=t.data,e.chooosId=t.data[0].id}))}}};t.default=a},c7be:function(e,t,n){"use strict";(function(e){n("7154");r(n("66fd"));var t=r(n("d6d8"));function r(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=n,e(t.default)}).call(this,n("543d")["createPage"])},c7e0:function(e,t,n){"use strict";var r=n("c989"),o=n.n(r);o.a},c989:function(e,t,n){},d6d8:function(e,t,n){"use strict";n.r(t);var r=n("bd8f"),o=n("12eb");for(var c in o)"default"!==c&&function(e){n.d(t,e,(function(){return o[e]}))}(c);n("c7e0");var i,u=n("f0c5"),a=Object(u["a"])(o["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],i);t["default"]=a.exports}},[["c7be","common/runtime","common/vendor"]]]);