Commit 4439f594 authored by xinzhedeai's avatar xinzhedeai

问题修改

parent 036c545d
......@@ -24,8 +24,8 @@
</head>
<body style="background-image: url('../static/bg-img.png');background-size: 100% 100%;">
<div id="app">
<div style="height: 80px;">
<div id="app" v-cloak>
<div style="height: 80px;" >
<div class="flex-text color-theme f30 wp100 relative maxIndex fixed" style="height: 80px;">
<div class="flex-1"
style="background-image: url('../static/title-bg-left.png');background-size: 100% 100%;height: 80px;">
......@@ -83,10 +83,13 @@
</div>
<!-- 右侧容器 -->
<div style="width: calc(100vw - 490px); height: calc(100vh - 110px);">
<div v-if="filePath" style="width: calc(100vw - 490px); height: calc(100vh - 110px);">
<img :src="filePath" alt="" srcset="" style="width: 100%; height: 100%;">
<p>{{emptyText}}</p>
<!-- <img src="https://dummyimage.com/200x275" alt="" srcset="" style="width: 100%; height: 100%;"> -->
</div>
<div v-else class="mt5" style="width: 100%;height:740px;display:flex; align-items:center; justify-content:center;">
<p>暂无数据</p>
</div>
</div>
</div>
......@@ -118,7 +121,7 @@
// 视频ai报警 列表
aiList: [],
filePath: ''
filePath: '',
}
},
watch: {
......@@ -135,7 +138,9 @@
type: '8' // 1:矿山全景2:资源储量3:开发利用4:地质环境5:绿色矿山6:水监测 7:土监测
}
}).then(res => {
if(res.data.body){
this.filePath = host + '/file' + res.data.body
}
});
this.isReady = true
......
......@@ -328,8 +328,8 @@
show: true
},
axisTick: { show: true },
min: 0,
max: 100,
min: -20,
max: 20,
title: {
text: 'Precipitation', // 这是你的 Y 轴标题
color: '#a3e4f5' // 这里设置你的颜色,你可以使用十六进制颜色代码,如 '#FF0000',或者 RGB 等
......
[v-cloak] {
display: none;
}
.mineInfo {
padding-left: 10px;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment