(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/accredit/index"],{"1a55":function(t,e,n){"use strict";n.r(e);var i=n("7bff"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=a.a},6752:function(t,e,n){},"7bd1":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement;this._self._c},a=[]},"7bff":function(t,e,n){"use strict";(function(t){var i=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i(n("95da")),o=n("9366"),u=n("9592"),s=n("8f59"),c=(getApp(),{name:"",props:{locationType:{type:Boolean,default:!1},userPhoneType:{type:Boolean,default:!1},authKey:{type:String,default:""},isPhoneBox:{type:Boolean,default:!1},content:{type:String,default:"申请获取用于完整服务"}},computed:(0,s.mapGetters)(["isLogin","uid","globalData"]),data:function(){return{urlDomain:this.$Cache.get("imgHost"),isStatus:!1}},methods:{modelCancel:function(){this.$emit("closeModel",{isStatus:this.isStatus})},modelConfirm:function(){this.$emit("confirmModel")},decryptPhoneNumber:function(e){t.showLoading({title:"加载中"}),this.getUserPhoneNumber(e.detail.encryptedData,e.detail.iv,e.detail.code)},getUserPhoneNumber:function(e,n,i){var a=this;(0,o.getUserPhone)({encryptedData:e,iv:n,code:i,key:this.authKey,type:"routine"}).then((function(t){a.$store.commit("LOGIN",{token:t.data.token}),a.$store.commit("SETUID",t.data.id),a.getUserInfo(),t.data.isNew&&t.data.newPeopleCouponList&&0!==t.data.newPeopleCouponList.length?a.$Cache.set("newGift",t.data.newPeopleCouponList):a.$Cache.clear("newGift")})).catch((function(e){t.hideLoading(),a.$util.Tips({title:e})}))},getUserInfo:function(){var e=this;this.$store.dispatch("GetTokenIsExist"),this.$Cache.get("wechatQRcode")||a.default.getQrcode(),(0,u.silenceBindingSpread)(!0,this.globalData.spread),this.$store.dispatch("USERINFO").then((function(n){t.hideLoading(),e.isStatus=!0,e.modelCancel()}))}}});e.default=c}).call(this,n("df3c")["default"])},b780:function(t,e,n){"use strict";n.r(e);var i=n("7bd1"),a=n("1a55");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("db06");var u=n("828b"),s=Object(u["a"])(a["default"],i["b"],i["c"],!1,null,"254e5419",null,!1,i["a"],void 0);e["default"]=s.exports},db06:function(t,e,n){"use strict";var i=n("6752"),a=n.n(i);a.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'components/accredit/index-create-component',
    {
        'components/accredit/index-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('df3c')['createComponent'](__webpack_require__("b780"))
        })
    },
    [['components/accredit/index-create-component']]
]);
