智慧园区前端大屏
linwe
2024-11-08 0778b2d3fcaaade08b07a5c0fc1897f537ddb75d
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;
}