You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

159 lines
6.7 KiB
HTML

5 years ago
<extend name="Public/promote_base"/>
<block name="css">
<link href="__CSS__/20180207/data.css" rel="stylesheet">
<link href="__CSS__/20180207/platform.css" rel="stylesheet">
<style type="text/css">
@media screen and (max-width: 1480px) {
.form-group .submit{width: 55px;}
}
</style>
</block>
<block name="body">
<div class="page-search normal_list promoteCoin-record-search">
<div class="trunk-title">
<div class="location">
<div class="location-container">当前位置:<span>平台币></span><span>转账记录</span></div>
</div>
<img src="__IMG__/20180207/icon_jilu.png"><span class="title_main">转账记录</span>
</div>
<div class="trunk-content article">
<div class="trunk-search clearfix">
5 years ago
<form action="{:U('PromoteCoin/transferLogs', array('row'=>I('get.row')))}" method="post" class="clearfix">
5 years ago
<div class="form-group fl normal_space">
<a href="{:U('PromoteCoin/shift')}" class="submit" style="line-height: 36px; text-align: center;">转账</a>
</div>
<div class="form-group normal_space fr">
<input type="submit" class="submit" value="查询">
</div>
<div class="form-group fr normal_space">
<label class="form-title select-title">订单号:</label>
<input type="text" name="sn" class="txt normal_txt" id="uid" placeholder="订单号" value="{:I('sn')}">
</div>
<div class="form-group fr normal_space">
<label class="form-title select-title">收款账号:</label>
<input type="text" name="account" class="txt normal_txt" id="uid" placeholder="收款账号" value="{:I('account')}">
</div>
<div class="form-group normal_space fr">
<label class="form-title select-title">转账时间:</label>
<div class="select-time">
<input type="text" id="sdate" class="txt" name="time_start" value="{:I('time_start')}" placeholder="开始时间">
</div>
<label class="form-title select-title">&nbsp;&nbsp;</label>
<div class="select-time">
<input type="text" id="edate" class="txt" name="time_end" value="{:I('time_end')}" placeholder="结束时间">
</div>
</div>
<div class="form-group normal_space fr">
</div>
<!-- <div class="form-group fr normal_space">
<label class="form-title select-title">账号类型:</label>
<select name="handle_type" class="reselect select_gallery" style="min-width:170px;">
<option value="">全部</option>
<option value="1" <if condition="I('handle_type') === '1'">selected</if>>玩家转账</option>
<option value="2" <if condition="I('handle_type') === '2'">selected</if>>推广员转账</option>
<option value="3" <if condition="I('handle_type') === '3'">selected</if>>组长转账</option>
</select>
</div> -->
<div class="form-group fr">
<label class="form-title select-title">游戏:</label>
<select name="game_id" class="reselect select_gallery" style="min-width:170px;">
<option value="-1">全部</option>
<option value="0" <if condition="I('game_id') === '0'">selected</if>>所有游戏</option>
<volist name="games" id="vo">
<option value="{$vo.id}" <if condition="I('game_id') === $vo['id']">selected</if>>{$vo.game_name}</option>
</volist>
</select>
</div>
</form>
</div>
<div class="trunk-list list_normal">
<table class="table normal_table">
<tr>
<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="9" style="text-align: center;height: 38vh;"><img src="__IMG__/20180207/icon_wushujv2.png"/><p style="line-height: 40px;color: #A5A5A5;">暂无数据</p></td></tr>
<else />
<volist name="records" id="vo">
<tr>
<td>{$vo.sn}</td>
<td>{$vo.target_account}</td>
<td>{$vo.game_name}</td>
<td>{$vo.target_type_text}</td>
<td>{$vo.num}</td>
<td>{$vo.description}</td>
<td>{$vo.create_time}</td>
<td>{$vo.status_text}</td>
<td><a href="{:U('detail', ['id' => $vo['id']])}">查看详情</a></td>
</tr>
</volist>
</empty>
</table>
<div class="pagenation clearfix">
<?php if ($loginer['level'] !== 4) :?>
<a id="sch-btn" href="{:U('download/coinrecord_data_export',array_merge(['promote_type'=>'xxx'],I('post.')))}" class="ajax-get" >导出</a>
<?php endif ;?>
{$pagination}
</div>
</div>
</div>
</div>
</block>
<block name="script">
<link rel="stylesheet" type="text/css" href="__CSS__/p_jquery.datetimepicker.css">
<script type="text/javascript" src="__JS__/jquery.datetimepicker.js"></script>
<script type="text/javascript" src="__JS__/20170831/select2.min.js"></script>
<script type="text/javascript">
setValue('promote_id',{$Think.request.promote_id|default="''"});
setValue('row','{:I("get.row",10)}');
highlight_subnav('{:U('shift')}');
$().ready(function(){
highlight_subnav('{:U('Charge/agent_pay_list')}');
$('#sdate').datetimepicker({
lang:'ch',
format:'Y-m-d',
formatDate:'Y-m-d',
scrollMonth:false,
scrollTime:false,
scrollInput:false,
timepicker:false
});
$(".select_gallery").select2();
$('#edate').datetimepicker({
lang:'ch',
format:'Y-m-d',
formatDate:'Y-m-d',
scrollMonth:false,
scrollTime:false,
scrollInput:false,
timepicker:false
});
$(".submit").click(function(){
var sdate =$('#sdate').val();
var edate =$('#edate').val();
if(Date.parse(sdate) > Date.parse(edate)){
layer.msg('开始时间必须小于等于结束时间');
return false;
}
})
});
</script>
</block>