Files
admin-govern/src/views/dashboard/index.vue

27 lines
584 B
Vue
Raw Normal View History

2023-12-21 16:42:39 +08:00
<template>
2023-12-26 14:15:05 +08:00
<el-tabs v-model="activeName" type="border-card">
<el-tab-pane label="图形" name="1">
<Echart />
</el-tab-pane>
<el-tab-pane label="表格" name="2">Config</el-tab-pane>
</el-tabs>
2023-12-22 10:22:22 +08:00
</template>
2023-12-26 14:15:05 +08:00
<script setup lang="ts">
import { reactive, ref } from 'vue'
const activeName = ref('1')
import Echart from '@/views/dashboard/components/echart.vue'
2023-12-22 10:22:22 +08:00
</script>
2023-12-26 14:15:05 +08:00
<style lang="scss" scoped>
.bars_w {
width: 100%;
height: 500px;
}
2023-12-26 14:51:03 +08:00
::v-deep(.el-tabs__content) {
2023-12-26 15:01:03 +08:00
height: calc(100vh - 111px);
2023-12-26 14:51:03 +08:00
overflow-y: auto;
}
2023-12-26 14:15:05 +08:00
</style>