From 10baa25dcd57e5503f49a6fbf65e1ca6a62a1591 Mon Sep 17 00:00:00 2001
From: renshen <1005457301@qq.com>
Date: Tue, 15 Sep 2026 18:10:47 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BF=AB=E9=80=92=E8=B5=84?=
=?UTF-8?q?=E6=96=99=E5=88=86=E9=A1=B5=E7=BB=9F=E8=AE=A1=E9=A6=96=E5=B1=8F?=
=?UTF-8?q?=E4=B8=8D=E5=8F=AF=E8=A7=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../courier-information.blade.php | 45 +++++++++++++------
.../Business/CourierInformationPageTest.php | 8 +++-
2 files changed, 38 insertions(+), 15 deletions(-)
diff --git a/resources/views/business/pages/courier-payables/courier-information.blade.php b/resources/views/business/pages/courier-payables/courier-information.blade.php
index 150ddbec..67d23d3f 100644
--- a/resources/views/business/pages/courier-payables/courier-information.blade.php
+++ b/resources/views/business/pages/courier-payables/courier-information.blade.php
@@ -205,13 +205,21 @@
color: var(--vip-danger, #b80000);
}
- .courier-information-table-wrap {
- overflow-x: auto;
+ .courier-information-table-panel {
+ overflow: hidden;
border: 1px solid var(--vip-border, #d8d2c7);
border-radius: 12px;
background: #fff;
}
+ .courier-information-table-wrap {
+ overflow: auto;
+ }
+
+ .courier-information-table-wrap.finance-table-scroll-owner {
+ max-height: max(12rem, calc(100vh - 27.75rem));
+ }
+
.courier-information-table {
width: 100%;
min-width: 2260px;
@@ -265,6 +273,7 @@
justify-content: space-between;
gap: 12px;
padding: 10px 12px;
+ border-top: 1px solid var(--vip-border, #d8d2c7);
color: var(--vip-content-muted, #595959);
font-size: 0.75rem;
}
@@ -399,8 +408,9 @@
@endif
@if ($tab === 'logs')
-
@if ($rows && !$courierError)
@endif
@elseif ($tab === 'express')
-
@if ($rows && !$courierError)
@elseif ($tab === 'networks')
-
@if ($rows && !$courierError)
@endif
@else
-
@if ($rows && !$courierError)
@endif
diff --git a/tests/Feature/Business/CourierInformationPageTest.php b/tests/Feature/Business/CourierInformationPageTest.php
index 56d6e3aa..c89afbbe 100644
--- a/tests/Feature/Business/CourierInformationPageTest.php
+++ b/tests/Feature/Business/CourierInformationPageTest.php
@@ -74,7 +74,7 @@ class CourierInformationPageTest extends FeatureTestCase
]);
$this->app->instance(CourierInformationMirrorRepository::class, $repository);
- $this->loginAs()
+ $response = $this->loginAs()
->get(route('business.pages.show', [
'section' => 'courier-payables',
'page' => 'courier-information',
@@ -86,6 +86,12 @@ class CourierInformationPageTest extends FeatureTestCase
->assertSeeText('SF')
->assertSeeText('同步正常')
->assertSeeText('可达服务')
+ ->assertSeeText('第 1 / 1 页,本页 1 条,共 1 条')
->assertSee('name="expcode"', false);
+
+ $this->assertMatchesRegularExpression(
+ '/