From 8e38cc8536cfda9b6bda8548d63778cbf5f4d634 Mon Sep 17 00:00:00 2001 From: web <candymxq888@outlook.com> Date: 星期六, 26 四月 2025 17:27:57 +0800 Subject: [PATCH] fix:添加个人中心和重置密码 --- src/views/screen/flow/home/index.vue | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/src/views/screen/flow/home/index.vue b/src/views/screen/flow/home/index.vue index dfbc0b7..79da287 100644 --- a/src/views/screen/flow/home/index.vue +++ b/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; } -- Gitblit v1.9.3