(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-a8f6a870","chunk-8529c5be"],{"41fe":function(t,s,e){},"69af":function(t,s,e){"use strict";e("820b")},"73cd":function(t,s,e){"use strict";e("f13e")},"79b4":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:"scope-topbar"},[e("div",{staticClass:"collapse"},[e("img",{staticClass:"avatar",attrs:{src:t._f("default_avatar")(t.logoUrl),alt:"商标"}}),t._m(0)]),e("div",{staticClass:"flex1"}),t.userInfo?e("div",{staticClass:"user"},[e("el-dropdown",{attrs:{trigger:"click","hide-on-click":!1},on:{command:t.onCommand}},[e("span",{staticClass:"el-dropdown-link"},[e("span",{staticClass:"name"},[t._v(t._s(t._f("default_name")(t.userInfo.name)))]),e("img",{staticClass:"avatar",attrs:{src:t._f("default_avatar")(t.userInfo.avatarUrl),alt:""}}),e("i",{staticClass:"el-icon-caret-bottom"})]),e("el-dropdown-menu",{staticClass:"popper-dropdown-menu-user",attrs:{slot:"dropdown"},slot:"dropdown"},[e("el-dropdown-item",{attrs:{command:"exit"}},[t._v("退出")])],1)],1)],1):t._e()])},i=[function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[e("span",[t._v("后台管理系统")])])}],n=e("6abc"),o=e("5880"),c=e("c081"),l=e("fbe1"),r={components:{LiNotice:l["default"]},data:function(){return{$projectName:this.$projectName,index:"0"}},mounted:function(){},computed:Object(n["a"])(Object(n["a"])({},Object(o["mapGetters"])(["userInfo","shopInfo"])),{},{logoUrl:function(){return this.$util.isEmpty(this.shopInfo)?"":this.shopInfo.smallLogoUrl}}),methods:Object(n["a"])(Object(n["a"])({},Object(o["mapMutations"])(["SET_MENU_GROUP","SET_MENU_LIST","COLLAPSE_MENU"])),{},{onCommand:function(t){switch(t){case"my":this.$router.push("/my/info");break;case"exit":this.$store.dispatch("userLogout").done((function(){c["utils"].href("/login")}));break}}})},u=r,d=(e("69af"),e("fc34"),e("5d22")),f=Object(d["a"])(u,a,i,!1,null,"dd5e3a20",null);s["default"]=f.exports},"820b":function(t,s,e){},f13e:function(t,s,e){},fbe1: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("li",{staticClass:"tools-notice"},[e("i",{staticClass:"el-icon-message-solid"}),e("span",{staticClass:"tag"},[t._v("4")]),t.visible?e("div",{staticClass:"popover"},[e("div",{staticClass:"tips"},[e("span",[t._v("您有4条新通知")]),e("el-button",{attrs:{size:"mini",type:"primary",round:""}},[t._v("查看全部")])],1),t._m(0)]):t._e()])},i=[function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"list"},[e("a",{staticClass:"block"},[e("div",{staticClass:"icon"},[e("i",{staticClass:"el-icon-s-promotion"})]),e("div",{staticClass:"det"},[e("p",{staticClass:"title"},[t._v("您的Apple ID 被用在iPhone 11 上登录 iCould")]),e("p",{staticClass:"sub-title"},[t._v("5分钟前")])])])])}],n=e("8bc2"),o={data:function(){return{visible:!1}},mounted:function(){var t=this;document.onclick=function(s){var e=document.querySelector(".tools-notice .popover");"el-icon-message-solid"==s.target.className&&(t.visible=!t.visible),e&&(Object(n["contains"])(e,s.target)||(t.visible=!1))}}},c=o,l=(e("73cd"),e("5d22")),r=Object(l["a"])(c,a,i,!1,null,"1efa0496",null);s["default"]=r.exports},fc34:function(t,s,e){"use strict";e("41fe")}}]);