feat: panel布局、单值图、line图等
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user