智慧园区前端大屏
src/views/pac/components/box/fireSource.vue
@@ -2,13 +2,15 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2023-03-13 14:54:26
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2023-03-13 15:00:55
 * @FilePath: \forest-fire\src\views\statistics\components\box\dataContent.vue
 * @LastEditTime: 2024-11-27 14:30:53
 * @FilePath: \bigScreen\src\views\pac\components\box\fireSource.vue
 * @Description: 
 * 
 * Copyright (c) 2023 by ${git_name_email}, All Rights Reserved. 
-->
<script setup>
import { Picture } from '@element-plus/icons-vue'
import publicContent from './publicContent.vue'
import { getAssetsFile } from 'utils/utils'
const one = getAssetsFile('one.png', '/img')
@@ -16,14 +18,13 @@
const three = getAssetsFile('three.png', '/img')
import { usePointStore } from 'store/usepoint'
const pointStore = usePointStore()
const sharedData = computed(() => pointStore.sharedData);
const sharedData = computed(() => pointStore.sharedData)
let indexValue = ref(1)
watch(sharedData, (newValue) => {
    indexValue.value = newValue
    // console.log(newValue, "************************************************")
});
})
</script>
<template>
@@ -37,7 +38,9 @@
                            :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>
@@ -54,7 +57,9 @@
                            :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>
@@ -81,7 +86,9 @@
                            :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>
@@ -108,9 +115,8 @@
.content_text_box {
    height: 530px;
    overflow: scroll;
    // 隐藏滚动条
    scrollbar-width: none;
  overflow: hidden;
  overflow-y: auto;
}