lg_frontend/components/peak-coal-monitoring/AtmosphericModule.vue

67 lines
1.4 KiB
Vue
Raw Normal View History

2024-03-05 12:02:32 +00:00
<template>
<div class="atmospheric-module">
<peak-secondary-title :title="title"/>
2024-03-08 13:34:45 +00:00
<div class="charts-info">
<changes-pollutants />
2024-03-05 12:02:32 +00:00
</div>
</div>
</template>
<script>
import PeakSecondaryTitle from "@/components/peak-coal-monitoring/PeakSecondaryTitle";
2024-03-08 13:34:45 +00:00
import ChangesPollutants from "@/components/peak-coal-monitoring/ChangesPollutants";
import PeakAirQuality from "@/components/peak-coal-monitoring/PeakAirQuality";
2024-03-05 12:02:32 +00:00
export default {
name: "AtmosphericModule",
2024-03-08 13:34:45 +00:00
components: {PeakAirQuality, ChangesPollutants, PeakSecondaryTitle},
data() {
return {
title: '本市空气质量',
2024-03-05 12:02:32 +00:00
}
},
methods: {
}
}
</script>
<style scoped lang="less">
@import "../../assets/styles/mixin";
2024-03-08 13:34:45 +00:00
.atmospheric-module {
2024-03-05 12:02:32 +00:00
height: 100%;
width: 100%;
.flex-column;
2024-03-08 13:34:45 +00:00
._tab {
2024-03-05 12:02:32 +00:00
margin-top: 10px;
width: 100%;
height: 30px;
.flex-row;
2024-03-08 13:34:45 +00:00
.tab-item {
2024-03-05 12:02:32 +00:00
width: 50%;
height: 100%;
font-family: MicrosoftYaHei-Bold;
font-size: 14px;
color: #FFFFFF;
letter-spacing: 0;
text-align: center;
2024-03-08 13:34:45 +00:00
text-shadow: 0 2px 2px rgba(0, 0, 0, 0.50);
2024-03-05 12:02:32 +00:00
font-weight: 700;
cursor: pointer;
}
2024-03-08 13:34:45 +00:00
.active-tab {
2024-03-05 12:02:32 +00:00
background: url("~/assets/peakCoalMonitoring/common/tab-active-bg.png") no-repeat;
background-size: 100% 100%;
}
}
2024-03-08 13:34:45 +00:00
.charts-info {
flex: 1;
height: 0;
}
2024-03-05 12:02:32 +00:00
}
</style>