chunk-2c06dfd2.2f24cda4.js 2.1 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2c06dfd2"],{1132:function(t,s,e){},c918:function(t,s,e){"use strict";e.r(s);var a=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"about-me"},[t.userInfo?e("div",{staticClass:"top",on:{click:function(s){t.$router.push("/editMe")}}},[e("div",{staticClass:"avatar-wrap"},[t.userInfo.cover_photo?e("img",{staticClass:"user-avatar",attrs:{src:t.userInfo.cover_photo,alt:""}}):e("div",{staticClass:"user-avatar",class:"avatar_bg"+t.userInfo.user_id%9,attrs:{"data-name":t.userInfo.nick_name.slice(0,2).toUpperCase()}})]),e("div",{staticClass:"top-info"},[e("div",{staticClass:"name"},[t._v(t._s(t.userInfo.nick_name))]),e("div",{staticClass:"code"},[t._v("昵称:@"+t._s(t.userInfo.user_name))])]),e("i",{staticClass:"arrow-icon el-icon-arrow-right"})]):t._e(),t.userInfo?e("ul",{staticClass:"account-list"},t._l(t.userInfo.binds,function(s,a){return e("li",{key:a,staticClass:"list-item"},[e("div",{staticClass:"icon-wrap"},[e("i",{class:s.type+"-icon"})]),e("div",{staticClass:"info"},[e("div",{staticClass:"title"},[t._v(t._s(s.type.toUpperCase()))]),e("div",{staticClass:"code"},[t._v(t._s(s.account||"未绑定"))])]),s.account?e("div",{staticClass:"opetate",on:{click:function(e){t.hanldeChange(s)}}},[e("i",{class:0===s.is_visible?"unopen":"open"}),e("p",[t._v(t._s(0===s.is_visible?"未公开":"已公开"))])]):t._e()])})):t._e(),e("div",{staticClass:"login-out-btn",on:{click:t.loginOut}},[t._v("退出登录")])])},i=[],n=e("be94"),o=e("2f62"),c=e("5975"),r={name:"chatList",data:function(){return{}},computed:Object(n["a"])({},Object(o["d"])({userInfo:function(t){return t.userInfo}})),methods:{loginOut:function(){this.$store.dispatch("doScatterLogout")},hanldeChange:function(t){var s=this,e=t.type,a=0==t.is_visible?1:0;c["a"].user.setVisible({type:e,is_visible:a}).then(function(t){t.data;s.$store.dispatch("getUserInfo")})}},created:function(){this.$store.dispatch("getUserInfo")}},u=r,l=(e("e1e2"),e("2877")),d=Object(l["a"])(u,a,i,!1,null,"690d52ae",null);d.options.__file="aboutMe.vue";s["default"]=d.exports},e1e2:function(t,s,e){"use strict";var a=e("1132"),i=e.n(a);i.a}}]);