\u8BF7\u5347\u7EA7\u5230App\u6700\u65B0\u7248\u672C\u540E\uFF0C\u8FDB\u884C\u8D2D\u4E70
","\u6E29\u99A8\u63D0\u793A").then(function(){a.$utils.downloadUrl(a)})["catch"](function(){}),!0)}}(),handleUpgrade:function(){return function(){this.selectedTab="vip",this.openBuyTabs=!0}}(),handleRecharge:function(){return function(){this.selectedTab="svip",this.openBuyTabs=!0}}(),openPCBuyModal:function(){return function(){this.PCModal.title=(""+(this.selectedBuyOrigin+"")+(this.selectedBuyType+"")).replace("\u666E\u901A",""),this.PCModal.show=!0}}(),handleVipBtnClick:function(){var a=(0,p["default"])(l["default"].mark(function(){function a(b){var c,d;return l["default"].wrap(function(){function a(a){for(;;)switch(a.prev=a.next){case 0:if(c=this.isPeople||this.isGuest?"\u8D2D\u4E70":"\u7EED\u8D39",d="\u666E\u901A\u4F1A\u5458",372===b?(d+=" 12 \u4E2A\u6708",this.selectedBuyPrice=this.vipYearPrice):3==b&&(d+=" 3 \u5929",this.selectedBuyPrice=1),this.selectedBuyType=d,this.selectedBuyOrigin=c,this.selectedMemberDays=b,this.selectedMemberType="ordinary",this.stateBuyBtnClick(),!this.ua.pc){a.next=11;break}return this.openPCBuyModal(),a.abrupt("return");case 11:if(!this.isGuest){a.next=14;break}return M.invoker.openSignInModal(function(){window.location.reload()}),a.abrupt("return");case 14:if(!this.inOldApp()){a.next=16;break}return a.abrupt("return");case 16:if(!this.submitting){a.next=18;break}return a.abrupt("return");case 18:this.createOrder();case 19:case"end":return a.stop();}}return a}(),a,this)}return a}()));return function(){return a.apply(this,arguments)}}(),handleSVipBtnClick:function(){var a=(0,p["default"])(l["default"].mark(function(){function a(b){var c,d,e=this;return l["default"].wrap(function(){function a(a){for(;;)switch(a.prev=a.next){case 0:if(c=this.isPeople||this.isGuest?"\u8D2D\u4E70":this.isVip?"\u5347\u7EA7":"\u7EED\u8D39",d="\u5C0A\u4EAB\u4F1A\u5458",372===b?(d+=" 12 \u4E2A\u6708",this.selectedBuyPrice=this.sVipYearPrice):3==b&&(d+=" 3 \u5929",this.selectedBuyPrice=1),this.selectedBuyType=d,this.selectedBuyOrigin=c,this.selectedMemberDays=b,this.selectedMemberType="distinguished",this.stateBuyBtnClick(),!this.ua.pc){a.next=11;break}return this.openPCBuyModal(),a.abrupt("return");case 11:if(!this.isGuest){a.next=14;break}return M.invoker.openSignInModal(function(){window.location.reload()}),a.abrupt("return");case 14:if(!this.inOldApp()){a.next=16;break}return a.abrupt("return");case 16:if(!this.submitting){a.next=18;break}return a.abrupt("return");case 18:if(!(this.isVip&&this.ua.app)){a.next=21;break}return this.ua.android?j["default"].confirm("\u5347\u7EA7\u4E3A\u5C0A\u4EAB\u4F1A\u5458\u540E\uFF0C\u539F\u6709\u7B80\u4E66\u4F1A\u5458\u5C06\u7ACB\u5373\u5931\u6548\uFF0C\u4F60\u53EF\u4EE5\u6DFB\u52A0\u5FAE\u4FE1\uFF1Awobushiliumiao\uFF0C\u54A8\u8BE2\u5347\u7EA7\u989D\u5916\u8D60\u9001\u7684\u5347\u7EA7\u793C\u5305\u3002",{title:"\u6E29\u99A8\u63D0\u793A",cancelButtonText:"\u53D6\u6D88",confirmButtonText:"\u786E\u8BA4\u5347\u7EA7"}).then(function(){e.createOrder()})["catch"](function(){}):j["default"].confirm("\u5347\u7EA7\u4E3A\u5C0A\u4EAB\u4F1A\u5458\u540E\uFF0C\u539F\u6709\u7B80\u4E66\u4F1A\u5458\u5C06\u7ACB\u5373\u5931\u6548\uFF0C\u4F60\u53EF\u4EE5\u6DFB\u52A0\u5FAE\u4FE1\uFF1Awobushiliumiao\uFF0C\u54A8\u8BE2\u5347\u7EA7\u989D\u5916\u8D60\u9001\u7684\u5347\u7EA7\u793C\u5305\uFF1B\u4E0E\u4F1A\u5458\u6709\u5173\u7684\u4EFB\u4F55\u7591\u60D1\u6216\u8005\u95EE\u9898\uFF0C\u8BF7\u6DFB\u52A0\u5FAE\u4FE1\uFF1Awobushiliumiao \uFF0C\u8FDB\u884C\u54A8\u8BE2\uFF1B\u4F60\u4E5F\u53EF\u4EE5\u7ED9\u201C\u7B80\u4E66\u798F\u5229\u793E\u793E\u957F\u7B80\u4E1C\u897F\u201D\uFF0C\u53D1\u7B80\u4FE1\u8FDB\u884C\u54A8\u8BE2\u3002
",{title:"\u5E2E\u52A9\u548C\u53CD\u9988",cancelButtonText:"\u77E5\u9053\u4E86",confirmButtonText:"\u7B80\u4FE1\u54A8\u8BE2"}).then(function(){window.location="/u/2e18e6a834e6"})["catch"](function(){})}}(),showPrivilegePage:function(){return function(){window.location="https://www.jianshu.com/p/64b225531508"}}(),showColumnsPage:function(){return function(){window.location="/mobile/club/columns"}}(),showCoursesPage:function(){return function(){window.location="/mobile/club/courses"}}(),showNotebookPage:function(){return function(a){window.location="/nb/"+(a+"")}}(),showCoursePage:function(){return function(a){window.location="/nb/"+(a+"")}}(),checkOrderState:function(){return function(a,b){var c=this,d=0,e=new s["default"](this);this.timer=setInterval(function(){e.checkOrder({guid:b},{timeout:1e3}).then(function(b){var e=b.paid_state;(30<=d++||"unpaid"!==e)&&(clearInterval(c.timer),c.timer=0,c.buyVipSuccessStats({origin:c.selectedBuyOrigin,type:c.selectedBuyType,price:a.amount}),c.$toast.success("failed"===e?"\u652F\u4ED8\u5931\u8D25\uFF01":"\u652F\u4ED8\u6210\u529F\uFF01").then(function(){window.location.reload()}))})["catch"](function(){})},2e3)}}(),handleModalClose:function(){return function(){this.submitting||(this.$refs.qrcode.innerHTML="",this.showQrCode=!1),this.timer&&(clearInterval(this.timer),this.timer=0)}}(),checkMemberConvertCode:function(){return function(){var a=this;!this.memberConvertCode||this.memberConvertLoading||(this.memberConvertLoading=!0,this.$toast.loading(),this.$captcha({ctx:this,ready:function(){return function(){a.$toast.stop()}}(),success:function(){var b=(0,p["default"])(l["default"].mark(function(){function b(c){var d,e,f=c.captcha;return l["default"].wrap(function(){function b(b){for(;;)switch(b.prev=b.next){case 0:return d=new s["default"](a),a.$toast.loading(),e=f.getValidate(),b.prev=3,b.next=6,d.checkMemberCode({active_code:a.memberConvertCode,challenge:e.geetest_challenge,validate:e.geetest_validate,seccode:e.geetest_seccode});case 6:a.memberConvertData=b.sent,a.$toast.stop(),a.showMemberConvertDialog=!0,b.next=15;break;case 11:b.prev=11,b.t0=b["catch"](3),a.showMemberConvertTips=!0,a.$toast.error(b.t0.message);case 15:return b.prev=15,a.memberConvertLoading=!1,b.finish(15);case 18:case"end":return b.stop();}}return b}(),b,a,[[3,11,15,18]])}return b}()));return function(){return b.apply(this,arguments)}}(),error:function(){return function(){a.$toast.error("\u8BF7\u91CD\u8BD5"),a.memberConvertLoading=!1}}(),close:function(){return function(){a.memberConvertLoading=!1}}()}))}}(),useMemberConvertCode:function(){var a=(0,p["default"])(l["default"].mark(function(){function a(){var b;return l["default"].wrap(function(){function a(a){for(;;)switch(a.prev=a.next){case 0:if(!this.memberConvertLoading){a.next=2;break}return a.abrupt("return");case 2:return this.memberConvertLoading=!0,this.$toast.loading(),b=new s["default"](this),a.prev=5,a.next=8,b.useMemberCode({token:this.memberConvertData.token});case 8:this.$toast.success("\u5151\u6362\u6210\u529F"),window.location.reload(),a.next=15;break;case 12:a.prev=12,a.t0=a["catch"](5),this.$toast.error(a.t0.message);case 15:return a.prev=15,this.memberConvertLoading=!1,a.finish(15);case 18:case"end":return a.stop();}}return a}(),a,this,[[5,12,15,18]])}return a}()));return function(){return a.apply(this,arguments)}}(),go:function(){return function(a){M.invoker.callApp("Core.Global.Transfer",{url:"/p/"+(a+"")})}}(),openMemberConvertModal:function(){return function(){return this.isGuest?void M.invoker.openSignInModal():void(this.showMemberConvertModal=!0)}}()}}}}); //# sourceMappingURL=156.187360220a230ea9c92b.js.map