feat: panel布局、单值图、line图等

This commit is contained in:
chenjinsong
2021-06-20 13:31:55 +08:00
parent dd94703db0
commit 5a02d866b8
25 changed files with 856 additions and 52 deletions

View File

@@ -1,6 +1,9 @@
<template>
<div class="cn-container">
<router-view :key="routerKey"/>
<!-- 临时文本dom用来计算文本长度 -->
<span class="temp-dom temp-dom--12"></span>
<span class="temp-dom temp-dom--14"></span>
</div>
</template>
@@ -22,10 +25,22 @@ export default {
<style lang="scss">
.cn-container {
height: calc(100% - 50px);
background-color: #f6f6f6;
background-color: $--content-right-background-color;
width: 100%;
&>div {
height: 100%;
}
.temp-dom {
visibility: hidden;
font-size: 14px;
position: fixed;
}
.temp-dom--12 {
font-size: 12px;
}
.temp-dom--14 {
font-size: 14px;
}
}
</style>