(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/annex/vip_paid_active/index"],{"37f3":function(e,t,n){"use strict";(function(e){var i=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n("92f9"),c=n("769c"),r=i(n("1844")),o={data:function(){return{account:"",password:"",showActive:!1,userInfo:JSON.parse(r.default.get(c.USER_INFO)),pageReady:!1,isFeatureClosed:!1}},onLoad:function(){this.checkPaidMemberFeature()},methods:{checkPaidMemberFeature:function(){var e=this;(0,a.memberCard)().then((function(){e.pageReady=!0})).catch((function(t){-1===String(t).indexOf("付费会员功能已关闭")?(e.pageReady=!0,e.$util.Tips({title:t})):e.redirectFeatureClosed()}))},redirectFeatureClosed:function(){this.isFeatureClosed||(this.isFeatureClosed=!0,e.showToast({title:"付费会员功能已关闭",icon:"none"}),setTimeout((function(){var t=getCurrentPages();t.length>1?e.navigateBack():e.reLaunch({url:"/pages/index/index"})}),1200))},checkForm:function(t){var n=this,i=t.detail.value,c={member_card_code:"",member_card_pwd:"",from:"H5 "};return i.account?i.password?(c.member_card_code=i.account,c.member_card_pwd=i.password,c.from="routine",e.showLoading({title:"激活中"}),void(0,a.memberCardDraw)(c).then((function(t){e.showToast({title:t.msg,icon:"none"}),n.showActive=!0})).catch((function(e){return n.$util.Tips({title:e})}))):this.$util.Tips({title:"请输入卡密"}):this.$util.Tips({title:"请输入卡号"})},goPaidRights:function(){e.navigateTo({url:"/pages/annex/vip_paid_rights/index"})},activeConfirm:function(){e.redirectTo({url:"/pages/annex/vip_paid/index?success=1"})},jumpBack:function(){e.navigateBack()}},onPageScroll:function(t){e.$emit("scroll")}};t.default=o}).call(this,n("df3c")["default"])},"38dc0":function(e,t,n){"use strict";(function(e,t){var i=n("47a9");n("f076");i(n("3240"));var a=i(n("f66d"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(a.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},"3da5":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){}));var i=function(){var e=this.$createElement;this._self._c},a=[]},"8bf9":function(e,t,n){"use strict";n.r(t);var i=n("37f3"),a=n.n(i);for(var c in i)["default"].indexOf(c)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(c);t["default"]=a.a},d6c1:function(e,t,n){"use strict";var i=n("de1e"),a=n.n(i);a.a},de1e:function(e,t,n){},f66d:function(e,t,n){"use strict";n.r(t);var i=n("3da5"),a=n("8bf9");for(var c in a)["default"].indexOf(c)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(c);n("d6c1");var r=n("828b"),o=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"6d0b25f8",null,!1,i["a"],void 0);t["default"]=o.exports}},[["38dc0","common/runtime","common/vendor"]]]);