From 6105be914ce09c0e46689bca6b7d4ab45fd3bf0f Mon Sep 17 00:00:00 2001 From: renshen <1005457301@qq.com> Date: Thu, 5 Nov 2026 12:29:13 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=97=A5=E5=BF=97=E7=BB=9F=E8=AE=A1?= =?UTF-8?q?=E6=B1=87=E6=80=BB=E6=95=B0=E5=AD=97=E6=94=AF=E6=8C=81=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E6=9F=A5=E7=9C=8B=E6=98=8E=E7=BB=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/other/log-statistics.blade.php | 62 +++++++++++++------ tests/Feature/Business/PagesTest.php | 4 ++ 2 files changed, 47 insertions(+), 19 deletions(-) diff --git a/resources/views/business/pages/other/log-statistics.blade.php b/resources/views/business/pages/other/log-statistics.blade.php index 4a36d6a5..1952fa47 100644 --- a/resources/views/business/pages/other/log-statistics.blade.php +++ b/resources/views/business/pages/other/log-statistics.blade.php @@ -121,6 +121,19 @@ background: var(--vip-surface, #fff); } + .log-statistics-card.is-link { + color: inherit; + text-decoration: none; + transition: border-color 150ms ease, background 150ms ease; + } + + .log-statistics-card.is-link:hover, + .log-statistics-card.is-link:focus-visible { + border-color: var(--vip-content-accent, #B9954F); + background: var(--vip-content-accent-soft, #F7F0DE); + outline: none; + } + .log-statistics-card span { color: var(--vip-content-muted, #595959); font-size: 0.6875rem; @@ -137,6 +150,12 @@ text-decoration: none; } + .log-statistics-card__hint { + color: var(--vip-content-accent-dark, #856632) !important; + font-size: 0.625rem !important; + font-weight: 600; + } + .log-statistics-panel { overflow: hidden; border: 1px solid var(--vip-border, #D8D2C7); @@ -320,36 +339,41 @@ + @php + $currentDetailsUrl = route('business.pages.show', [ + 'section' => 'other', + 'page' => 'log-statistics', + 'from' => $worklogFilters['from'], + 'to' => $worklogFilters['to'], + 'date' => $worklogCurrent['statistics_date'], + 'details' => 1, + ]) . '#worklog-detail'; + @endphp