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