Your Name 3 年 前
コミット
49c65eb2e1

BIN
src/assets/card-bg/._frame_event@2x.png


BIN
src/assets/card-bg/._frame_sjlb.png


BIN
src/assets/card-bg/frame_sjlb.png


+ 6 - 4
src/components/MarkerMap/index.scss

@@ -167,16 +167,18 @@
         .tipc{
             z-index: 11111;
             position:absolute;
-            top:-50px;
+            top:-80px;
             transform: translateX(-50%);
             left:50%;
-            padding:5px 10px;
-            height:20px;
+            padding:10px 20px;
+            height:40px;
+            font-size: 26px;
             background:rgba($color: #0567e9, $alpha: 0.85);
-            border-radius: 5px;
+            border-radius: 10px;
             color: white;
             min-width:fit-content;
             width: fit-content;
+            line-height: 40px;
             white-space: nowrap;
     
         }

+ 5 - 5
src/components/MarkerMap/index.tsx

@@ -900,11 +900,11 @@ export default defineComponent({
       }, [] as MarkerType[]);
 
       // 开启路况信息
-      if (!state.types.includes('路况信息')) {
-        state.types.push('路况信息');
-        state.hasTypes.push('路况信息');
-        toggleControlTraffic();
-      }
+      // if (!state.types.includes('路况信息')) {
+      //   state.types.push('路况信息');
+      //   state.hasTypes.push('路况信息');
+      //   toggleControlTraffic();
+      // }
 
       handleAddMarkers('应急事件', [marker], icon_map_dpf);
       handleAddMarkers('视频监控', videos, icon_map_spjk);

+ 4 - 4
src/views/IncidentDetail/index.scss

@@ -79,8 +79,8 @@
         top: 0;
         left: 0;
         // left: px2rem(30px * 2);
-        width: px2rem(961px * 2);
-        height: px2rem(475px * 2);
+        width: px2rem(471px * 2);
+        height: px2rem(814px * 2);
         background-color: red;
         z-index: 100;
         background: url("../../assets/card-bg/frame_sjlb.png");
@@ -101,8 +101,8 @@
         }
         .elc-content {
             // font-size: 3rem;
-            height: px2rem(475px * 2)- px2rem(55px * 4);
-            width: px2rem(961px * 2) - px2rem(27px * 4);
+            height: px2rem(814px * 2)- px2rem(55px * 4);
+            width: px2rem(471px * 2) - px2rem(27px * 4);
             top: px2rem(79px * 2);
             left: px2rem(27px * 2);
             position: absolute;