重构: 抽取治理提示锚点按钮组件

This commit is contained in:
萝卜
2026-03-18 19:53:40 +08:00
parent ba731ac21b
commit c472e57a57
2 changed files with 13 additions and 3 deletions

View File

@@ -0,0 +1 @@
<a class="{{ $class ?? 'btn btn-secondary btn-sm' }}" href="{{ $href ?? '#' }}">{{ $label ?? '' }}</a>

View File

@@ -1043,7 +1043,10 @@
@endif
。建议先完成金额/状态治理(补回执/核对退款/修正状态)后,再执行批量同步订阅等工具动作。
<div class="mt-6 actions gap-10">
<a class="btn btn-secondary btn-sm" href="#batch-activate-subscriptions">定位到批量同步订阅工具</a>
@include('admin.platform_orders._tool_anchor_button', [
'href' => '#batch-activate-subscriptions',
'label' => '定位到批量同步订阅工具',
])
</div>
</div>
</div>
@@ -1071,7 +1074,10 @@
<div class="muted governance-block-body">
当前集合为「无回执」且已勾选「只看可同步」。为保证收费闭环可治理,建议先补齐支付回执留痕,再执行批量同步订阅。
<div class="mt-6 actions gap-10">
<a class="btn btn-secondary btn-sm" href="#batch-activate-subscriptions">定位到批量同步订阅工具</a>
@include('admin.platform_orders._tool_anchor_button', [
'href' => '#batch-activate-subscriptions',
'label' => '定位到批量同步订阅工具',
])
</div>
<div class="mt-6 actions gap-10">
@include('admin.platform_orders._summary_text_link', [
@@ -1095,7 +1101,10 @@
<div class="muted governance-block-body">
当前筛选包含「同步失败/失败原因」范围。建议先治理失败原因(修复数据或重试同步),再执行批量同步订阅等工具动作。
<div class="mt-6 actions gap-10">
<a class="btn btn-secondary btn-sm" href="#batch-activate-subscriptions">定位到批量同步订阅工具</a>
@include('admin.platform_orders._tool_anchor_button', [
'href' => '#batch-activate-subscriptions',
'label' => '定位到批量同步订阅工具',
])
</div>
<div class="mt-6 actions gap-10">
@include('admin.platform_orders._summary_text_link', [