| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- <?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>
- </tr>
- </thead>
- <tbody class="middle-align">
- <?php foreach($models as $key => $val){?>
- <tr>
- <td><input type="checkbox"></td>
- <td><?= $val->event ?></td>
- <td><?php if($val->io == 1){ echo '+'; }else{ echo '-'; } ?><?= $val->amount ?></td>
- <td><?= $val->balance ?></td>
- <td><?= $val->createTime ?></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 -->
|