|
@ -4,7 +4,6 @@ import homeFinish from 'assets/images/home/home-finish.svg' |
|
|
import homeSettingSvg from 'assets/images/home/home-setting.svg' |
|
|
import homeSettingSvg from 'assets/images/home/home-setting.svg' |
|
|
import BtButton from 'components/common/BTButton/index.vue' |
|
|
import BtButton from 'components/common/BTButton/index.vue' |
|
|
import RunFormulaConfig from 'components/formula/RunFormulaConfig.vue' |
|
|
import RunFormulaConfig from 'components/formula/RunFormulaConfig.vue' |
|
|
import HomeFormula from 'components/home/HomeFormula.vue' |
|
|
|
|
|
import LineChart from 'components/home/LineChart.vue' |
|
|
import LineChart from 'components/home/LineChart.vue' |
|
|
import { stopTimer } from 'libs/countdownTimer' |
|
|
import { stopTimer } from 'libs/countdownTimer' |
|
|
import { FtMessage } from 'libs/message' |
|
|
import { FtMessage } from 'libs/message' |
|
@ -137,19 +136,17 @@ onUnmounted(() => { |
|
|
|
|
|
|
|
|
<template> |
|
|
<template> |
|
|
<main class="main-content"> |
|
|
<main class="main-content"> |
|
|
<div class="line-chart-title"> |
|
|
|
|
|
<div v-if="formulaInfo && formulaInfo.name" class="line-chart-formula"> |
|
|
|
|
|
<HomeFormula style="background: #e0f0ff" /> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
<!-- <div class="line-chart-title"> --> |
|
|
|
|
|
<!-- <div class="line-chart-formula"> --> |
|
|
|
|
|
<!-- <HomeFormula style="background: #e0f0ff" /> --> |
|
|
|
|
|
<!-- </div> --> |
|
|
|
|
|
<!-- </div> --> |
|
|
<div |
|
|
<div |
|
|
v-loading="chartLoading" |
|
|
v-loading="chartLoading" |
|
|
class="line-chart-content" |
|
|
class="line-chart-content" |
|
|
:style="{ 'grid-template-columns': `repeat(${chartList.length},1fr)` }" |
|
|
:style="{ 'grid-template-columns': `repeat(${chartList.length},1fr)` }" |
|
|
> |
|
|
> |
|
|
<div v-for="(item, index) in chartList" :key="index"> |
|
|
|
|
|
<LineChart :env-data="item" /> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
<LineChart v-for="(item, index) in chartList" :key="index" :env-data="item" /> |
|
|
</div> |
|
|
</div> |
|
|
<div class="line-chart-bottom"> |
|
|
<div class="line-chart-bottom"> |
|
|
<div class="home-chart-time"> |
|
|
<div class="home-chart-time"> |
|
@ -273,12 +270,13 @@ onUnmounted(() => { |
|
|
} |
|
|
} |
|
|
.line-chart-content { |
|
|
.line-chart-content { |
|
|
display: grid; |
|
|
display: grid; |
|
|
height: 65%; |
|
|
|
|
|
|
|
|
height: calc(100% - 60px); |
|
|
} |
|
|
} |
|
|
.line-chart-bottom { |
|
|
.line-chart-bottom { |
|
|
height: 15%; |
|
|
|
|
|
|
|
|
height: 60px; |
|
|
display: flex; |
|
|
display: flex; |
|
|
padding-right: 20px; |
|
|
padding-right: 20px; |
|
|
|
|
|
align-items: center; |
|
|
.home-chart-btn { |
|
|
.home-chart-btn { |
|
|
display: flex; |
|
|
display: flex; |
|
|
justify-content: end; |
|
|
justify-content: end; |
|
|