fix: 修复详情样式

This commit is contained in:
@changcode
2022-02-08 12:01:47 +08:00
parent ce963cd200
commit f365d8bb11
3 changed files with 11 additions and 4 deletions

View File

@@ -75,9 +75,16 @@
background-color: white; background-color: white;
} }
&>.cn-entity-detail .entity-detail__body>.cn-panel2 { &>.cn-entity-detail .entity-detail__body>.cn-panel2 {
.panel-chart {
.chart-header.panel-chart-block {
border: none;
}
}
.panel-chart-table.panel-chart {
.cn-chart { .cn-chart {
height: calc(100% - 47px) !important; height: calc(100% - 47px) !important;
} }
}
.chart-list { .chart-list {
.vue-grid-layout .vue-grid-item { .vue-grid-layout .vue-grid-item {
.panel-chart-group.panel-chart { .panel-chart-group.panel-chart {

View File

@@ -1,5 +1,5 @@
<template> <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}"> <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> <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}} {{chartInfo.name}}

View File

@@ -1,7 +1,7 @@
<template> <template>
<!-- chart外层箱子 --> <!-- chart外层箱子 -->
<div <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" class="panel-chart"
:id="isFullscreen ? ('chart-screen-' + chartInfo.id ) : ('chart-local-' + chartInfo.id)" :id="isFullscreen ? ('chart-screen-' + chartInfo.id ) : ('chart-local-' + chartInfo.id)"
> >