(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6f498702"],{"3d61":function(t,e,s){"use strict";s.r(e);var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return t.userInfo?s("div",{staticClass:"edit-me"},[s("back-bar",{attrs:{title:t.$t("h5.editInfo")}}),s("div",{staticClass:"edit-list"},[s("div",{staticClass:"item avatar-item"},[s("input",{attrs:{type:"file",accept:"image/jpeg,image/png,image/jpg"},on:{change:function(e){return t.uploadImg(e)}}}),s("span",{staticClass:"title"},[t._v(t._s(t.$t("h5.avatar")))]),s("div",{staticClass:"cont"},[t.userInfo.cover_photo?s("img",{staticClass:"user-avatar",attrs:{src:t.userInfo.cover_photo,alt:""},on:{click:function(e){return e.stopPropagation(),t.$showImgPreview(t.userInfo.cover_photo)}}}):s("div",{staticClass:"user-avatar",class:"avatar_bg"+t.userInfo.user_id%9,attrs:{"data-name":t.userInfo.nick_name.slice(0,2).toUpperCase()}}),s("i",{staticClass:"el-icon-arrow-right"})])]),s("div",{staticClass:"item",on:{click:t.editName}},[s("span",{staticClass:"title"},[t._v(t._s(t.$t("h5.nickname")))]),s("span",{staticClass:"cont"},[t._v("\n "+t._s(t.userInfo.nick_name)+" "),s("i",{staticClass:"el-icon-arrow-right"})])]),s("div",{staticClass:"item",on:{click:t.editUserId}},[s("span",{staticClass:"title"},[t._v(t._s(t.$t("h5.username")))]),s("span",{staticClass:"cont"},[t._v("\n "+t._s(t.userInfo.user_name)),s("i",{staticClass:"el-icon-arrow-right"})])])]),s("cropper",t._b({on:{close:t.cropperClose,cropper:t.cropperSubmit}},"cropper",t.cropperOption,!1))],1):t._e()},i=[],n=s("bd31"),r=s("52c1"),c=s("1848"),o=s("1440"),u=s("fa92"),p={name:"editMe",mixins:[u["a"]],components:{backBar:c["a"],cropper:o["a"]},data:function(){return{isMe:!0}},computed:Object(n["a"])({},Object(r["e"])({userInfo:function(t){return t.userInfo}})),methods:Object(n["a"])({},Object(r["b"])(["getUserInfo"]),{editName:function(){this.$router.push("/editInfo/nickname")},editUserId:function(){this.$router.push("/editInfo/username")}}),created:function(){this.userInfo||this.getUserInfo()}},l=p,f=(s("728b"),s("fc05")),d=Object(f["a"])(l,a,i,!1,null,"ea97d162",null);e["default"]=d.exports},"728b":function(t,e,s){"use strict";var a=s("7c50"),i=s.n(a);i.a},"7c50":function(t,e,s){}}]);