wzh 4 лет назад
Родитель
Сommit
d725eb86ad

+ 2 - 2
src/components/CargoOwnderCard.vue

@@ -7,7 +7,7 @@
     :endText="cargoOwnerInfo.cargoOwnerName"
   ></TitleLine>
   <IconInfo
-    style="margin-top: 25px"
+    style="margin-top: 20px"
     :type="0"
     :info="[
       cargoOwnerInfo.cargo,
@@ -55,7 +55,7 @@ export default {
   height: 30px;
   line-height: 30px;
   border: 1px solid #4f7879;
-  margin: 24px auto;
+  margin: 20px auto;
   font-size: 14px;
   font-family: PingFangSC-Medium, PingFang SC;
   font-weight: 500;

+ 1 - 1
src/components/ShipInfoCard.vue

@@ -2,7 +2,7 @@
 <template>
   <div>
     <TitleLine
-      style="margin-top: 30px"
+      style="margin-top: 25px"
       icon="info-dark"
       title="船舶信息"
       :type="2"

+ 4 - 1
src/views/transportationSafetyCenter.vue

@@ -2,6 +2,7 @@
   <div style="position: relative">
     <div id="bmap"></div>
     <NumberVue style="position: absolute; top: 0; left: 0"></NumberVue>
+    <SafetyCard style="position: absolute; top: 24px; right: 34px"></SafetyCard>
   </div>
 </template>
 
@@ -21,7 +22,7 @@ export default {
     }
 
     onMounted(() => {
-      initMap();
+      // initMap();
     });
     return {
       initMap,
@@ -35,5 +36,7 @@ export default {
   width: 100%;
   height: calc(100vh - 60px);
   box-sizing: border-box;
+  background: #1d2c43;
+  border-top: 1px solid grey;
 }
 </style>