yudao-dev/src/views/databoard/kiln/index.vue

71 lines
1.2 KiB
Vue
Raw Normal View History

2023-12-04 17:00:40 +08:00
<!--
filename: KilnDataBoard.vue
author: liubin
date: 2023-12-04 16:51:00
description:
-->
<template>
<div
class="KilnDataBoard"
style="
position: absolute;
top: -8px;
left: -16px;
width: calc(100% + 28px);
height: calc(100% + 38px);
display: flex;
flex-direction: column;
gap: 16px;
">
2023-12-06 15:29:11 +08:00
<KHeader />
2023-12-05 15:44:22 +08:00
<div
2023-12-04 17:00:40 +08:00
class="main-body"
2023-12-06 15:29:11 +08:00
style="flex: 1; display: flex; gap: 16px; padding: 8px 16px">
2023-12-06 09:47:06 +08:00
<div class="left-side" style="flex: 2">
<LeftFour />
</div>
2023-12-06 10:38:56 +08:00
<div class="right-side" style="flex: 1">
<RightTwo />
</div>
2023-12-06 09:47:06 +08:00
</div>
2023-12-12 11:11:10 +08:00
</div>
2023-12-04 17:00:40 +08:00
</template>
<script>
2023-12-06 09:47:06 +08:00
import KHeader from '../components/Header.vue';
import LeftFour from './LeftFour.vue';
2023-12-06 10:38:56 +08:00
import RightTwo from './RightTwo.vue';
2023-12-05 17:00:55 +08:00
2023-12-04 17:00:40 +08:00
export default {
name: 'KilnDataBoard',
2023-12-05 17:00:55 +08:00
components: {
2023-12-06 09:47:06 +08:00
KHeader,
LeftFour,
2023-12-06 10:38:56 +08:00
RightTwo,
2023-12-05 17:00:55 +08:00
},
2023-12-12 11:11:10 +08:00
// provide() {
// return {
// resizeChart: null,
// };
// },
mounted() {
// this.$el.addEventListener('resize', () => {
// console.log('resizzzze...')
// this.resizeChart = Math.random();
// });
},
2023-12-04 17:00:40 +08:00
data() {
return {};
},
};
</script>
<style scoped lang="scss">
.KilnDataBoard {
2023-12-06 09:47:06 +08:00
background: url(../assets/bg.png) no-repeat;
background-size: cover;
background-position: 0 0;
2023-12-04 17:00:40 +08:00
}
</style>