From a07f79573d52f61ba6ec97766e9abc12309eadee Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 17 Dec 2024 19:05:58 +0800
Subject: [PATCH] 事件模拟更新
---
src/views/survey/components/box/fireSource.vue | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/src/views/survey/components/box/fireSource.vue b/src/views/survey/components/box/fireSource.vue
index 6926730..c985430 100644
--- a/src/views/survey/components/box/fireSource.vue
+++ b/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;
--
Gitblit v1.9.3