<!DOCTYPE html>
<html lang="en">
  <head>
    <title>console</title>
    <meta charset="utf-8">
    <meta name ="viewport" content ="initial-scale=1, maximum-scale=3, minimum-scale=1, user-scalable=no">
    <style type="text/css">
      ul{list-style-type: none;margin:0;padding: 0;}
      ul li{overflow: hidden;margin-bottom: 10px;border-bottom: 1px dotted #ccc;}
      ul li h1{font-size: 0.8em;padding: 0;margin:0;float: left;color:#999;}
      ul li label{float: left;font-size: 0.8em;color:#999;}

      ul.leads h1{margin-right: 10px;}
      h2.title{font-weight: bold;font-size: 1em;}
    </style>
  </head>

  <body>
<div class="warp">
  <h2 class="title">基础数据</h2>
  <ul>
    <li>
    <h1>游戏总人数：</h1>
    <label>{$data['count']}</label>
  </li>
  <li>
    <h1>过关总人数：</h1>
    <label>{$data['count_pass']}</label>
  </li>
  <li>
    <h1>平均过关需要玩多少次：</h1>
    <label>{$data['pass_count']}</label>
  </li>
  <li>
    <h1>Leads完成数：</h1>
    <label>{$data['leads_count']}</label>
  </li>
  <li>
    <h1>Share完成数：</h1>
    <label>{$data['share_count']}</label>
  </li>
  </ul>
  <h2 class="title">Leads用户列表</h2>
  <ul class="leads">
  <?php foreach($data['leads'] as $item){?>
  <li>
    <h1><?php echo $item['nickname'];?></h1>
    <h1><?php echo $item['mobile'];?></h1>
    <h1><?php echo $item['lead_created'];?></h1>
  </li>
  <?php }?>
  </ul>
</div>
  </body>
</html>

