style: asset,endpoint 底部二级菜单,detail,Metrcs 样式调整

This commit is contained in:
@changcode
2021-10-20 16:22:19 +08:00
parent e7b7f5ef8f
commit cf1f83dcba
4 changed files with 9 additions and 3 deletions

View File

@@ -417,5 +417,11 @@ export default {
.bottom-box .sub-container .nz-table2{ .bottom-box .sub-container .nz-table2{
height: calc(100% - 20px); height: calc(100% - 20px);
} }
.asset-detail .sub-container .nz-table2 {
height: 100%;
}
.endpoint-tab-new .sub-container .nz-table2 {
height: 100%;
}
/* end--二级顶部工具栏*/ /* end--二级顶部工具栏*/
</style> </style>

View File

@@ -1,5 +1,5 @@
<template> <template>
<div class="full-width-height"> <div class="full-width-height endpoint-tab-new">
<nz-bottom-data-list <nz-bottom-data-list
:api="url" :api="url"
:layout="['searchInput', 'elementSet']" :layout="['searchInput', 'elementSet']"

View File

@@ -1,5 +1,5 @@
<template> <template>
<div class="full-width-height chart-list"> <div class="full-width-height chart-list asset-detail">
<nz-bottom-data-list <nz-bottom-data-list
:layout="[]" :layout="[]"
:tabs="tabs" :tabs="tabs"

View File

@@ -231,7 +231,7 @@ export const bottomBoxWindow = {
fullScreen (vm) { fullScreen (vm) {
window.resizing = true window.resizing = true
const contentRightDom = document.querySelector('.list-page') // 右侧内容区 const contentRightDom = document.querySelector('.list-page') // 右侧内容区
const contentRightHeight = contentRightDom.offsetHeight// 可视高度 const contentRightHeight = contentRightDom.offsetHeight - 9// 可视高度
vm.bottomBox.isFullScreen = true vm.bottomBox.isFullScreen = true
// 主列表 // 主列表
vm.bottomBox.mainListHeight = document.querySelector('.main-list-with-sub').offsetHeight // 记录全屏前主列表的高度 vm.bottomBox.mainListHeight = document.querySelector('.main-list-with-sub').offsetHeight // 记录全屏前主列表的高度