(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesClient/official/callback"],{"0ae1":function(t,a,n){"use strict";(function(t){n("6cdc");e(n("e3ac"));var a=e(n("75af"));function e(t){return t&&t.__esModule?t:{default:t}}t(a.default)}).call(this,n("1480")["createPage"])},"5f43":function(t,a,n){"use strict";var e;n.d(a,"b",(function(){return i})),n.d(a,"c",(function(){return u})),n.d(a,"a",(function(){return e}));var i=function(){var t=this,a=t.$createElement,n=(t._self._c,7!=t.pageStatus&&1==t.pageStatus?t._f("formatTime")(t.data.deadline,"YYYY-MM-DD hh:mm:ss"):null);t.$mp.data=Object.assign({},{$root:{f0:n}})},u=[]},"75af":function(t,a,n){"use strict";n.r(a);var e=n("5f43"),i=n("f761");for(var u in i)["default"].indexOf(u)<0&&function(t){n.d(a,t,(function(){return i[t]}))}(u);n("e506");var c,o=n("41a2"),s=Object(o["a"])(i["default"],e["b"],e["c"],!1,null,"35f25788",null,!1,e["a"],c);a["default"]=s.exports},9212:function(t,a,n){},e506:function(t,a,n){"use strict";var e=n("9212"),i=n.n(e);i.a},f761:function(t,a,n){"use strict";n.r(a);var e=n("ff05"),i=n.n(e);for(var u in e)["default"].indexOf(u)<0&&function(t){n.d(a,t,(function(){return e[t]}))}(u);a["default"]=i.a},ff05:function(t,a,n){"use strict";(function(t){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var e=n("8797"),i={name:"callback",data:function(){return{constant:this.$constant,data:{},pageStatus:"3",promptData:["确认你已经有公众号（服务号），并且已认证和申请微 信支付","满足以上条件，可以点下方按钮开始授权。","点击之后会跳到新页面，页面有个二维码，识别后按确 认授权即可。"],officialApply:{wxAliasName:""},wxAccount:""}},computed:{btnText:function(){var t="";switch(this.pageStatus){case"1":t="返回管理中心";break;case"2":t="返回首页";break;case"3":t="返回首页";break;case"4":t="返回首页";break;case"5":t="开始授权";break;case"6":t="管理中心";break;case"7":t="开始授权";break;default:t="返回管理中心";break}return t}},onLoad:function(){},mounted:function(){},methods:{init:function(){var a=this,n=t.getStorageSync("officialApply");this.$util.isEmpty(n)||(this.officialApply=n),1==this.option.pagestatus&&(this.pageStatus=1),this.$util.getCheckLogin().then((function(t){t&&(1!=a.pageStatus&&5!=a.pageStatus||a._accountDet())}))},_getStatus:function(){var t=this;(0,e.applyStatus)().then((function(a){var n=a.data.status;1==n&&(t.pageStatus=2)}))},_accountDet:function(){var t=this;(0,e.accountDet)().then((function(a){t.data=a.data}))},jumpPage:function(){"返回首页"==this.btnText?this.$util.pageTo({url:"/official/index",query:{id:this.option.id}}):"返回管理中心"==this.btnText||"开始授权"==this.btnText&&(0,e.getAuthUrl)().then((function(t){}))},pasteWxAccount:function(){t.setClipboardData({data:this.officialApply.wxAliasName,success:function(a){t.getClipboardData({success:function(a){t.showToast({title:"已复制"})}})}})}}};a.default=i}).call(this,n("1480")["default"])}},[["0ae1","common/runtime","common/vendor"]]]);