(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/setting/setting"],{"05d7":function(n,e,t){"use strict";t.r(e);var o=t("a672"),u=t("b26a");for(var i in u)"default"!==i&&function(n){t.d(e,n,(function(){return u[n]}))}(i);t("b3ac");var a,c=t("f0c5"),r=Object(c["a"])(u["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],a);e["default"]=r.exports},a672:function(n,e,t){"use strict";t.d(e,"b",(function(){return u})),t.d(e,"c",(function(){return i})),t.d(e,"a",(function(){return o}));var o={uIcon:function(){return t.e("uni_modules/vk-uview-ui/components/u-icon/u-icon").then(t.bind(null,"ba35"))},uButton:function(){return t.e("uni_modules/vk-uview-ui/components/u-button/u-button").then(t.bind(null,"ce9e"))},uPopup:function(){return t.e("uni_modules/vk-uview-ui/components/u-popup/u-popup").then(t.bind(null,"c565"))},uAvatar:function(){return t.e("uni_modules/vk-uview-ui/components/u-avatar/u-avatar").then(t.bind(null,"2143"))},uInput:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/vk-uview-ui/components/u-input/u-input")]).then(t.bind(null,"6943"))},uModal:function(){return t.e("uni_modules/vk-uview-ui/components/u-modal/u-modal").then(t.bind(null,"f813"))}},u=function(){var n=this,e=n.$createElement;n._self._c;n._isMounted||(n.e0=function(e){n.editWeixinUserInfoPopupShow=!1},n.e1=function(e){n.logoffModalShow=!1},n.e2=function(e){return n.uni.toast("已提交注销申请")})},i=[]},b26a:function(n,e,t){"use strict";t.r(e);var o=t("d61b"),u=t.n(o);for(var i in o)"default"!==i&&function(n){t.d(e,n,(function(){return o[n]}))}(i);e["default"]=u.a},b3ac:function(n,e,t){"use strict";var o=t("e0ed"),u=t.n(o);u.a},be0a:function(n,e,t){"use strict";(function(n){t("3690");o(t("66fd"));var e=o(t("05d7"));function o(n){return n&&n.__esModule?n:{default:n}}wx.__webpack_require_UNI_MP_PLUGIN__=t,n(e.default)}).call(this,t("543d")["createPage"])},d61b:function(n,e,t){"use strict";(function(n){var t;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o={data:function(){return{userInfo:{},userInfo2:{},logoffModalShow:!1,editWeixinUserInfoPopupShow:!1,form:{avatarUrl:null,nickname:""}}},onLoad:function(){},onShow:function(){this.getUserInfo()},onReady:function(){},methods:{getUserInfo:function(){var e=this;n.api.base.apiuserinfo().then((function(t){n.setStorageSync("MD_userInfo2",t),e.userInfo2=t||{}}))},pageTo:function(e){"dev"!==e?n.navigateTo({url:e}):n.$msg("开发中~")},getphonenumber:function(e){var t=e.detail||{},o=this;n.login({success:function(e){e.code?n.api.base.apiuserbindwechat({code:e.code,phone_code:t.code}).then((function(n){o.getUserInfo()})).catch((function(n){console.log(n)})):console.log("登录失败！"+e.errMsg)}})},bindWeixinAvatar:function(n){var e=n.detail.avatarUrl;t.form.avatarUrl=e},updateUserInfoByWeixin:function(){},checkUpdate:function(){var e=n.getUpdateManager();e.onCheckForUpdate((function(e){console.log(e.hasUpdate),e.hasUpdate||n.$msg("当前已是最新版本")})),e.onUpdateReady((function(t){n.showModal({title:"更新提示",content:"新版本已经准备好，是否重启应用？",success:function(n){n.confirm&&e.applyUpdate()}})})),e.onUpdateFailed((function(n){}))},logout:function(){n.showModal({title:"提示",content:"确定退出登录？",success:function(e){e.confirm&&(n.removeStorageSync("MD_userInfo"),n.removeStorageSync("MD_token"),n.reLaunch({url:"/pages/index/index"}))}})}}};e.default=o}).call(this,t("543d")["default"])},e0ed:function(n,e,t){}},[["be0a","common/runtime","common/vendor"]]]);