修改 时间组件

This commit is contained in:
GGJ
2024-01-04 16:43:07 +08:00
parent 450b37fae9
commit 05703d4267
7 changed files with 130 additions and 24 deletions

View File

@@ -11,7 +11,7 @@
<script setup lang="ts">
import MyEchart from '@/components/echarts/MyEchart.vue'
import { reactive, ref, defineExpose } from 'vue'
import { mainHeight } from '@/utils/layout'
let areaStatistics = ref({})
let voltageStatistics = ref({})
let monthlyStatistics = ref({})
@@ -283,12 +283,13 @@ const Relation = (list: any) => {
}
// Processing()
defineExpose({ Processing, Grade, Relation })
const layout = mainHeight(140) as any
</script>
<style lang="scss" scoped>
.bars_w {
width: 100%;
height: calc((100vh - 195px) / 2);
height: calc(v-bind('layout.height') / 2);
}
.separate {
display: flex;