CN-242 Cyptocurrency--配置图表

This commit is contained in:
hanyuxia
2021-12-14 17:21:37 +08:00
parent 6623f6df65
commit 3008b640b5
6 changed files with 13 additions and 11 deletions

View File

@@ -93,7 +93,7 @@
</chart-error>
</template>
<template #title v-if="layout.indexOf(layoutConstant.HEADER) > -1" >
<span :class="{ 'cn-chart__crypto-header':(isEchartsTimeBar||isEchartsCategoryBar)}">{{chartInfo.i18n ? $t(chartInfo.i18n) : chartInfo.name}}</span>
{{chartInfo.i18n ? $t(chartInfo.i18n) : chartInfo.name}}
</template>
<template #operations v-if="layout.indexOf(layoutConstant.HEADER) > -1">
<div class="header__operation header__operation--echarts" v-if="chart.type === 31">
@@ -459,7 +459,7 @@
:errorInfo="errorInfo"
>
</chart-error>
<div class="header__title cn-chart__crypto-header" >
<div class="header__title" >
<span :title="chartInfo.i18n ? $t(chartInfo.i18n) : chartInfo.name">{{chartInfo.i18n ? $t(chartInfo.i18n) : chartInfo.name}}</span>
</div>