yihexiao.html 1.3 KB
<include file="public@header" />
</head>
<body>
<div class="wrap js-check-wrap">
  <form class="well form-inline margin-top-20" method="post" action="{:url('Hexiao/yihexiao')}">&nbsp;&nbsp;&nbsp; &nbsp;
    时间:
    <input type="text" class="form-control js-bootstrap-datetime" name="start_time"
           value="{$start_time|default=''}"
           style="width: 140px;" autocomplete="off">-
    <input type="text" class="form-control js-bootstrap-datetime" name="end_time"
           value="{$end_time|default=''}"
           style="width: 140px;" autocomplete="off">
    <input type="submit" class="btn btn-primary" value="搜索"/>
    <a class="btn btn-danger" href="{:url('Hexiao/yihexiao')}">清空</a>
  </form>
  <table class="table table-bordered" style="margin:10px 10px;">
    <caption>已核销</caption>
    <thead>
      <tr>
        <th>姓名</th>
        <th>优惠券</th>
        <th>核销时间</th>
        <th>核销码</th>
      </tr>
    </thead>
    <tbody>
    <volist name="data" id="vo" >
      <tr>
        <td>{$vo.name}</td>
        <td>{$vo.title}</td>
        <td>{$vo.time|date="Y-m-d H:i:s",###}</td>
        <td>{$vo.code}</td>
      </tr>
    </volist>

    </tbody>
  </table>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>