update customer charts style

This commit is contained in:
Timi
2026-08-12 16:47:19 +08:00
parent 826f1b2dd0
commit 0f7871250e
9 changed files with 158 additions and 180 deletions
+2 -2
View File
@@ -72,7 +72,7 @@ function buildDateTextList(begin: Date, end: Date): string[] {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
.summary-item {
.item {
padding: .875rem .625rem;
display: flex;
min-width: 0;
@@ -100,7 +100,7 @@ function buildDateTextList(begin: Date, end: Date): string[] {
:global(html.theme-dark) {
.data-charts-page {
.summary {
.summary-item {
.item {
background: rgba(15, 23, 42, .88);
box-shadow: 0 .75rem 2rem rgba(2, 6, 23, .32);
@@ -1,6 +1,6 @@
<template>
<section class="summary">
<div v-for="item in summaryList" :key="item.label" class="summary-item">
<div v-for="item in summaryList" :key="item.label" class="item">
<span v-text="item.label" />
<strong v-text="item.value" />
</div>
@@ -159,7 +159,7 @@ function toDateValue(date: Date): number {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
.summary-item {
.item {
padding: .875rem .625rem;
display: flex;
min-width: 0;
@@ -185,7 +185,7 @@ function toDateValue(date: Date): number {
:global(html.theme-dark) {
.summary {
.summary-item {
.item {
background: rgba(15, 23, 42, .88);
box-shadow: 0 .75rem 2rem rgba(2, 6, 23, .32);