diff --git a/public/css/admin-components.css b/public/css/admin-components.css index bf3f234..52d6f56 100644 --- a/public/css/admin-components.css +++ b/public/css/admin-components.css @@ -45,3 +45,10 @@ font-size:12px; line-height:1.5; } + +/* 可复用:治理提示块内的说明/脚注文本 */ +.governance-block-footnote{ + margin-top:6px; + font-size:12px; + line-height:1.5; +} diff --git a/resources/views/admin/platform_orders/index.blade.php b/resources/views/admin/platform_orders/index.blade.php index 40bf2f1..2ded344 100644 --- a/resources/views/admin/platform_orders/index.blade.php +++ b/resources/views/admin/platform_orders/index.blade.php @@ -358,8 +358,8 @@
  • 最后处理 可同步:确认无对账/退款异常、无同步失败原因后,再批量同步订阅。
  • -
    说明:本页“批量同步/批量生效/清理失败标记”等工具动作会透传当前筛选条件;建议先缩小到明确集合再操作。
    -
    提示:如果你是从其它页面(例如订阅详情/套餐页)通过 back 进入本页,建议优先用上方「← 返回上一页(保留上下文)」回到来源页,再继续操作。
    +
    说明:本页“批量同步/批量生效/清理失败标记”等工具动作会透传当前筛选条件;建议先缩小到明确集合再操作。
    +
    提示:如果你是从其它页面(例如订阅详情/套餐页)通过 back 进入本页,建议优先用上方「← 返回上一页(保留上下文)」回到来源页,再继续操作。
    diff --git a/tests/Feature/AdminGovernanceBlockFootnoteUsesCssComponentTest.php b/tests/Feature/AdminGovernanceBlockFootnoteUsesCssComponentTest.php new file mode 100644 index 0000000..3005ccd --- /dev/null +++ b/tests/Feature/AdminGovernanceBlockFootnoteUsesCssComponentTest.php @@ -0,0 +1,32 @@ +seed(); + + $this->post('/admin/login', [ + 'email' => 'platform.admin@demo.local', + 'password' => 'Platform@123456', + ])->assertRedirect('/admin'); + } + + public function test_platform_order_index_sop_footnote_should_use_governance_block_footnote_class(): void + { + $this->loginAsPlatformAdmin(); + + $res = $this->get('/admin/platform-orders'); + $res->assertOk(); + + // SOP 卡的两条说明应使用治理提示块的脚注样式类,避免 inline/散落工具类扩散 + $res->assertSee('governance-block-footnote', false); + } +}