| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- <?php
- use common\services\xhUserService;
- use yii\widgets\LinkPager;
- ?>
- <div class="page-title">
- <div class="title-env">
- <h1 class="title">充值记录</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 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 hidden-xs"><input type="checkbox"></th>
- <th class="hidden-xs">ID</th>
- <th>充值会员</th>
- <th>事项</th>
- <th>金额</th>
- <th>余额</th>
- <th>累计充值</th>
- <th>时间</th>
- <th>状态</th>
- </tr>
- </thead>
- <tbody class="middle-align">
- <?php if(!empty($recharge)){ foreach($recharge as $key => $val){?>
- <tr>
- <td class="hidden-xs"><input type="checkbox"></td>
- <td class="hidden-xs"><?= $val['id'] ?></td>
- <td>
- <?php
-
- $userId = $val['userId'];
- $user = xhUserService::getById($userId);
- echo isset($user['userName']) ? $user['userName'] : '游客';
- ?>
- </td>
- <td><?= $val['event'] ?></td>
- <td><?= $val['amount'] ?></td>
- <td><?= $val['balance'] ?></td>
- <td><?= $val['merchantTotalRecharge'] ?></td>
- <td><?= date("m-d H:i",strtotime($val['createTime'])) ?></td>
- <td><?php if($val['status'] == 1){ echo '充值成功'; }else{ } ?></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;">
- <?= $paging ?>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- footer -->
- <?php
- use backend\widgets\FooterWidget;
- ?>
- <?= FooterWidget::widget()?>
- <!-- footer -->
|