<tbody>
<tr>
<th width="10%">状态</th>
<th width="15%">时间</th>
<th width="15%">主队</th>
<th width="12%">VS(比分)</th>
<th width="15%">客队</th>
<th width="25%">报道</th>
</tr>
<?php if(is_array($data['result']['list']) || $data['result']['list'] instanceof \think\Collection || $data['result']['list'] instanceof \think\Paginator): $i = 0; $__LIST__ = $data['result']['list'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;if(is_array($vo['tr']) || $vo['tr'] instanceof \think\Collection || $vo['tr'] instanceof \think\Paginator): $i = 0; $__LIST__ = $vo['tr'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($i % 2 );++$i;?>
<tr>
<?php switch($item['status']): case "0": ?><td>未开赛</td><?php break; case "1": ?><td style="color:#f85959">直播中</td><?php break; case "2": ?><td style="color:#999">已结束</td><?php break; default: ?><td>未开赛</td>
<?php endswitch; ?>
<td><?php echo $item['time']; ?></td>
<td><?php echo $item['player1']; ?></td>
<td><?php echo $item['score']; ?></td>
<td><?php echo $item['player2']; ?></td>