fix: 修复详情样式
This commit is contained in:
@@ -75,9 +75,16 @@
|
||||
background-color: white;
|
||||
}
|
||||
&>.cn-entity-detail .entity-detail__body>.cn-panel2 {
|
||||
.panel-chart {
|
||||
.chart-header.panel-chart-block {
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
.panel-chart-table.panel-chart {
|
||||
.cn-chart {
|
||||
height: calc(100% - 47px) !important;
|
||||
}
|
||||
}
|
||||
.chart-list {
|
||||
.vue-grid-layout .vue-grid-item {
|
||||
.panel-chart-group.panel-chart {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="chart-header" :class="{'chart-header--title-chart': isTitle, 'is-group-collapse': chartInfo.params&&chartInfo.params.collpase}">
|
||||
<div class="chart-header" :class="{'chart-header--title-chart': isTitle, 'is-group-collapse': chartInfo.params&&chartInfo.params.collpase, 'panel-chart-block': isBlock}">
|
||||
<div class="chart-header__title" v-if="!isCurrentTable&&(isGroup)" :class="{'chart-header__title--block': isBlock}">
|
||||
<span @click="groupShow"> <i class="cn-icon" :class="chartInfo.params&&chartInfo.params.collpase ? 'cn-icon-arrow-right': 'cn-icon-arrow-down'"></i></span>
|
||||
{{chartInfo.name}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<!-- chart外层箱子 -->
|
||||
<div
|
||||
:class="{'panel-chart--fullscreen': isFullscreen, 'panel-chart--title-chart': isTitle, 'panel-chart-group': isGroup}"
|
||||
:class="{'panel-chart--fullscreen': isFullscreen, 'panel-chart--title-chart': isTitle, 'panel-chart-group': isGroup,'panel-chart-table': isTable}"
|
||||
class="panel-chart"
|
||||
:id="isFullscreen ? ('chart-screen-' + chartInfo.id ) : ('chart-local-' + chartInfo.id)"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user