|
@@ -549,7 +549,17 @@
|
|
|
</div>
|
|
|
|
|
|
<div class="chart-bottom-insruction-info">
|
|
|
-
|
|
|
+
|
|
|
+ <!-- 图表说明 -->
|
|
|
+ <div
|
|
|
+ class="chart-instruction"
|
|
|
+ v-if="chartInfo.Instructions&&JSON.parse(chartInfo.Instructions).isShow"
|
|
|
+ v-text="JSON.parse(chartInfo.Instructions).text"
|
|
|
+ :style="`
|
|
|
+ color: ${JSON.parse(chartInfo.Instructions).color};
|
|
|
+ fontSize: ${ JSON.parse(chartInfo.Instructions).fontSize }px
|
|
|
+ `"
|
|
|
+ ></div>
|
|
|
<div class="chart-source">
|
|
|
<span
|
|
|
v-if="chartInfo.SourcesFrom"
|
|
@@ -599,17 +609,6 @@
|
|
|
<el-radio-button label="公历">{{$t('Chart.calendar_gre')}}</el-radio-button>
|
|
|
<el-radio-button label="农历">{{$t('Chart.calendar_lunar_text')}}</el-radio-button>
|
|
|
</el-radio-group>
|
|
|
-
|
|
|
- <!-- 图表说明 -->
|
|
|
- <div
|
|
|
- class="chart-instruction"
|
|
|
- v-if="chartInfo.Instructions&&JSON.parse(chartInfo.Instructions).isShow"
|
|
|
- v-text="JSON.parse(chartInfo.Instructions).text"
|
|
|
- :style="`
|
|
|
- color: ${JSON.parse(chartInfo.Instructions).color};
|
|
|
- fontSize: ${ JSON.parse(chartInfo.Instructions).fontSize }px
|
|
|
- `"
|
|
|
- ></div>
|
|
|
</div>
|
|
|
|
|
|
|
|
@@ -1342,6 +1341,13 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ .chart-bottom-insruction-info{
|
|
|
+ display:block;
|
|
|
+ .chart-instruction{
|
|
|
+ margin-bottom:16px;
|
|
|
+ width:auto;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|
|
|
<style lang="scss">
|