From a528da8558e414fa30ba0c01ef9e7603eb870139 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 08 Nov 2024 12:31:45 +0800
Subject: [PATCH] Merge branch 'main' of http://139.196.74.78:10010/r/zhyq/bigScreen
---
src/views/survey/components/box/fireSource.vue | 22 ++++++++++++++--------
1 files changed, 14 insertions(+), 8 deletions(-)
diff --git a/src/views/survey/components/box/fireSource.vue b/src/views/survey/components/box/fireSource.vue
index fe9f2a9..6de2786 100644
--- a/src/views/survey/components/box/fireSource.vue
+++ b/src/views/survey/components/box/fireSource.vue
@@ -1,9 +1,14 @@
<script setup>
-import { Text } from 'vue'
+
+import { inject, Text } from 'vue'
const { VITE_APP_BASE } = import.meta.env
import { getDetail } from '@/api/indParkInfo'
import { getAssetsFile } from 'utils/utils'
+import { useRouterStore } from 'store/router'
+import { useRouter, useRoute } from 'vue-router'
+let router = useRouter()
+const store = useRouterStore()
let state = reactive({
parkInfo: {}
@@ -65,7 +70,7 @@
})
// 获取详情
-function getData () {
+function getData() {
getDetail().then(res => {
state.parkInfo = res.data.data
parkInfoList.forEach(item => {
@@ -79,9 +84,6 @@
console.log(err)
})
}
-
-
-
</script>
<template>
@@ -111,6 +113,8 @@
</div>
</div>
</div>
+
+ <!-- <el-button @click="goSubLayout">跳转a</el-button> -->
</div>
</template>
@@ -128,8 +132,10 @@
.box-content-img {
height: 360px;
- overflow-x: hidden;
- overflow-y: auto;
+ overflow: scroll;
+ // 隐藏滚动条
+ scrollbar-width: none;
+ // overflow-y: auto;
}
.box-content-img img {
@@ -150,7 +156,7 @@
height: 360px;
overflow: scroll;
// 隐藏滚动条
- scrollbar-width: none;
+ // scrollbar-width: none;
}
--
Gitblit v1.9.3