| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- <?php
- use yii\widgets\LinkPager;
- ?>
- <div class="page-title">
- <div class="title-env">
- <h1 class="title">【<?= $user['userName'] ?>】积分明细</h1>
- </div>
- <div class="breadcrumb-env">
- <ol class="breadcrumb bc-1">
- <li>
- <a href="/"><i class="fa-home"></i>Home</a>
- </li>
- <li>
- <a href="javascript:void(0)">平台管理</a>
- </li>
- <li class="active">
- <strong>积分管理</strong>
- </li>
- </ol>
- </div>
- </div>
- <div class="panel panel-default">
- <div class="panel-body">
- <div id="example-2_wrapper" class="dataTables_wrapper form-inline dt-bootstrap no-footer">
- <div class="table-responsive">
- <table class="table table-bordered table-striped table-hover">
- <thead>
- <tr class="active">
- <th class="no-sorting"><input type="checkbox"></th>
- <th>编号</th>
- <th>事项</th>
- <th>支付方式</th>
- <th>积分</th>
- <th>当前积分</th>
- <th>时间</th>
- <th>操作</th>
- </tr>
- </thead>
- <tbody class="middle-align">
- <?php foreach($models as $key => $val){?>
- <tr>
- <td><input type="checkbox"></td>
- <td><?= $val['id'] ?></td>
- <td><?= $val['event'] ?></td>
- <td><?= $payWay[$val['payWay']] ?></td>
- <td><?php if(empty($val['io'])){ echo '-'.$val['num']; }else{ echo '+'.$val['num']; } ?></td>
- <td><?= $val['integral'] ?></td>
- <td><?= date("m-d H:s",strtotime($val['createTime'])) ?></td>
- <td>
- <!--
- <a href="<?= $capitalTypeList[$val['capitalType']]['link'] ?>?id=<?= $val['relateId'] ?>" class="btn btn-secondary btn-sm btn-icon icon-left">明细</a>
- -->
- </td>
- </tr>
- <?php } ?>
- </tbody>
- </table>
- </div>
- <div class="row">
- <div>
- <!--
- <div style="display:inline-block;margin-left:15px;">
- <label><select name="example-1_length"
- aria-controls="example-1" class="form-control">
- <option value="0">批量操作</option>
- <option value="1">批量下架</option>
- <option value="2">批量删除</option>
- </select>
- </label>
- <input class="btn btn-secondary btn-single" type="submit" name="" value="确认" />
- </div>
- -->
-
- <div class="dataTables_paginate paging_simple_numbers" style="float:right;padding-top:0px;margin-right:15px;">
- <?= LinkPager::widget(['pagination' => $pages]); ?>
- </div>
- </div>
- </div>
- <div style="text-align:center;">
- <div class="form-group" style="margin:0 auto;">
- <button type="button" onclick="history.go(-1);" class="btn btn-info btn-single">返回</button>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- footer -->
- <?php
- use backend\widgets\FooterWidget;
- ?>
- <?= FooterWidget::widget()?>
- <!-- footer -->
|