12 |
- "use strict";(self["webpackChunkapp"]=self["webpackChunkapp"]||[]).push([[155],{6155:function(t,e,a){a.r(e),a.d(e,{default:function(){return _}});var l=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"map-box"},[t._m(0),e("img",{staticStyle:{width:"30rem",margin:"0 auto"},attrs:{src:a(4274)}}),t._l(t.points,(function(a,l){return e("div",{key:l,staticClass:"hotArea",style:{top:a._top+"rem",left:a._left+"rem"}},[e("div",{staticClass:"clickSpace",on:{click:function(e){return t.handleClick(a)}}},[e("el-popover",{attrs:{placement:"top-start",title:a.name,width:"200",trigger:"hover"}},[t._v(" 成果数量 "),e("p",[t._v(t._s(a.val))]),e("div",{staticClass:"num-info",class:t.getLevelClass(a.val),attrs:{slot:"reference"},slot:"reference"},[e("i",{staticClass:"el-icon-s-finance"}),t._v(" "+t._s(a.name)+": "+t._s(a.val)+" ")])])],1)])}))],2)])},s=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"legend"},[e("div",{staticClass:"legend_label"},[e("div",{staticClass:"color",staticStyle:{"background-color":"green"}}),e("div",{staticClass:"legend_range"},[e("span",[t._v("0")]),t._v("-"),e("span",[t._v("25")])])]),e("div",{staticClass:"legend_label"},[e("div",{staticClass:"color",staticStyle:{"background-color":"yellow"}}),e("div",{staticClass:"legend_range"},[e("span",[t._v("25")]),t._v("-"),e("span",[t._v("50")])])]),e("div",{staticClass:"legend_label"},[e("div",{staticClass:"color",staticStyle:{"background-color":"red"}}),e("div",{staticClass:"legend_range"},[e("span",[t._v("50")]),t._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={data(){return{points:i}},created(){},methods:{handleClick(t){console.log(t),this.$router.push("/department/1")},getLevelClass(t){return t>=0&&t<25?"level1":t>=25&&t<50?"level2":t>=50?"level3":void 0}}},c=n,r=a(1001),o=(0,r.Z)(c,l,s,!1,null,"d26b25c4",null),_=o.exports},4274:function(t,e,a){t.exports=a.p+"img/xianlin.157b81e0.jpeg"}}]);
- //# sourceMappingURL=155.c55e13f9.js.map
|