(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pageA-pages-common-member-action-bind"],{"1a8c":function(i,n,e){"use strict";var t;e.d(n,"b",(function(){return s})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){return t}));var s=function(){var i=this,n=i.$createElement,e=i._self._c||n;return e("v-uni-view",{staticClass:"bottom-safe-area p-3"},[e("v-uni-view",{staticClass:"border-bottom pt-2"},[e("v-uni-view",{staticClass:"small text-auxiliary"},[i._v("QQ")]),e("v-uni-view",{staticClass:"uni-flex flex-center pt-1",attrs:{"hover-class":"bg-hover"},on:{click:function(n){arguments[0]=n=i.$handleEvent(n),i.qqLogin.apply(void 0,arguments)}}},[i.userInfo&&i.userInfo.bind_qq&&i.userInfo.bind_qq.id?e("v-uni-view",{staticClass:"uni-flex-item py-1 text-auxiliary uni-h5"},[i._v(i._s(i.userInfo.bind_qq.nickname))]):e("v-uni-view",{staticClass:"uni-flex-item py-1 text-grey uni-h6"},[i._v("未绑定")]),e("v-uni-text",{staticClass:"uni-icon uni-icon-arrowright text-grey small"})],1)],1),e("v-uni-view",{staticClass:"border-bottom pt-2"},[e("v-uni-view",{staticClass:"small text-auxiliary"},[i._v("微信")]),e("v-uni-view",{staticClass:"uni-flex flex-center pt-1",attrs:{"hover-class":"bg-hover"},on:{click:function(n){arguments[0]=n=i.$handleEvent(n),i.wechatLogin.apply(void 0,arguments)}}},[i.userInfo&&i.userInfo.bind_wx&&i.userInfo.bind_wx.id?e("v-uni-view",{staticClass:"uni-flex-item py-1 text-auxiliary uni-h5"},[i._v(i._s(i.userInfo.bind_wx.nickname))]):e("v-uni-view",{staticClass:"uni-flex-item py-1 text-grey uni-h6"},[i._v("未绑定")]),e("v-uni-text",{staticClass:"uni-icon uni-icon-arrowright text-grey small"})],1),i.wxerr?e("v-uni-view",{staticClass:"small text-danger"},[i._v(i._s(i.wxerr))]):i._e()],1),e("v-uni-view",{staticClass:"border-bottom pt-2"},[e("v-uni-view",{staticClass:"small text-auxiliary"},[i._v("AppleID")]),e("v-uni-view",{staticClass:"uni-flex flex-center pt-1",attrs:{"hover-class":"bg-hover"},on:{click:function(n){arguments[0]=n=i.$handleEvent(n),i.appleLogin.apply(void 0,arguments)}}},[i.userInfo&&i.userInfo.bind_apple&&i.userInfo.bind_apple.id?e("v-uni-view",{staticClass:"uni-flex-item py-1 text-auxiliary uni-h5"},[i._v("已绑定")]):e("v-uni-view",{staticClass:"uni-flex-item py-1 text-grey uni-h6"},[i._v("未绑定")]),e("v-uni-text",{staticClass:"uni-icon uni-icon-arrowright text-grey small"})],1)],1)],1)},a=[]},"6e87":function(i,n,e){"use strict";e.r(n);var t=e("1a8c"),s=e("bbeb");for(var a in s)"default"!==a&&function(i){e.d(n,i,(function(){return s[i]}))}(a);var u,o=e("f0c5"),r=Object(o["a"])(s["default"],t["b"],t["c"],!1,null,"57c6ae56",null,!1,t["a"],u);n["default"]=r.exports},aa20:function(i,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t={data:function(){return{userInfo:null,wxerr:""}},onLoad:function(i){this.XYBase.IsLogin(),this.userInfo=getApp().globalData.userInfo,i.wxerr&&(this.wxerr=i.wxerr)},methods:{appleLogin:function(){var i=this;this.userInfo&&this.userInfo.bind_apple&&this.userInfo.bind_apple.id?uni.showModal({title:"提示",content:"确定要解绑AppleID吗？\n解绑后将不能使用AppleID登录。",confirmText:"解绑",success:function(n){n.confirm&&(uni.showLoading({title:"",mask:!0}),i.XYBase.get({url:"unbind/unbindApple"},(function(n){uni.hideLoading(),n&&(0===n.code?(i.userInfo.bind_apple=null,uni.$emit("updateUser")):i.XYBase.msg(n.msg))})))}}):this.XYBase.msg("H5暂不支持绑定，请下载APP进行绑定")},wechatLogin:function(){var i=this;this.userInfo&&this.userInfo.bind_wx&&this.userInfo.bind_wx.id?uni.showModal({title:"提示",content:"确定要解绑微信吗？\n解绑后将不能使用微信登录。",confirmText:"解绑",success:function(n){n.confirm&&(uni.showLoading({title:"",mask:!0}),i.XYBase.get({url:"unbind/unbindWx"},(function(n){uni.hideLoading(),n&&(0===n.code?(i.userInfo.bind_wx=null,uni.$emit("updateUser")):i.XYBase.msg(n.msg))})))}}):window.location.href=this.XYBase.config.url+"/login/wx"},qqLogin:function(){var i=this;this.userInfo&&this.userInfo.bind_qq&&this.userInfo.bind_qq.id?uni.showModal({title:"提示",content:"确定要解绑QQ吗？\n解绑后将不能使用QQ登录。",confirmText:"解绑",success:function(n){n.confirm&&(uni.showLoading({title:"",mask:!0}),i.XYBase.get({url:"unbind/unbindQq"},(function(n){uni.hideLoading(),n&&(0===n.code?(i.userInfo.bind_apple=null,uni.$emit("updateUser")):i.XYBase.msg(n.msg))})))}}):this.XYBase.msg("H5暂不支持绑定，请下载APP进行绑定")}}};n.default=t},bbeb:function(i,n,e){"use strict";e.r(n);var t=e("aa20"),s=e.n(t);for(var a in t)"default"!==a&&function(i){e.d(n,i,(function(){return t[i]}))}(a);n["default"]=s.a}}]);