色彩调整
All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 24s
Docker Build & Deploy / Deploy to Production (push) Successful in 10s
Docker Build & Deploy / Cleanup Dangling Images (push) Successful in 1s
Docker Build & Deploy / WeChat Notification (push) Successful in 1s
All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 24s
Docker Build & Deploy / Deploy to Production (push) Successful in 10s
Docker Build & Deploy / Cleanup Dangling Images (push) Successful in 1s
Docker Build & Deploy / WeChat Notification (push) Successful in 1s
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
&& !isArchive"
|
||||
name="warning-o"
|
||||
size="20"
|
||||
color="#ee0a24"
|
||||
color="var(--van-danger-color)"
|
||||
style="margin-right: 12px"
|
||||
title="查看未覆盖预算的分类"
|
||||
@click="showUncoveredDetails = true"
|
||||
@@ -149,7 +149,7 @@
|
||||
v-for="budget in savingsBudgets"
|
||||
:key="budget.id"
|
||||
:budget="budget"
|
||||
progress-color="#07c160"
|
||||
progress-color="var(--van-success-color)"
|
||||
:percent-class="{ 'income': (budget.current / budget.limit) >= 1 }"
|
||||
:period-label="getPeriodLabel(budget.type)"
|
||||
style="margin: 0 12px 12px;"
|
||||
@@ -418,15 +418,15 @@ const getPeriodLabel = (type) => {
|
||||
|
||||
const getProgressColor = (budget) => {
|
||||
const ratio = budget.current / budget.limit
|
||||
if (ratio >= 1) return '#ee0a24'
|
||||
if (ratio > 0.8) return '#ff976a'
|
||||
return '#1989fa'
|
||||
if (ratio >= 1) return 'var(--van-danger-color)'
|
||||
if (ratio > 0.8) return 'var(--van-warning-color)'
|
||||
return 'var(--van-primary-color)'
|
||||
}
|
||||
|
||||
const getIncomeProgressColor = (budget) => {
|
||||
const ratio = budget.current / budget.limit
|
||||
if (ratio >= 1) return '#07c160'
|
||||
return '#1989fa'
|
||||
if (ratio >= 1) return 'var(--van-success-color)'
|
||||
return 'var(--van-primary-color)'
|
||||
}
|
||||
|
||||
const handleDelete = (budget) => {
|
||||
@@ -535,7 +535,7 @@ const handleSaveSummary = async () => {
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 16px;
|
||||
background-color: var(--van-background-2, #ffffff);
|
||||
background-color: var(--van-background-2);
|
||||
border-radius: 12px;
|
||||
margin-bottom: 12px;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
|
||||
@@ -549,13 +549,13 @@ const handleSaveSummary = async () => {
|
||||
.category-name {
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
color: var(--van-text-color, #323233);
|
||||
color: var(--van-text-color);
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.transaction-count {
|
||||
font-size: 12px;
|
||||
color: var(--van-text-color-2, #969799);
|
||||
color: var(--van-text-color-2);
|
||||
}
|
||||
|
||||
.item-right {
|
||||
|
||||
Reference in New Issue
Block a user