Browse Source

(*) gis弹框展示优化

master
peng.peng 2 years ago
parent
commit
6dd67bbd15
  1. 2
      super-screen/client/src/index.js
  2. 2
      super-screen/client/src/sections/community-safty/containers/gis.js
  3. 2
      super-screen/client/src/sections/community-safty/containers/gis.less

2
super-screen/client/src/index.js

@ -4,4 +4,4 @@ import React from 'react';
import { render } from 'react-dom';
import App from './app';
render((<App projectName="政务数据资源中心" />), document.getElementById('App'));
render((<App projectName="昌南社会治理一体化平台" />), document.getElementById('App'));

2
super-screen/client/src/sections/community-safty/containers/gis.js

@ -317,7 +317,7 @@ function Map(props) {
let infowindow = new AMap.InfoWindow({
isCustom: true, //使用自定义窗体
content: `<div id="map-content" class="gis-infowindow gis-infowindow-alarm">
content: `<div id="map-content" class="gis-infowindow cummuntity-gis-infowindow-alarm">
<div style="height:${360}px;" id="alarmcontentid${x.name}"></div></div>`,
offset: new AMap.Pixel(233, 260)
});

2
super-screen/client/src/sections/community-safty/containers/gis.less

@ -217,7 +217,7 @@
}
.gis-infowindow-alarm {
.cummuntity-gis-infowindow-alarm {
background: url('/assets/images/homepage/communtity/alarminfowindow.png') no-repeat;
height: 432px;
width: 311px;

Loading…
Cancel
Save