@extends('admin.layouts.app') @section('title', "百家乐第 #{$round->id} 局下注明细") @section('content')
{{-- 页头 --}}

🎲 百家乐 #{{ $round->id }} 局下注明细

结算时间:{{ $round->settled_at?->format('Y-m-d H:i:s') ?? '未结算' }}  · 结果: {{ $round->resultLabel() }}  · 总点数:{{ $round->total_points }}

← 返回历史列表
{{-- 本局摘要 --}}
{{ number_format($round->bet_count ?? 0) }}
参与下注人数
{{ number_format($round->total_bet_big ?? 0) }}
押大总金额
{{ number_format($round->total_bet_small ?? 0) }}
押小总金额
{{ number_format($round->total_payout ?? 0) }}
本局派奖总额
{{-- 下注明细表 --}}
@forelse ($bets as $bet) @php $betLabels = ['big' => '大', 'small' => '小', 'triple' => '豹子']; $betColors = [ 'big' => 'bg-red-100 text-red-700', 'small' => 'bg-blue-100 text-blue-700', 'triple' => 'bg-purple-100 text-purple-700', ]; $won = $bet->payout > 0; @endphp @empty @endforelse
玩家 押注方向 押注金额 实际获得 是否中奖 下注时间
{{ $bet->user?->username ?? '已注销' }} {{ $betLabels[$bet->bet_type] ?? $bet->bet_type }} {{ number_format($bet->amount) }} {{ $won ? '+' . number_format($bet->payout) : '0' }} @if ($won) 🎉 中奖 @else 未中 @endif {{ $bet->created_at->format('H:i:s') }}
本局无人下注
@if ($bets->hasPages())
{{ $bets->links() }}
@endif
@endsection