fix: 修复柱状图高度比例计算并添加月度筛选功能

- 修复最近7天收入柱状图高度使用百分比导致比例失真问题,改为像素计算
- 老板/陪玩交易详情页添加"全部/当月"切换按钮
- 老板/陪玩交易详情页添加月度导航切换功能
- 老板/陪玩交易详情页添加自动加载更多数据功能

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
lizhilun
2026-03-19 10:13:02 +08:00
co-authored by Claude Opus 4.6
parent 3d8d03a66e
commit 14927f74aa
4 changed files with 380 additions and 75 deletions
+16 -1
View File
@@ -159,7 +159,7 @@ body {
font-size: 15px;
font-weight: 600;
color: #333;
margin-bottom: 16px;
margin-bottom: 0;
}
.weekly-chart-bars {
display: flex;
@@ -215,6 +215,21 @@ body {
.daily-nav-date {
font-size: 15px; font-weight: 600; color: #333;
}
.scope-toggle {
margin-left: auto;
padding: 4px 12px;
border-radius: 12px;
border: 1px solid #667eea;
background: #fff;
color: #667eea;
font-size: 13px;
cursor: pointer;
transition: all 0.2s;
}
.scope-toggle.active {
background: #667eea;
color: #fff;
}
.daily-summary {
background: #fff;
border-radius: 12px;