<extend name="Public/basic"/>
<block name="body">
    <style>
        .trunk-search .form-group {
            margin-left: 10px;
        }
        .normal_table input {
            position: relative;
            padding: 5px;
            border: 1px solid #E5E5E5;
            border-radius: 4px;
            height: 25px;
        }
        .normal_table td {
            padding: 5px;
        }
        .normal_table td select {
            width: 100%;
        }
        .normal_table td button {
            width: 70px;
            height: 35px;
            display: block;
            background: #409eff;
            color: #fff;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }
        .normal_table td button.delete-row {
            background-color: rgb(249,104,104);
        }
        .btn-row {
            position: relative;
            font-size: 11px;
            margin-top: 28px;
            text-align: center;
        }
        .btn-row button {
            width: 70px;
            height: 35px;
            display: block;
            background: #409eff;
            color: #fff;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            display: inline-block;
        }
        .btn-row button.close-btn {
            background: #E5E5E5;
            color: #535875;
        }
        .form-group .static-input {
            line-height: 32px;
            display: inline-block;
        }
        .trunk-search button {
            width: 70px;
            height: 35px;
            display: block;
            background: #409eff;
            color: #fff;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            display: inline-block;
        }
        .info-row {
            margin-top: 10px;
        }
        .info-row button {
            width: 120px;
            height: 25px;
            display: block;
            background: #E5E5E5;
            color: #535875;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            display: inline-block;
            margin-left: 10px;
        }
        .normal_table td .status-0 {
            color: #e6a23c;
        }
        .normal_table td .status-1 {
            color: #67c23a;
        }
        .normal_table td .status-2 {
            color: #f56c6c;
        }
        .normal_table tr td {
            padding: 10px 5px;
        }
    </style>
    <div class="page-search normal_list promoteCoin-record-search" style="padding: 20px;">
        <div class="trunk-content article">
            <div class="trunk-list list_normal">
                <div class="table-wrapper" style="height: 200px;">
                    <table id="resource-table" class="table normal_table">
                        <tr class="odd zwm_tr">
                            <th>申请ID</th>
                            <th>申请时间</th>
                            <th>游戏名称</th>
                            <th>玩家账号</th>
                            <th>区服名称</th>
                            <th>角色名称</th>
                            <th>申请人</th>
                            <th>资源内容</th>
                            <th>资源价值</th>
                            <th>申请数量</th>
                            <th>申请金额</th>
                            <th>申请备注</th>
                            <th>发放状态</th>
                          </tr>
                          <empty name="records">
                          <tr><td colspan="14" style="text-align: center;height: 45vh;"><img src="__IMG__/20180207/icon_wushujv2.png"/><p style="line-height: 40px;color: #A5A5A5;">暂无数据</p></td></tr>
                          <else />
                          <volist name="records" id="record" mod="2">
                          <tr data-id="{$record.id}" class="<eq name='mod' value='1'>odd</eq>">
                              <td>{$record.id}</td>
                              <td>
                                <?=substr($record['create_time'], 0, 10)?>
                                <br>
                                <?=substr($record['create_time'], 10)?>
                              </td>
                              <td>{$record.game_name}</td>
                              <td>{$record.user_account}</td>
                              <td>{$record.server_name}</td>
                              <td>{$record.role_name}</td>
                              <td>{$record.apply_promote_account}</td>
                              <td>{$record.ref_name}</td>
                              <td>{$record.ref_amount}</td>
                              <td>{$record.num}</td>
                              <td>{$record.amount}</td>
                              <td>{$record.remark}</td>
                              <td><span class="status-{$record.provide_status}">{$record.provide_status_text}</span></td>
                          </tr>
                          </volist>
                          </empty>
                    </table>
                </div>
                <!-- <div class="pagenation clearfix">
                    {$pagination}
                </div> -->
            </div>
        </div>
    </div>
</block>
<block name="script">
<script type="text/javascript" src="__JS__/20170831/select2.min.js"></script>
<script type="text/javascript">

</script>
</block>