Sfoglia il codice sorgente

refactor:样式修改

liu_w601 3 mesi fa
parent
commit
2cdb47c40f
1 ha cambiato i file con 10 aggiunte e 5 eliminazioni
  1. 10 5
      src/views/video-play-popup/inspect.vue

+ 10 - 5
src/views/video-play-popup/inspect.vue

@@ -10,7 +10,7 @@
         <div class="col">已巡查时间:{{ formatTime(currentTime) }}</div>
       </div>
       <div class="row">
-        <div class="col">巡查点位数:{{ taskInfo?.countPatrolPoints}}个</div>
+        <div class="col">巡查点位数:{{ taskInfo?.countPatrolPoints }}个</div>
         <div class="col">预计剩余时间:{{ formatTime(remainingTime) }}</div>
       </div>
       <div class="row">
@@ -41,7 +41,6 @@
         <el-button type="primary" @click="closeVideoDialog">停止巡河</el-button>
       </div>
     </div>
-    
   </div>
 </template>
 
@@ -63,8 +62,8 @@ export default {
       securityPatrolName: '',
       responsiblePerson: '',
       securityPatrolContext: '',
-      taskInfo:{},
-      nextName:'',
+      taskInfo: {},
+      nextName: '',
       num: 0,
       devName: '',
       type: 'add'
@@ -77,7 +76,7 @@ export default {
   },
   created() {
     this.$globalEventBus.$on('clickVideoInspectPlay', (data) => {
-      if(this.timer){
+      if (this.timer) {
         clearInterval(this.timer)
       }
       this.currentTime = 0
@@ -164,6 +163,12 @@ export default {
     width: px-to-rem(600);
     height: px-to-rem(350);
     padding: px-to-rem(13) px-to-rem(20);
+    .title {
+      font-weight: 400;
+      font-size: px-to-rem(16);
+      color: #ffffff;
+      margin-bottom: px-to-rem(10);
+    }
   }
   .video-info {
     font-weight: 400;