李富豪 1 year ago
parent
commit
55d007fba9
1 changed files with 18 additions and 12 deletions
  1. 18 12
      Web/src/components/onLineDevice/components/InfoModal.vue

+ 18 - 12
Web/src/components/onLineDevice/components/InfoModal.vue

@@ -96,20 +96,26 @@
             </div>
           </a-col>
           <a-col span="6">
-            <a-tooltip title="RTK">
-              <div class="content-osd-info-item">
-                <img style="margin-right: 5px;" :src="rtkSrc" v-if="RTK > 0">
-                <img style="margin-right: 5px;" :src="rtkErrorSrc" v-else>
-                <div style="margin-right: 5px;">
-                  {{ RTK }}
+            <div class="content-osd-info-item">
+              <a-tooltip title="RTK">
+                <div style="display: flex;align-items: center;margin-right: 5px;">
+                  <img style="margin-right: 5px;" :src="rtkSrc" v-if="RTK > 0">
+                  <img style="margin-right: 5px;" :src="rtkErrorSrc" v-else>
+                  <div>
+                    {{ RTK }}
+                  </div>
                 </div>
-                <img style="margin-right: 5px;" :src="gpsSrc" v-if="GPS > 0">
-                <img style="margin-right: 5px;" :src="gpsErrorSrc" v-else>
-                <div>
-                  {{ GPS }}
+              </a-tooltip>
+              <a-tooltip title="GPS">
+                <div style="display: flex;align-items: center;">
+                  <img style="margin-right: 5px;" :src="gpsSrc" v-if="GPS > 0">
+                  <img style="margin-right: 5px;" :src="gpsErrorSrc" v-else>
+                  <div>
+                    {{ GPS }}
+                  </div>
                 </div>
-              </div>
-            </a-tooltip>
+              </a-tooltip>
+            </div>
           </a-col>
           <a-col span="6">
             <a-tooltip title="电量">