Explorar o código

对公务用车 的 大屏界面 进行调整

zhanghao hai 5 meses
pai
achega
fba303ef41
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/views/screen/official/carWarning.vue

+ 2 - 2
src/views/screen/official/carWarning.vue

@@ -22,7 +22,7 @@
         <div style="display: flex;align-items: center">
           <img src="../../../assets/zhang/public_car.png" width="58" style="margin: 0 5px 0 33px">
           <div style="width: 108px;height: 24px;color: #00FFFF;font-size: 34px;margin-bottom: 10px">
-            <span style="font-family: 'electronicFont'">{{ manageTopHalf.avgPcdNum }}</span>
+            <span style="font-family: 'electronicFont'">{{ Math.round(manageTopHalf.avgPcdNum) }}</span>
             <span style="width: 15px;height: 24px;font-size: 14px;align-content: end">单</span>
           </div>
         </div>
@@ -48,7 +48,7 @@
         <div style="display: flex;align-items: center">
           <img src="../../../assets/zhang/public_car.png" width="58" style="margin: 0 5px 0 33px">
           <div style="width: 108px;height: 24px;color: #00FFFF;font-size: 34px;margin-bottom: 10px">
-            <span style="font-family: 'electronicFont'">{{ manageTopHalf.avgMile }}</span>
+            <span style="font-family: 'electronicFont'">{{ Math.round(manageTopHalf.avgMile) }}</span>
             <span style="width: 15px;height: 24px;font-size: 14px;align-content: end">公里</span>
           </div>
         </div>