diff --git a/resources/views/admin/currency-logs/index.blade.php b/resources/views/admin/currency-logs/index.blade.php index 10a5d4d..96be1b6 100644 --- a/resources/views/admin/currency-logs/index.blade.php +++ b/resources/views/admin/currency-logs/index.blade.php @@ -4,50 +4,48 @@ @section('content') @php + require resource_path('views/admin/partials/list-theme.php'); $selectedSourceCount = count($selectedSources ?? []); @endphp - -
-
- - -
- +
+
+ +
+ -
+
- -
- +
+ -
+
- -
- +
+ -
+
- -
- -
+
+ +
+ class="{{ $adminListFilterInputClass }} flex cursor-pointer list-none items-center justify-between bg-white"> {{ $selectedSourceCount > 0 ? '已选 '.$selectedSourceCount.' 项' : '全部来源' }} @@ -55,7 +53,7 @@ -
+
@foreach ($allSources as $src)
-
-
+
+
- -
- +
+ -
+
- -
- +
+ -
+ class="w-full {{ $adminListFilterInputClass }}" data-auto-submit="change"> +
- -
- +
+ -
+ class="w-full {{ $adminListFilterInputClass }}" data-auto-submit="change"> +
- -
- - + - + +
+ +
- -
-
- +
+
+
- - - - - - - - - + + + + + + + + + - + @forelse ($logs as $log) - - + - - - - @empty - @@ -195,7 +183,7 @@
记录ID用户类型变动数额变后余额来源备注信息发生时间
记录ID用户类型变动数额变后余额来源备注信息发生时间
+
#{{ $log->id }}
- {{ $log->username }} + {{ $log->username }}
@if($log->currency === 'gold') - + 💰金币 @elseif($log->currency === 'exp') - + 经验 @elseif($log->currency === 'charm') - + 💖魅力 @else - {{ $log->currency }} + {{ $log->currency }} @endif + @if ($log->amount > 0) +{{ $log->amount }} @elseif ($log->amount === 0) @@ -166,27 +154,27 @@ {{ $log->amount }} @endif + {{ $log->balance_after }} @php $sourceLabel = \App\Enums\CurrencySource::tryFrom($log->source)?->label() ?? $log->source; @endphp - + {{ $sourceLabel }} + {{ $log->remark }} + {{ $log->created_at->format('Y-m-d H:i:s') }}
+ 📭 暂无相关流水记录
@if ($logs->hasPages()) -
+
{{ $logs->links() }}
@endif @@ -203,12 +191,62 @@