<table>
    <thead>
    <tr>
        <th>用户</th>
        <th>用户总数</th>
        <th>签到人数</th>
        <th>得票</th>
    </tr>
    </thead>
    <tbody>
    @foreach($vote->items as $item)
        <tr>
            <td>{{ $item->name }}</td>
            <td>{{ $total }}</td>
            <td>{{ $sign }}</td>
            <td>{{ $item->logs()->sum('result') }}</td>
        </tr>
    @endforeach
    </tbody>
</table>
