智慧园区前端大屏
shuishen
2024-12-18 9a37c5e1b2190c3f6ec71483923922189091dd52
src/views/survey/components/box/fireSource.vue
@@ -1,4 +1,5 @@
<script setup>
import { Picture } from '@element-plus/icons-vue'
import { inject, Text } from 'vue'
const { VITE_APP_BASE } = import.meta.env
@@ -70,7 +71,7 @@
})
// 获取详情
function getData() {
function getData () {
  getDetail().then(res => {
    state.parkInfo = res.data.data
    parkInfoList.forEach(item => {
@@ -96,7 +97,9 @@
            :min-scale="0.2" :preview-src-list="[state.parkInfo.imageUrls]" :initial-index="4" fit="cover">
            <template #error>
              <div class="image-slot">
                <el-icon><icon-picture /></el-icon>
                <el-icon>
                  <Picture />
                </el-icon>
              </div>
            </template>
          </el-image>
@@ -139,7 +142,7 @@
.box-content-img {
  height: 380px;
  height: 280px;
  line-height: 28px;
  // 隐藏滚动条
  scrollbar-width: none;