<?php include_once(mvc::$cfg['PATH_TPL'].'public/headBase2.php');?>
<style>
    body{
        background: #ffffff !important;
    }
</style>
<form class="layui-form" >
    <div class="layui-inline">
        <label class="layui-form-label">统计时间</label>
        <div class="layui-input-block">
            <input type="text" name="tpsd_date" id="tpsd_date" class="layui-input" value="<?php echo $Params['tpsd_date'];?>" placeholder=" ~ "  autocomplete="off">
        </div>
    </div>
    <div class="layui-inline">
        <button class="layui-btn act-btn" type="submit">
            <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
        </button>
    </div>
</form>
<table class="layui-table" style="width:500px;margin-left:3px;">
    <thead>
    <tr>
        <th>店铺名称</th>
        <th>客户端</th>
        <th>展示</th>
    </tr>
    </thead>
    <tbody>
    <?php foreach ($list as $key => $v) { ?>
        <tr>
            <td><a  class="a_blue" target="ListFrame" href="<?php echo mvc::$cfg['ADMIN_URI'];?>pjlShop/shopDisplay?id=<?php echo $v['tpsd_shop_id'];?>"><?php echo $v['shop_name']; ?></a></td>
            <td><?php echo $v['devcode_count']; ?></td>
            <td><?php echo $v['pv_count']; ?></td>
        </tr>
    <?php } ?>
    </tbody>
</table>
<?php include_once(mvc::$cfg['PATH_TPL'].'public/footBase.php');?>
<script>
    layui.use(['table', 'form','laydate'], function(){
        var table = layui.table,form = layui.form,laydate = layui.laydate;

        laydate.render({
            elem: '#tpsd_date'
            ,range: '~'
            ,type:'month'
        });
    });
</script>