2012.4b301f68.js 2.5 KB

12
  1. "use strict";(self["webpackChunkapp"]=self["webpackChunkapp"]||[]).push([[2012],{82012:function(e,t,a){a.r(t),a.d(t,{default:function(){return v}});var l=function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"map-box"},[e._m(0),t("img",{staticStyle:{width:"30rem",margin:"0 auto"},attrs:{src:a(94274)}}),e._l(e.points,(function(a,l){return t("div",{key:l,staticClass:"hotArea",style:{top:a._top+"rem",left:a._left+"rem"}},[t("div",{staticClass:"clickSpace",on:{click:function(t){return e.handleClick(a)}}},[t("el-popover",{attrs:{placement:"top-start",title:a.name,width:"200",trigger:"hover"}},[e._v(" 成果数量 "),t("p",[e._v(e._s(a.val))]),t("div",{staticClass:"num-info",class:e.getLevelClass(a.val),attrs:{slot:"reference"},slot:"reference"},[t("i",{staticClass:"el-icon-s-finance"}),e._v(" "+e._s(a.name)+": "+e._s(a.val)+" ")])])],1)])}))],2)])},s=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"legend"},[t("div",{staticClass:"legend_label"},[t("div",{staticClass:"color",staticStyle:{"background-color":"green"}}),t("div",{staticClass:"legend_range"},[t("span",[e._v("0")]),e._v("-"),t("span",[e._v("25")])])]),t("div",{staticClass:"legend_label"},[t("div",{staticClass:"color",staticStyle:{"background-color":"yellow"}}),t("div",{staticClass:"legend_range"},[t("span",[e._v("25")]),e._v("-"),t("span",[e._v("50")])])]),t("div",{staticClass:"legend_label"},[t("div",{staticClass:"color",staticStyle:{"background-color":"red"}}),t("div",{staticClass:"legend_range"},[t("span",[e._v("50")]),e._v("-")])])])}];const i=[{name:"天文",id:1,val:22,_left:23.2,_top:10.2,_height:.9},{name:"信息管理学院",id:4,val:67,_left:24,_top:24.5,_height:1.5},{name:"化学化工",id:5,val:29,_left:12,_top:21.5,_height:2},{name:"环境",id:6,val:90,_left:12.5,_top:24,_height:1.5},{name:"新闻传播",id:8,val:24,_left:22.7,_top:20,_height:1},{name:"历史",id:3,val:8,_left:22.5,_top:21.5,_height:1.5},{name:"现代工程与应用科学",id:3,val:8,_left:15.3,_top:18,_height:2.2},{id:3,val:160,name:"医学院",_left:15.5,_top:19.5,_height:.8},{name:"生命科学",id:3,val:8,_left:16.5,_top:20.5,_height:2}];var n=a(64720),o={components:{"el-popover":n.Popover},data(){return{points:i}},created(){},methods:{handleClick(e){console.log(e),this.$router.push("/department/1")},getLevelClass(e){return e>=0&&e<25?"level1":e>=25&&e<50?"level2":e>=50?"level3":void 0}}},r=o,c=a(1001),_=(0,c.Z)(r,l,s,!1,null,"ee229684",null),v=_.exports},94274:function(e,t,a){e.exports=a.p+"img/xianlin.157b81e0.jpeg"}}]);
  2. //# sourceMappingURL=2012.4b301f68.js.map