8.c9843e039dcdd9ef3709.js 3.0 KB

12
  1. webpackJsonp([8],{"+QH9":function(t,i,a){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=a("ib2g"),e=a.n(s);for(var n in s)"default"!==n&&function(t){a.d(i,t,function(){return s[t]})}(n);var r=a("LRF7");var c=function(t){a("37MV")},l=a("VU/8")(e.a,r.a,!1,c,null,null);i.default=l.exports},"37MV":function(t,i){},LRF7:function(t,i,a){"use strict";var s={render:function(){var t=this,i=t.$createElement,a=t._self._c||i;return a("div",{staticClass:"h100"},[a("div",{staticClass:"aside"},[a("div",{staticClass:"aside-wrapper"},[a("div",{staticClass:"aside-hd"},[a("searchbar")],1),t._v(" "),a("div",{staticClass:"aside-bd"},[a("div",{staticClass:"full"},[a("div",{staticClass:"user-list"},[a("router-link",{attrs:{to:"/contact/orgs"}},[a("div",{class:"cell "+(["orgs","dept","user"].indexOf(t.currId)>-1?"active":"")},[a("div",{staticClass:"cell-hd"},[a("img",{staticClass:"avatar",attrs:{src:"static/img/dept.png"}})]),t._v(" "),a("div",{staticClass:"cell-bd"},[a("div",{staticClass:"title"},[t._v("内部通讯录")])])])]),t._v(" "),a("router-link",{attrs:{to:"/contact/groups"}},[a("div",{class:"cell "+(["groups","group"].indexOf(t.currId)>-1?"active":"")},[a("div",{staticClass:"cell-hd"},[a("img",{staticClass:"avatar",attrs:{src:"static/img/group.png"}})]),t._v(" "),a("div",{staticClass:"cell-bd"},[a("div",{staticClass:"title"},[t._v("我的群组")])])])]),t._v(" "),a("router-link",{attrs:{to:"/contact/friend-new"}},[a("div",{class:"cell "+(["friend-new"].indexOf(t.currId)>-1?"active":"")},[a("div",{staticClass:"cell-hd"},[a("img",{staticClass:"avatar",attrs:{src:"static/img/friend-notify.png"}})]),t._v(" "),a("div",{staticClass:"cell-bd"},[a("div",{staticClass:"title"},[t._v("新的好友")]),t._v(" "),t.friend_notify_value>0?a("i",{staticClass:"dot",staticStyle:{top:"18px",left:"80px"}}):t._e()])])]),t._v(" "),a("linkman-list"),t._v(" "),a("friend-list")],1)])])])]),t._v(" "),a("div",{staticClass:"content"},[a("router-view")],1)])},staticRenderFns:[]};i.a=s},ib2g:function(t,i,a){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default={components:{searchbar:function(t){return a.e(19).then(function(){var i=[a("QL4s")];t.apply(null,i)}.bind(this)).catch(a.oe)},"linkman-list":function(t){return a.e(25).then(function(){var i=[a("ZWEs")];t.apply(null,i)}.bind(this)).catch(a.oe)},"friend-list":function(t){return a.e(23).then(function(){var i=[a("LNLL")];t.apply(null,i)}.bind(this)).catch(a.oe)}},data:function(){return{currId:"",friend_notify_value:0,group_notify_value:0}},watch:{$route:"fetchData"},methods:{fetchData:function(){var t=this.$route.path.split("/")[2];if("friend"==t){var i=this.$route.query.id;this.currId=t+"_"+i}else this.currId=t},getNotifyCount:function(){this.friend_notify_value=IM.notifyManager.getNotifyValue("friend_notify"),this.group_notify_value=IM.notifyManager.getNotifyValue("group_notify")}},created:function(){this.fetchData(),this.getNotifyCount(),IM.events.addHandler("onNotifyChanage",this.getNotifyCount)}}}});
  2. //# sourceMappingURL=8.c9843e039dcdd9ef3709.js.map