(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-cb11c1c8","chunk-1a9dba9e"],{2150:function(t,e,s){"use strict";var a=s("78a7"),n=s.n(a);n.a},6180:function(t,e,s){},"78a7":function(t,e,s){},"79b4":function(t,e,s){"use strict";s.r(e);var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"scope-topbar"},[s("div",{staticClass:"collapse"},[s("img",{staticClass:"avatar",attrs:{src:t._f("default_avatar")(t.logoUrl),alt:"商标"}}),s("div",["business"==t.$projectName?s("span",[t._v(t._s(t.shopInfo.merchantName))]):s("span",[t._v("花卉宝")]),s("span",{staticClass:"app-size-32 app-bold"},[t._v(" - ")]),s("span",[t._v("后台业务管理系统")])])]),s("div",{staticClass:"flex1"}),s("ul",{staticClass:"tools"},[s("li-notice")],1),t.userInfo?s("div",{staticClass:"user"},[s("el-dropdown",{attrs:{trigger:"click","hide-on-click":!1},on:{command:t.onCommand}},[s("span",{staticClass:"el-dropdown-link"},[s("span",{staticClass:"name"},[t._v(t._s(t._f("default_name")(t.userInfo.nickName)))]),s("img",{staticClass:"avatar",attrs:{src:t._f("default_avatar")(t.userInfo.avatarUrl),alt:"头像"}}),s("i",{staticClass:"el-icon-caret-bottom"})]),s("el-dropdown-menu",{staticClass:"popper-dropdown-menu-user",attrs:{slot:"dropdown"},slot:"dropdown"},[s("el-dropdown-item",{attrs:{command:"my"}},[t._v("个人中心")]),s("el-dropdown-item",{attrs:{command:"exit"}},[t._v("退出")])],1)],1)],1):t._e()])},n=[],o=(s("3546"),s("0e8d"),s("fdc1"),s("a94a"),s("639b"),s("4f5b"),s("b287"),s("9d37")),i=s("5880"),c=s("c081"),r=s("fbe1");function l(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function u(t){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?l(Object(s),!0).forEach((function(e){Object(o["a"])(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):l(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}var p={components:{LiNotice:r["default"]},data:function(){return{$projectName:this.$projectName,index:"0"}},mounted:function(){},computed:u({},Object(i["mapGetters"])(["userInfo","shopInfo"]),{logoUrl:function(){return this.$util.isEmpty(this.shopInfo)?"":this.shopInfo.smallLogoUrl}}),methods:u({},Object(i["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}}})},f=p,d=(s("fce8"),s("b818"),s("5511")),m=Object(d["a"])(f,a,n,!1,null,"9f82f46a",null);e["default"]=m.exports},b818:function(t,e,s){"use strict";var a=s("ef59"),n=s.n(a);n.a},ef59:function(t,e,s){},fbe1:function(t,e,s){"use strict";s.r(e);var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("li",{staticClass:"tools-notice"},[s("i",{staticClass:"el-icon-message-solid"}),s("span",{staticClass:"tag"},[t._v("4")]),t.visible?s("div",{staticClass:"popover"},[s("div",{staticClass:"tips"},[s("span",[t._v("您有4条新通知")]),s("el-button",{attrs:{size:"mini",type:"primary",round:""}},[t._v("查看全部")])],1),t._m(0)]):t._e()])},n=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"list"},[s("a",{staticClass:"block"},[s("div",{staticClass:"icon"},[s("i",{staticClass:"el-icon-s-promotion"})]),s("div",{staticClass:"det"},[s("p",{staticClass:"title"},[t._v("您的Apple ID 被用在iPhone 11 上登录 iCould")]),s("p",{staticClass:"sub-title"},[t._v("5分钟前")])])])])}],o=s("8bc2"),i={data:function(){return{visible:!1}},mounted:function(){var t=this;document.onclick=function(e){var s=document.querySelector(".tools-notice .popover");"el-icon-message-solid"==e.target.className&&(t.visible=!t.visible),s&&(Object(o["contains"])(s,e.target)||(t.visible=!1))}}},c=i,r=(s("2150"),s("5511")),l=Object(r["a"])(c,a,n,!1,null,"15bce485",null);e["default"]=l.exports},fce8:function(t,e,s){"use strict";var a=s("6180"),n=s.n(a);n.a}}]);