初始化

This commit is contained in:
2026-08-08 18:27:38 +08:00
parent efc150c937
commit 060eb79c09
336 changed files with 24613 additions and 15 deletions
@@ -0,0 +1,8 @@
@props(['user' => null])
@if ($user)
@php $l = $user->level(); @endphp
<span class="inline-flex items-center gap-1 rounded-full px-2 py-0.5 text-xs font-semibold @if($l <= 1) bg-surface-2 text-muted @elseif($l === 2) bg-info-soft text-info @elseif($l === 3) bg-primary-soft text-primary @elseif($l === 4) bg-warning-soft text-warning @else bg-danger-soft text-danger @endif" title="会员等级 L{{ $l }}">
L{{ $l }} {{ $user->levelName() }}
</span>
@endif