web
昨天 d16d04d80e42802e9caaacee9617159921e18b93
src/views/screen/flow/graphic/index.vue
@@ -16,6 +16,7 @@
const playerData = ref([])
const showFullScreen = ref(false)
const fullIndex = ref()
let timer = null
// 全屏弹窗
const handleFullScreen = (index) => {
@@ -67,6 +68,14 @@
    getFlowVideoData({pointId: id, pointName: searchVal.value}).then(async res => {
        playerData.value = res.data
    })
    if(timer) clearTimeout(timer)
    timer = setInterval(() => {
        getFlowVideoData({pointId: id, pointName: searchVal.value}).then(async res => {
            playerData.value = res.data
        })
    }, 10000)
}
@@ -121,7 +130,7 @@
                    <div class="item" v-for="(item, index) in playerData" :key="index">
                        <div class="title">{{ item.pointName }}</div>
                        <div class="item-video" :id="`player${index}`">
                            <VideoPlayer :item="item" :autoPlay="false" />
                            <VideoPlayer :item="item" :autoPlay="true" />
                        </div>
                        <div class="info">
                            <div class="info-list">