modify style

This commit is contained in:
MaysWind
2025-08-30 00:07:43 +08:00
parent e85a4701ed
commit 32cf41a7a0
5 changed files with 38 additions and 22 deletions
@@ -182,7 +182,7 @@
<template #inner-end>
<div class="statistics-item-end">
<div class="statistics-percent-line">
<f7-progressbar :progress="item.percent >= 0 ? item.percent : 0" :style="{ '--f7-progressbar-progress-color': (item.color ? '#' + item.color : '') } "></f7-progressbar>
<f7-progressbar :progress="item.percent >= 0 ? item.percent : 0" :style="{ '--f7-progressbar-progress-color': (item.color ? getTransactionCategoricalAnalysisDataItemColor(item) : '') } "></f7-progressbar>
</div>
</div>
</template>
@@ -404,6 +404,7 @@ const {
categoricalAnalysisData,
trendsAnalysisData,
canShowCustomDateRange,
getTransactionCategoricalAnalysisDataItemColor,
getDisplayAmount
} = useStatisticsTransactionPageBase();
@@ -800,10 +801,6 @@ init();
transform: translateY(1.5em);
}
.dark .statistics-percent-line .progressbar {
--f7-progressbar-bg-color: #161616;
}
.chart-data-type-popover-menu .popover-inner{
max-height: 440px;
overflow-y: auto;