diff --git a/resources/views/admin/products/index.blade.php b/resources/views/admin/products/index.blade.php
index 203595f..8467128 100644
--- a/resources/views/admin/products/index.blade.php
+++ b/resources/views/admin/products/index.blade.php
@@ -161,9 +161,9 @@
];
@endphp
diff --git a/tests/Feature/AdminProductsIndexStatusStatsAllShouldNotUseDarkActiveClassTest.php b/tests/Feature/AdminProductsIndexStatusStatsAllShouldNotUseDarkActiveClassTest.php
new file mode 100644
index 0000000..6190cfe
--- /dev/null
+++ b/tests/Feature/AdminProductsIndexStatusStatsAllShouldNotUseDarkActiveClassTest.php
@@ -0,0 +1,34 @@
+seed();
+
+ $this->post('/admin/login', [
+ 'email' => 'platform.admin@demo.local',
+ 'password' => 'Platform@123456',
+ ])->assertRedirect('/admin');
+ }
+
+ public function test_products_index_status_stats_all_should_not_use_dark_active_class(): void
+ {
+ $this->loginAsPlatformAdmin();
+
+ // 访问无 status 筛选的默认页:"全部"应高亮,但不应使用深色 is-active-dark(避免背景突兀)。
+ $res = $this->get('/admin/products');
+ $res->assertOk();
+
+ $res->assertSee('商品状态统计', false);
+ $res->assertSee('is-active-light', false);
+ $res->assertDontSee('is-active-dark', false);
+ }
+}