|
|
@@ -773,14 +773,47 @@ const ClickParams = (val: any) => {
|
|
|
})
|
|
|
}
|
|
|
}
|
|
|
-import kpiChartTip from './guideImage/kpi-chart-tip.png'
|
|
|
-import pendingChartTip from './guideImage/pending-chart-tip.png'
|
|
|
-import etdToEtaChartsTip from './guideImage/etd-to-eta-chart-tip.png'
|
|
|
-import containerChartTip from './guideImage/container-count-chart-tip.png'
|
|
|
-import top10ChartTip from './guideImage/top-10-chart-tip.png'
|
|
|
-import co2eChartTip from './guideImage/co2e-chart-tip.png'
|
|
|
-import revenueSpentChartTip from './guideImage/revenue-spent-chart-tip.png'
|
|
|
-import recentStatusChartTip from './guideImage/recent-status-chart-tip.png'
|
|
|
+import kpiChartTipLight from './tipsImage/kpi-chart-tip.png'
|
|
|
+import kpiChartTipDark from './tipsImage/dark-kpi-chart-tip.png'
|
|
|
+import pendingChartTipLight from './tipsImage/pending-chart-tip.png'
|
|
|
+import pendingChartTipDark from './tipsImage/dark-pending-chart-tip.png'
|
|
|
+import etdToEtaChartsTipLight from './tipsImage/etd-to-eta-chart-tip.png'
|
|
|
+import etdToEtaChartsTipDark from './tipsImage/dark-etd-to-eta-chart-tip.png'
|
|
|
+import containerChartTipLight from './tipsImage/container-count-chart-tip.png'
|
|
|
+import containerChartTipDark from './tipsImage/dark-container-count-chart-tip.png'
|
|
|
+import top10ChartTipLight from './tipsImage/top-10-chart-tip.png'
|
|
|
+import top10ChartTipDark from './tipsImage/dark-top-10-chart-tip.png'
|
|
|
+import co2eChartTipLight from './tipsImage/co2e-chart-tip.png'
|
|
|
+import co2eChartTipDark from './tipsImage/dark-co2e-chart-tip.png'
|
|
|
+import revenueSpentChartTipLight from './tipsImage/revenue-spent-chart-tip.png'
|
|
|
+import revenueSpentChartTipDark from './tipsImage/dark-revenue-spent-chart-tip.png'
|
|
|
+import recentStatusChartTipLight from './tipsImage/recent-status-chart-tip.png'
|
|
|
+import recentStatusChartTipDark from './tipsImage/dark-recent-status-chart-tip.png'
|
|
|
+
|
|
|
+const kpiChartTip = computed(() => {
|
|
|
+ return themeStore.theme === 'dark' ? kpiChartTipDark : kpiChartTipLight
|
|
|
+})
|
|
|
+const pendingChartTip = computed(() => {
|
|
|
+ return themeStore.theme === 'dark' ? pendingChartTipDark : pendingChartTipLight
|
|
|
+})
|
|
|
+const etdToEtaChartsTip = computed(() => {
|
|
|
+ return themeStore.theme === 'dark' ? etdToEtaChartsTipDark : etdToEtaChartsTipLight
|
|
|
+})
|
|
|
+const containerChartTip = computed(() => {
|
|
|
+ return themeStore.theme === 'dark' ? containerChartTipDark : containerChartTipLight
|
|
|
+})
|
|
|
+const top10ChartTip = computed(() => {
|
|
|
+ return themeStore.theme === 'dark' ? top10ChartTipDark : top10ChartTipLight
|
|
|
+})
|
|
|
+const co2eChartTip = computed(() => {
|
|
|
+ return themeStore.theme === 'dark' ? co2eChartTipDark : co2eChartTipLight
|
|
|
+})
|
|
|
+const revenueSpentChartTip = computed(() => {
|
|
|
+ return themeStore.theme === 'dark' ? revenueSpentChartTipDark : revenueSpentChartTipLight
|
|
|
+})
|
|
|
+const recentStatusChartTip = computed(() => {
|
|
|
+ return themeStore.theme === 'dark' ? recentStatusChartTipDark : recentStatusChartTipLight
|
|
|
+})
|
|
|
|
|
|
import DashboardGuide from '../src/components/DashboardGuide.vue'
|
|
|
import { useGuideStore } from '@/stores/modules/guide'
|