Commit 2deea105718622016c90a3d16efa0f1084af12e5

Authored by 潘钊
1 parent 933fcbe6

update...

src/main/resources/static/real_control_v2/alone_page/map/alone_wrap.html
@@ -42,13 +42,23 @@ @@ -42,13 +42,23 @@
42 <link rel="stylesheet" href="/real_control_v2/assets/plugins/flatpickr/themes/airbnb.css" merge="plugins"/> 42 <link rel="stylesheet" href="/real_control_v2/assets/plugins/flatpickr/themes/airbnb.css" merge="plugins"/>
43 43
44 <link rel="stylesheet" href="/real_control_v2/css/ct_table.css" merge="custom_style"/> 44 <link rel="stylesheet" href="/real_control_v2/css/ct_table.css" merge="custom_style"/>
  45 +
  46 + <style>
  47 + .main-container .map-panel{
  48 + position: absolute;
  49 + top:0;
  50 + left: 0;
  51 + width: 20px;
  52 + z-index: 999;
  53 + height: 20px;
  54 + }
  55 + </style>
45 </head> 56 </head>
46 57
47 <body> 58 <body>
48 <div class="main-container" style="height: 100%;"> 59 <div class="main-container" style="height: 100%;">
49 <span style="position: absolute;left: calc(50% - 35px);top: calc(45% - 35px);">加载中...</span> 60 <span style="position: absolute;left: calc(50% - 35px);top: calc(45% - 35px);">加载中...</span>
50 </div> 61 </div>
51 -  
52 <!-- 地图相关 --> 62 <!-- 地图相关 -->
53 <script src="http://api.map.baidu.com/api?v=2.0&ak=IGGrr4UjwIYzatoCRFKEL8sT"></script> 63 <script src="http://api.map.baidu.com/api?v=2.0&ak=IGGrr4UjwIYzatoCRFKEL8sT"></script>
54 <script src="http://api.map.baidu.com/library/TrafficControl/1.4/src/TrafficControl_min.js"></script> 64 <script src="http://api.map.baidu.com/library/TrafficControl/1.4/src/TrafficControl_min.js"></script>
@@ -108,6 +118,8 @@ @@ -108,6 +118,8 @@
108 //嵌入地图页面 118 //嵌入地图页面
109 $('.main-container').load('/real_control_v2/mapmonitor/real.html', function () { 119 $('.main-container').load('/real_control_v2/mapmonitor/real.html', function () {
110 $('.map-system-msg.flex-left').remove(); 120 $('.map-system-msg.flex-left').remove();
  121 +
  122 + $(this).append('<span class="map-panel"></span>');//判断里有JS判定这个容器是否显示
111 }); 123 });
112 }); 124 });
113 125