Merge branch 'dev-3.10' of git.mesalab.cn:nezha/nezha-fronted into dev-3.10
This commit is contained in:
@@ -20,6 +20,12 @@
|
|||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
background-color: $--background-color-base;
|
background-color: $--background-color-base;
|
||||||
&>div {
|
&>div {
|
||||||
|
background-color: $--background-color-empty;
|
||||||
|
}
|
||||||
|
.nz-table-list>div{
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
&>.chart-list-box{
|
||||||
background-color: $--chart-box-background-color;
|
background-color: $--chart-box-background-color;
|
||||||
&>.table-list-box {
|
&>.table-list-box {
|
||||||
background-color: $--chart-box-background-color;
|
background-color: $--chart-box-background-color;
|
||||||
@@ -33,9 +39,6 @@
|
|||||||
padding-bottom: 5px;
|
padding-bottom: 5px;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
.nz-table-list>div{
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.main-list.main-list-with-sub {
|
.main-list.main-list-with-sub {
|
||||||
height: 50%;
|
height: 50%;
|
||||||
|
|||||||
@@ -44,11 +44,25 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
&>.chart-list-box{
|
||||||
|
&>.table-list-box {
|
||||||
|
background-color: $--chart-box-background-color;
|
||||||
|
}
|
||||||
|
.vue-grid-item {
|
||||||
|
background-color: $--chart-background-color-base
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
& > .bottom-dashboard {
|
& > .bottom-dashboard {
|
||||||
padding: 15px 10px 0px 10px !important;
|
padding: 15px 10px 0px 10px !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.bottom-data-list .chart-list-box {
|
||||||
|
background-color: $--chart-box-background-color;
|
||||||
|
.nz-table-list{
|
||||||
|
background-color: $--chart-box-background-color;
|
||||||
|
}
|
||||||
|
}
|
||||||
.sub-top-tools .top-tool-btn-txt .nz-icon {
|
.sub-top-tools .top-tool-btn-txt .nz-icon {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
|||||||
@@ -38,7 +38,7 @@
|
|||||||
:table-class="true"
|
:table-class="true"
|
||||||
></element-set>
|
></element-set>
|
||||||
</transition>
|
</transition>
|
||||||
<div class="sub-container">
|
<div class="sub-container" :class="subBoxClass">
|
||||||
<div :class="subContentClass">
|
<div :class="subContentClass">
|
||||||
<slot></slot>
|
<slot></slot>
|
||||||
</div>
|
</div>
|
||||||
@@ -106,6 +106,9 @@ export default {
|
|||||||
hideHeader: {
|
hideHeader: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false
|
default: false
|
||||||
|
},
|
||||||
|
subBoxClass: {
|
||||||
|
type: String
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
:tabs="tabs"
|
:tabs="tabs"
|
||||||
:targetTab="targetTab"
|
:targetTab="targetTab"
|
||||||
@changeTab="changeTab"
|
@changeTab="changeTab"
|
||||||
|
:subBoxClass="'chart-list-box'"
|
||||||
class="full-width-height"
|
class="full-width-height"
|
||||||
:customClassName="paramsType === 'template' ? 'dashboard-tab-temp dashboard-tab-template' : 'dashboard-tab-temp'"
|
:customClassName="paramsType === 'template' ? 'dashboard-tab-temp dashboard-tab-template' : 'dashboard-tab-temp'"
|
||||||
:showPagination="false"
|
:showPagination="false"
|
||||||
@@ -88,7 +89,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<!--图表-->
|
<!--图表-->
|
||||||
<div id="tableList" class="table-list" style="padding-top: 0;overflow: hidden">
|
<div id="tableList" class="table-list chart-list-box" style="padding-top: 0;overflow: hidden">
|
||||||
<div id="dashboardScrollbar" class="table-list-box">
|
<div id="dashboardScrollbar" class="table-list-box">
|
||||||
<div class="box-content" ref="dashboardScrollbar" v-my-loading="chartListLoading" style="overflow-y: scroll;display: flex;flex-direction: column;overflow-x: hidden">
|
<div class="box-content" ref="dashboardScrollbar" v-my-loading="chartListLoading" style="overflow-y: scroll;display: flex;flex-direction: column;overflow-x: hidden">
|
||||||
<panel-variables :labelArrs="variables" :time-range="searchTime" @getPanelData="getPanelData"></panel-variables>
|
<panel-variables :labelArrs="variables" :time-range="searchTime" @getPanelData="getPanelData"></panel-variables>
|
||||||
|
|||||||
@@ -95,7 +95,7 @@
|
|||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="tableList" class="table-list" style='overflow-y: unset'>
|
<div id="tableList" class="table-list chart-list-box" style='overflow-y: unset'>
|
||||||
<div class="table-list-box">
|
<div class="table-list-box">
|
||||||
<div id="dashboardScrollbar" class="box-content" v-my-loading="chartListLoading" ref="dashboardScrollbar" style='overflow-y: scroll;display: flex;flex-direction: column;overflow-x: hidden'>
|
<div id="dashboardScrollbar" class="box-content" v-my-loading="chartListLoading" ref="dashboardScrollbar" style='overflow-y: scroll;display: flex;flex-direction: column;overflow-x: hidden'>
|
||||||
<panel-variables :labelArrs="variables" :time-range="searchTime" @getPanelData="getPanelData"></panel-variables>
|
<panel-variables :labelArrs="variables" :time-range="searchTime" @getPanelData="getPanelData"></panel-variables>
|
||||||
|
|||||||
Reference in New Issue
Block a user