 { ?>
            <td>{:round($goods['price'])}积分</td>
            <td>{:round($goods['total'])}积分</td>
          <?php } else { ?>
            <td>{:sprintf("%.2f",$goods['price'])}</td>
            <td>{:sprintf("%.2f",$goods['total'])}</td>
          <?php } ?>
      </tr>
        <?php $i++;
        $total_quantity += $goods['quantity'];
        $total_money += $goods['total'];
    } ?>
  <tr class="a">
    <td class="num" colspan="2">合计</td>
    <td><?php echo $total_quantity; ?></td>
    <