123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- <template>
-
- <div class="nitrogen-box">
- <customHeader>智能注氮管控系统</customHeader>
- <!-- <nitrogenHome v-if="btnActive == 'nitrogen_page'" /> -->
- <nitrogenHome1 v-if="btnActive == 'nitrogen_page1'" />
- <nitrogenEcharts v-if="btnActive == 'yfj_monitor_echarts'"/>
- <nitrogenHistory v-if="btnActive == 'yfj_history'"/>
- <nitrogenHandleHistory v-if="btnActive == 'yfj_handler_history'"/>
- <nitrogenAlarmHistory v-if="btnActive == 'yfj_faultRecord'"/>
- <BottomMenu :nav-list="navList" @change="changeActive"/>
- </div>
-
- </template>
- <script lang="ts" setup>
- import { ref } from 'vue'
- import customHeader from '/@/views/vent/comment/components/customHeader.vue';
- // import nitrogenHome from './components/nitrogenHome.vue'
- import nitrogenHome1 from './components/nitrogenHome1.vue'
- import nitrogenEcharts from './components/nitrogenEcharts.vue'
- import nitrogenHistory from './components/nitrogenHistory.vue'
- import nitrogenHandleHistory from './components/nitrogenHandleHistory.vue'
- import nitrogenAlarmHistory from './components/nitrogenAlarmHistory.vue'
- import BottomMenu from '/@/views/vent/comment/components/bottomMenu.vue';
- const loading = ref(true)
- const btnActive = ref('nitrogen_page1')
- const navList = ref([
- {
- title: '监控界面',
- pathName: 'nitrogen_page1',
- isHover: true
- },
- {
- title: '历史监测记录',
- pathName: 'yfj_history',
- isHover: false
- },
- {
- title: '操作历史记录',
- pathName: 'yfj_handler_history',
- isHover: false
- },
- {
- title: '故障诊断历史记录',
- pathName: 'yfj_faultRecord',
- isHover: false
- }
- ])
- function changeActive(activeValue) {
- btnActive.value = activeValue
- }
- </script>
- <style lang="less" scoped>
- @ventSpace: zxm;
- .nitrogen-home-header {
- width: 100%;
- height: 100px;
- position: fixed;
- top: 0;
- background: url('/@/assets/images/vent/new-home/header-bg.png') no-repeat;
- background-size: contain;
- display: flex;
- justify-content: center;
- .header-icon {
- margin-top: 45px;
- }
- .header-text {
- position: fixed;
- top: 18px;
- color: #fff;
- font-size: 24px;
- }
- }
- .nitrogen-box{
- width: 100%;
- height: 100%;
- display: flex;
- justify-content: center;
- .bottom-btn-group {
- display: flex;
- position: fixed;
- width: calc(100% - 400px);
- height: 100px;
- bottom: 10px;
- align-items: center;
- justify-content: center;
- z-index: 2;
- .btn-item {
- width: 200px;
- height: 60px;
- margin: 10px;
- color: #fff;
- cursor: pointer;
- pointer-events: auto;
- }
- }
- &:deep(.win) {
- margin: 0 !important;
- }
- }
- </style>
|