refactor(admin-platform-order): unify tool blocked hint style

This commit is contained in:
萝卜
2026-03-16 13:22:09 +08:00
parent 50e5b35a14
commit 91ab62e460
2 changed files with 13 additions and 5 deletions

View File

@@ -574,6 +574,14 @@
align-items:stretch; align-items:stretch;
} }
/* 工具区:统一“被治理阻断”提示样式(避免 Blade 内散落的 class 组合) */
.adm-tool-blocked-hint{
margin-top:6px;
font-size:12px;
line-height:1.5;
color:var(--adm-error, #ef4444);
}
/* 防止 focus-boxborder + 内部 form 宽度造成列间“压线/重叠” */ /* 防止 focus-boxborder + 内部 form 宽度造成列间“压线/重叠” */
.tool-grid > *{ .tool-grid > *{
min-width:0; min-width:0;

View File

@@ -876,7 +876,7 @@
<div class="mt-6"> <div class="mt-6">
<button class="btn btn-sm" type="submit" @disabled($batchActivateBlocked) title="{{ $batchActivateBlockedReason }}">批量同步订阅(当前筛选范围)</button> <button class="btn btn-sm" type="submit" @disabled($batchActivateBlocked) title="{{ $batchActivateBlockedReason }}">批量同步订阅(当前筛选范围)</button>
@if($batchActivateBlocked) @if($batchActivateBlocked)
<div class="muted muted-xs text-danger mt-6" data-role="batch-activate-subscriptions-blocked-hint">提示:{{ $batchActivateBlockedReason }}</div> <div class="adm-tool-blocked-hint" data-role="batch-activate-subscriptions-blocked-hint">提示:{{ $batchActivateBlockedReason }}</div>
@endif @endif
</div> </div>
</form> </form>
@@ -969,7 +969,7 @@
<div class="mt-6"> <div class="mt-6">
<button class="btn btn-sm" type="submit" @disabled($batchBmpaBlocked) title="{{ $batchBmpaBlockedReason }}">批量标记支付并生效(含订阅同步)(当前筛选范围)</button> <button class="btn btn-sm" type="submit" @disabled($batchBmpaBlocked) title="{{ $batchBmpaBlockedReason }}">批量标记支付并生效(含订阅同步)(当前筛选范围)</button>
@if($batchBmpaBlocked) @if($batchBmpaBlocked)
<div class="muted muted-xs text-danger mt-6" data-role="batch-bmpa-blocked-hint">提示:{{ $batchBmpaBlockedReason }}</div> <div class="adm-tool-blocked-hint" data-role="batch-bmpa-blocked-hint">提示:{{ $batchBmpaBlockedReason }}</div>
@endif @endif
</div> </div>
</form> </form>
@@ -1037,7 +1037,7 @@
<div class="mt-6"> <div class="mt-6">
<button class="btn btn-sm" type="submit" @disabled($batchMarkActivatedBlocked) title="{{ $batchMarkActivatedBlockedReason }}">批量仅标记为已生效(当前筛选范围)</button> <button class="btn btn-sm" type="submit" @disabled($batchMarkActivatedBlocked) title="{{ $batchMarkActivatedBlockedReason }}">批量仅标记为已生效(当前筛选范围)</button>
@if($batchMarkActivatedBlocked) @if($batchMarkActivatedBlocked)
<div class="muted muted-xs text-danger mt-6" data-role="batch-mark-activated-blocked-hint">提示:{{ $batchMarkActivatedBlockedReason }}</div> <div class="adm-tool-blocked-hint" data-role="batch-mark-activated-blocked-hint">提示:{{ $batchMarkActivatedBlockedReason }}</div>
@endif @endif
</div> </div>
</form> </form>
@@ -1097,7 +1097,7 @@
<div class="mt-6"> <div class="mt-6">
<button class="btn btn-danger btn-sm" type="submit" @disabled($clearSyncBlocked) title="{{ $clearSyncBlockedReason }}">清除同步失败标记(当前筛选范围)</button> <button class="btn btn-danger btn-sm" type="submit" @disabled($clearSyncBlocked) title="{{ $clearSyncBlockedReason }}">清除同步失败标记(当前筛选范围)</button>
@if($clearSyncBlocked) @if($clearSyncBlocked)
<div class="muted muted-xs text-danger mt-6" data-role="clear-sync-errors-blocked-hint">提示:{{ $clearSyncBlockedReason }}</div> <div class="adm-tool-blocked-hint" data-role="clear-sync-errors-blocked-hint">提示:{{ $clearSyncBlockedReason }}</div>
@endif @endif
</div> </div>
</form> </form>
@@ -1156,7 +1156,7 @@
<div class="mt-6"> <div class="mt-6">
<button class="btn btn-danger btn-sm" type="submit" @disabled($clearBmpaBlocked) title="{{ $clearBmpaBlockedReason }}">清除批量标记支付失败标记(当前筛选范围)</button> <button class="btn btn-danger btn-sm" type="submit" @disabled($clearBmpaBlocked) title="{{ $clearBmpaBlockedReason }}">清除批量标记支付失败标记(当前筛选范围)</button>
@if($clearBmpaBlocked) @if($clearBmpaBlocked)
<div class="muted muted-xs text-danger mt-6" data-role="clear-bmpa-errors-blocked-hint">提示:{{ $clearBmpaBlockedReason }}</div> <div class="adm-tool-blocked-hint" data-role="clear-bmpa-errors-blocked-hint">提示:{{ $clearBmpaBlockedReason }}</div>
@endif @endif
</div> </div>
</form> </form>