web
14 小时以前 d20fcd6ad28a534d763273c48381cdc36ff2891f
src/views/screen/flow/home/index.vue
@@ -6,7 +6,7 @@
                <div class="point-address" @click="handleShow(index)"></div>
                <div class="point-message" v-show="item.showMsg">
                    <div class="msg-box">
                        <div class="video-box" :style="{backgroundImage: `url(${item.imageRul})`}">
                        <div class="video-box" :style="{backgroundImage: `url(${item.imageRul})`}" @click="jumpMonitor(item.id)">
                            <el-icon><VideoPlay /></el-icon>
                        </div>
                        <div class="info-box">
@@ -44,6 +44,8 @@
<script setup>
import {ref, onMounted} from "vue";
import {getHomePonit} from '@/api/screen/home/index.js'
import {useRouter} from "vue-router";
const router = useRouter();
// 标点配置
const config = [
@@ -75,6 +77,11 @@
    })
}
// 跳转监控点
const jumpMonitor = (id) => {
    router.push({ path: `/flow/graphic/${id}` })
}
const handleShow = (index) => {
    pointList.value[index].showMsg = !pointList.value[index].showMsg;
}