(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesClient/official/callback"],{"0ae1":function(t,a,e){"use strict";(function(t){e("6cdc");n(e("4a15"));var a=n(e("75af"));function n(t){return t&&t.__esModule?t:{default:t}}t(a.default)}).call(this,e("f3be")["createPage"])},"5f43":function(t,a,e){"use strict";var n;e.d(a,"b",(function(){return i})),e.d(a,"c",(function(){return c})),e.d(a,"a",(function(){return n}));var i=function(){var t=this,a=t.$createElement,e=(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:e}})},c=[]},"75af":function(t,a,e){"use strict";e.r(a);var n=e("5f43"),i=e("f761");for(var c in i)["default"].indexOf(c)<0&&function(t){e.d(a,t,(function(){return i[t]}))}(c);e("e506");var u,o=e("0095"),s=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"35f25788",null,!1,n["a"],u);a["default"]=s.exports},"99da":function(t,a,e){},ce81:function(t,a,e){"use strict";(function(t){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=e("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,e=t.getStorageSync("officialApply");this.$util.isEmpty(e)||(this.officialApply=e),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,n.applyStatus)().then((function(a){var e=a.data.status;1==e&&(t.pageStatus=2)}))},_accountDet:function(){var t=this;(0,n.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,n.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,e("f3be")["default"])},e506:function(t,a,e){"use strict";var n=e("99da"),i=e.n(n);i.a},f761:function(t,a,e){"use strict";e.r(a);var n=e("ce81"),i=e.n(n);for(var c in n)["default"].indexOf(c)<0&&function(t){e.d(a,t,(function(){return n[t]}))}(c);a["default"]=i.a}},[["0ae1","common/runtime","common/vendor"]]]);