邓洁: 首屏面板的loading
This commit is contained in:
@@ -4,7 +4,8 @@
|
||||
:style="{ backgroundImage: 'url(' + getImageUrl(bgImage) + ')' }">
|
||||
<div class="title">有害气体</div>
|
||||
<div v-if="badGasList==null||badGasList.length===0" class="showNull">
|
||||
暂无数据~
|
||||
<div class="loading" v-if="loading===0"></div>
|
||||
{{loading===0?'加载中...':'暂无数据~'}}
|
||||
</div>
|
||||
<div v-else class="info-list">
|
||||
<gas-info-item
|
||||
@@ -55,7 +56,8 @@ import {getBadGasEchartsInfo} from "@/api/largeScreen";
|
||||
const props = defineProps({
|
||||
list: Array,
|
||||
badGasData: Array,
|
||||
tunnelId: Number
|
||||
tunnelId: Number,
|
||||
loading: Number,
|
||||
});
|
||||
const timeList = ref(["年", "月", "日"]);
|
||||
const selectTimeButton = ref(2);
|
||||
|
||||
Reference in New Issue
Block a user