(window.webpackJsonp=window.webpackJsonp||[]).push([[42],{528:function(t,e,n){var content=n(621);"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(6).default)("ea2b9d42",content,!0,{sourceMap:!1})},620:function(t,e,n){"use strict";n(528)},621:function(t,e,n){(e=n(5)(!1)).push([t.i,".btn[data-v-65c071f8]{margin:15px}.van-cell__right-icon[data-v-65c071f8]{font-size:14px}.van-field[data-v-65c071f8]{line-height:32px;padding:8px 15px}",""]),t.exports=e},697:function(t,e,n){"use strict";n.r(e);n(34),n(60),n(251);var dialog=n(211),r=n.n(dialog),o=n(8),l=n(38);function c(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function d(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?c(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):c(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var f={i18n:{messages:{zh:{title:"设置",info:"个人资料",bind_phone:"绑定手机",bind_email:"绑定邮箱",pwd_login:"登录密码",pwd_pay:"支付密码",contact:"联系我们",exit:"退出登录",tip:"提示",tip_msg:"是否退出当前账号",language:"选择语言"},en:{title:"Settings",info:"Personal Information",bind_phone:"Binding Mobile",bind_email:"Binding Email",pwd_login:"Login Password",pwd_pay:"Payment Password",contact:"Contact Us",exit:"Logout",tip:"Tips",tip_msg:"Whether to log out of the current account",language:"Change Language"}}},computed:d({},Object(l.d)({userInfo:function(t){return t.user.userInfo},thirdLoginEnabled:function(t){return t.thirdLoginEnabled}})),methods:d(d({},Object(l.b)({logOut:"user/logOut"})),{},{exitLogin:function(){var t=this;r.a.confirm({title:this.$t("tip"),message:this.$t("tip_msg")+"？"}).then((function(){t.logOut().then((function(){t.$router.replace("/home")}))}))}})},v=(n(620),n(43)),component=Object(v.a)(f,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("van-nav-bar",{attrs:{title:t.$t("title"),"left-arrow":""},on:{"click-left":function(e){return t.$router.back()}}}),t._v(" "),n("van-cell-group",[n("van-cell",{attrs:{title:t.$t("info"),"is-link":"",to:"/user/settings/personal"}}),t._v(" "),t.userInfo.mobile?n("van-cell",{attrs:{title:t.$t("bind_phone"),value:t.userInfo.mobile}}):t.thirdLoginEnabled?t._e():n("van-cell",{attrs:{title:t.$t("bind_phone"),"is-link":"",to:"/user/settings/bindPhone"}}),t._v(" "),t.userInfo.user_email?n("van-cell",{attrs:{title:t.$t("bind_email"),value:t.userInfo.user_email}}):t.thirdLoginEnabled?t._e():n("van-cell",{attrs:{title:t.$t("bind_email"),"is-link":"",to:"/user/settings/bindEmail"}}),t._v(" "),n("van-cell",{attrs:{title:t.$t("language"),"is-link":"",to:"/user/settings/changeLanguage"}}),t._v(" "),t.thirdLoginEnabled?t._e():n("van-cell",{attrs:{title:t.$t("pwd_login"),"is-link":"",to:"/user/settings/changePwd"}}),t._v(" "),n("van-cell",{attrs:{title:t.$t("pwd_pay"),"is-link":"",to:"/user/settings/payPwd"}}),t._v(" "),t.thirdLoginEnabled?t._e():n("van-cell",{attrs:{title:t.$t("contact"),"is-link":""}})],1),t._v(" "),t.thirdLoginEnabled?t._e():n("div",{staticClass:"btn"},[n("van-button",{attrs:{type:"danger",block:""},on:{click:t.exitLogin}},[t._v(t._s(t.$t("exit")))])],1)],1)}),[],!1,null,"65c071f8",null);e.default=component.exports}}]);