From 0778b2d3fcaaade08b07a5c0fc1897f537ddb75d Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Fri, 08 Nov 2024 11:01:26 +0800
Subject: [PATCH] 风险源
---
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