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.

68 lines
2.9 KiB
HTML

2 years ago
<extend name="Public/basic"/>
<block name="body">
<style>
.trunk-search .form-group {
margin-left: 10px;
}
</style>
<div class="page-search normal_list promoteCoin-record-search" style="padding: 20px;">
<div class="trunk-content article">
<div class="trunk-search clearfix" style="margin-bottom: 10px;">
<form action="{:U('PromoteCoin/subPromotes', array('row'=>I('get.row')))}" method="post" class="clearfix">
<input type="hidden" name="level" value="{:I('level', 0)}">
<div class="form-group normal_space fr">
<input type="submit" class="submit" value="查询">
</div>
<div class="form-group fr">
<label class="form-title select-title">手机号:</label>
<input type="text" name="mobile" class="txt normal_txt" id="uid" placeholder="手机号" value="{:I('mobile')}">
</div>
<div class="form-group fr">
<label class="form-title select-title">账号:</label>
<input type="text" name="account" class="txt normal_txt" id="uid" placeholder="账号" value="{:I('account')}">
</div>
</form>
</div>
<div class="trunk-list list_normal">
<table class="table normal_table">
<tr>
<th>账号</th>
<th>手机</th>
<th>姓名</th>
<th>操作</th>
</tr>
<empty name="records">
<tr><td colspan="4" 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 data-id="{$vo.id}">
<td class="item-account">{$vo.account}</td>
<td class="item-mobile">{$vo.mobile}</td>
<td class="item-real_name">{$vo.real_name}</td>
<td><a class="select-user" href="javascript:;">选择</a></td>
</tr>
</volist>
</empty>
</table>
<div class="pagenation clearfix">
{$pagination}
</div>
</div>
</div>
</div>
</block>
<block name="script">
<script type="text/javascript">
$('.select-user').on({
click: function() {
var tr = $(this).parents('tr').eq(0)
var id = tr.attr('data-id')
var account = tr.find('.item-account').html()
var mobile = tr.find('.item-mobile').html()
var realName = tr.find('.item-real_name').html()
parent.choiceUser(id, account, realName)
}
})
</script>
</block>