From 7f37e751c1c9f98671bc3fc06216aeb7781dd386 Mon Sep 17 00:00:00 2001 From: hanbaoshan <hanbaoshan@aiotlink.com> Date: 星期三, 24 二月 2021 07:25:58 +0800 Subject: [PATCH] 应用中心已激活板块版式更新,添加更新tab页,添加批量更新应用和sdk功能;朔黄标注时间点格式化 --- src/pages/shuohuangMonitorAnalyze/components/videoAnalyze.vue | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/pages/shuohuangMonitorAnalyze/components/videoAnalyze.vue b/src/pages/shuohuangMonitorAnalyze/components/videoAnalyze.vue index 6572fe8..4153b48 100644 --- a/src/pages/shuohuangMonitorAnalyze/components/videoAnalyze.vue +++ b/src/pages/shuohuangMonitorAnalyze/components/videoAnalyze.vue @@ -111,7 +111,7 @@ <div class="mark-list"> <div class="mark" v-for="mark in curVideo.LableLst" :key="mark.ID"> <div class="time"> - <span>{{mark.Time}}</span> + <span>{{ zeroize(Math.floor(mark.Time/60)) }}:{{ zeroize(mark.Time%60) }}</span> <i class="el-icon-edit" @click="editCurLabel(mark)"></i> <i class="el-icon-delete" @click="removeCurLabel(mark)"></i> </div> @@ -192,7 +192,7 @@ guid: 1, labelDialogVisible: false, curVideo: {}, - isUnusual: 0, + isUnusual:'', videoArrs: [], relativeVideos: [], labelCheckedList: [], @@ -228,6 +228,9 @@ this.getVideos(this.videoDetails); }, methods: { + zeroize(val){ + return val<10?'0'+val:val + }, checkCurVideo (index) { if (this.relativeVideos[index]) { this.curVideo = this.relativeVideos[index]; -- Gitblit v1.8.0