67 lines
1.3 KiB
Vue
67 lines
1.3 KiB
Vue
<!--
|
|
filename: FanSequence.vue
|
|
author: liubin
|
|
date: 2023-12-06 09:40:51
|
|
description:
|
|
-->
|
|
|
|
<template>
|
|
<Container name="风机运行频率" size="middle" style="">
|
|
<!-- <div class="" style="position: absolute; top: 26px; left: 220px">
|
|
<Switcher />
|
|
</div> -->
|
|
<div
|
|
class="absolute"
|
|
style="
|
|
padding: 5px 12px;
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
grid-auto-rows: auto;
|
|
gap: 10px;
|
|
">
|
|
<ShadowRect v-for="(value, key, i) in fanFrequencyInfo" :key="i" :rounded="false">
|
|
<span
|
|
style="
|
|
font-size: 18px;
|
|
line-height: 1.15;
|
|
flex: 3.5;
|
|
text-align: right;
|
|
padding-right: 8px;
|
|
letter-spacing: 1px;
|
|
">
|
|
{{ key }}:
|
|
</span>
|
|
<span style="font-size: 20px; line-height: 1.15; flex: 1">
|
|
{{ value }}Hz
|
|
</span>
|
|
</ShadowRect>
|
|
</div>
|
|
</Container>
|
|
</template>
|
|
|
|
<script>
|
|
import Container from '../components/Container.vue';
|
|
import ShadowRect from '../components/ShadowRect.vue';
|
|
// import Switcher from '../components/Switcher';
|
|
export default {
|
|
name: 'FanSequence',
|
|
components: { Container, ShadowRect },
|
|
computed: {
|
|
fanFrequencyInfo() {
|
|
return this.$store.state.websocket.fanFrequencyInfo
|
|
}
|
|
},
|
|
props: {},
|
|
data() {
|
|
return {};
|
|
},
|
|
mounted() {
|
|
|
|
},
|
|
methods: {
|
|
}
|
|
};
|
|
</script>
|
|
|
|
<style scoped lang="scss"></style>
|