@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; $gradeAll = [ 'jackpot' => ['label' => '上上签', 'color' => 'text-amber-600'], 'good' => ['label' => '上签', 'color' => 'text-emerald-600'], 'normal' => ['label' => '中签', 'color' => 'text-gray-500'], 'bad' => ['label' => '下签', 'color' => 'text-orange-500'], 'curse' => ['label' => '大凶签', 'color' => 'text-red-600'], ]; @endphp
查询所有玩家的占卜记录,支持按等级和玩家名筛选。
| 时间 | 玩家 | 签文等级 | 签文内容 | 加成/减益 | 是否免费 | 消耗金币 |
|---|---|---|---|---|---|---|
| {{ $log->created_at->format('m-d H:i') }} | {{ $log->user?->username ?? '已注销' }} | {{ $gradeInfo['label'] }} | {{ \Illuminate\Support\Str::limit($log->text, 50) }} | {{ $log->buff_desc ?? '—' }} | @if ($log->is_free) 免费 @else 付费 @endif | {{ $log->cost > 0 ? '-' . number_format($log->cost) : '0' }} |
| 暂无记录 | ||||||