webpackJsonp([14],{"2vHb":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={name:"MonitorMenu",props:{value:{type:Boolean,default:!1},themes:{type:Array,default:function(){return[]}}},computed:{curTheme:function(){return document.title},defaultThemes:function(){var e="http://962121.net/hmfmstest";return window.location.origin.indexOf("sh.gov")>=0&&(e="http://962121.fgj.sh.gov.cn/wyweb"),[{name:"长桥四村智慧感知事件监控",url:null},{name:"物业督查实时专题图",url:e+"/shanghaiwuye/web/dataV/propertyinspector/#/"},{name:"新冠疫情隔离监控",url:e+"/shanghaiwuye/web/dataV/publicsafety/#/"}]},themeList:function(){return this.themes&&this.themes.length>0?this.themes:this.defaultThemes}},methods:{closeMenu:function(){this.$emit("input",!1)},handleThemeSelect:function(e){var t=e.name,n=e.url;t!=this.curTheme&&(window.open(n,"_blank"),this.closeMenu())}}},s={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("m-animate",{attrs:{enter:"fadeInDown",leave:"fadeOutUp"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.value,expression:"value"}],staticClass:"theme-menu",on:{mouseleave:e.closeMenu}},[n("div",{staticClass:"edge top-left"}),e._v(" "),n("div",{staticClass:"edge top-right"}),e._v(" "),n("div",{staticClass:"edge bottom-left"}),e._v(" "),n("div",{staticClass:"edge bottom-right"}),e._v(" "),e._l(e.themeList,function(t){return n("p",{key:t.url,class:t.name==e.curTheme?"on":"",on:{click:function(n){return e.handleThemeSelect(t)}}},[e._v("\n      "+e._s(t.name)+"\n    ")])})],2)])},staticRenderFns:[]};var i=n("VU/8")(a,s,!1,function(e){n("lH/R")},"data-v-48b44ea0",null);t.default=i.exports},"lH/R":function(e,t){}});
//# sourceMappingURL=14.a91a0b76a1ad284436a8.js.map