48 lines
767 B
Vue
Raw Normal View History

2022-08-02 09:10:00 +08:00
<template>
2022-08-02 19:38:46 +08:00
<!-- 环境监测 -->
<div class="contentBox">
2022-08-02 09:10:00 +08:00
<div class="titleTxt">{{ title }}</div>
<div class="air" >
<airQulityChart :show="true"></airQulityChart>
</div>
2022-08-02 19:38:46 +08:00
<!-- :show="true" -->
</div>
2022-08-02 09:10:00 +08:00
</template>
<script>
2022-08-02 19:38:46 +08:00
import airQulityChart from "../../homePage/environmentWatch.vue"
2022-08-02 09:10:00 +08:00
export default {
2022-08-02 19:38:46 +08:00
components:{airQulityChart},
2022-08-02 09:10:00 +08:00
props: {
title: {
type: String,
default: "default title"
}
},
data() {
return {
2022-08-02 19:38:46 +08:00
}
},
2022-08-02 19:38:46 +08:00
};
2022-08-02 09:10:00 +08:00
</script>
<style lang="less" scoped>
2022-08-02 19:38:46 +08:00
.contentBox {
2022-08-02 09:10:00 +08:00
width: 100%;
height: 100%;
border: 1px solid #0081c3;
.titleTxt {
font-size: 18px;
color: #6ee4f0;
margin-top: 5px;
margin-left: 5px;
}
.air{
2022-08-02 19:38:46 +08:00
width: 100%;
height: 85%;
2022-08-02 19:38:46 +08:00
}
2022-08-02 09:10:00 +08:00
}
</style>