From 7af59e4d17e26b002d544f5a42fb0c97bdb97895 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=9D=E5=8D=9C?= Date: Thu, 19 Mar 2026 07:37:38 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E5=B7=A5=E5=85=B7=E5=8C=BA?= =?UTF-8?q?=E8=AF=B4=E6=98=8E=E4=B8=AD=E7=9A=84=E5=BF=AB=E9=80=9F=E5=AF=BC?= =?UTF-8?q?=E8=88=AA=E5=BC=95=E5=AF=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../admin/platform_orders/index.blade.php | 2 +- ...oolGridIntroShouldMentionJumpLinksTest.php | 32 +++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 tests/Feature/AdminPlatformOrderIndexToolGridIntroShouldMentionJumpLinksTest.php diff --git a/resources/views/admin/platform_orders/index.blade.php b/resources/views/admin/platform_orders/index.blade.php index 3087622..0a34a72 100644 --- a/resources/views/admin/platform_orders/index.blade.php +++ b/resources/views/admin/platform_orders/index.blade.php @@ -1197,7 +1197,7 @@ @endphp
-
当前工具区承载导出、批量治理与失败标记清理,请先缩小筛选范围再执行动作。
+
当前工具区承载导出、批量治理与失败标记清理,请先缩小筛选范围再执行动作;也可使用上方快速定位导航直达目标工具组。
导出 批量同步 diff --git a/tests/Feature/AdminPlatformOrderIndexToolGridIntroShouldMentionJumpLinksTest.php b/tests/Feature/AdminPlatformOrderIndexToolGridIntroShouldMentionJumpLinksTest.php new file mode 100644 index 0000000..6f7c945 --- /dev/null +++ b/tests/Feature/AdminPlatformOrderIndexToolGridIntroShouldMentionJumpLinksTest.php @@ -0,0 +1,32 @@ +seed(); + + $this->post('/admin/login', [ + 'email' => 'platform.admin@demo.local', + 'password' => 'Platform@123456', + ])->assertRedirect('/admin'); + } + + public function test_platform_orders_tool_grid_intro_should_mention_jump_links(): void + { + $this->loginAsPlatformAdmin(); + + $res = $this->get('/admin/platform-orders'); + $res->assertOk(); + + $html = (string) $res->getContent(); + $this->assertStringContainsString('也可使用上方快速定位导航直达目标工具组。', $html); + } +}