@php
    $target = $target ?? null;
@endphp
<div wire:loading.delay.longer @if($target) wire:target="{{ $target }}" @endif class="fixed inset-0 z-50 flex items-center justify-center bg-white/70">
    <div class="flex items-center gap-3 rounded-xl border border-slate-200 bg-white px-4 py-3 text-sm text-slate-600 shadow">
        <span class="loading loading-spinner loading-sm"></span>
        <span>正在处理，请稍候…</span>
    </div>
</div>
