@extends('admin.layouts.app') @section('title', '百家乐历史记录') @section('content') @php require resource_path('views/admin/partials/list-theme.php'); @endphp @php $tableCellClass = 'px-4 py-3'; $badgeClass = $adminListBadgeBaseClass; @endphp
查询所有已结算的百家乐局次及下注明细。
| 局次ID | 结算时间 | 骰子 | 点数 | 结果 | 押注笔数 | 押大/小/豹 | 派奖金币 | 操作 |
|---|---|---|---|---|---|---|---|---|
| #{{ $round->id }} | {{ $round->settled_at ? $round->settled_at->format('m-d H:i') : '—' }} | @if ($round->dice1) {{ $round->dice1 }} {{ $round->dice2 }} {{ $round->dice3 }} @else — @endif | {{ $round->total_points ?? '—' }} | @php $resultColors = [ 'big' => 'bg-red-100 text-red-700 border-red-200', 'small' => 'bg-blue-100 text-blue-700 border-blue-200', 'triple' => 'bg-purple-100 text-purple-700 border-purple-200', 'kill' => 'bg-gray-100 text-gray-600 border-gray-200', ]; $label = match ($round->result) { 'big' => '大', 'small' => '小', 'triple' => '豹子', 'kill' => '收割', default => $round->result ?? '—', }; $colorClass = $resultColors[$round->result] ?? 'bg-gray-100 text-gray-600 border-gray-200'; @endphp @if ($round->result) {{ $label }} @else 未结算 @endif | {{ number_format($round->bet_count ?? 0) }} | {{ number_format($round->total_bet_big ?? 0) }} / {{ number_format($round->total_bet_small ?? 0) }} / {{ number_format($round->total_bet_triple ?? 0) }} | {{ number_format($round->total_payout ?? 0) }} | 下注明细 |
| 暂无记录 | ||||||||