master
parent
49751b8760
commit
c0fe59864c
@ -0,0 +1,96 @@
|
||||
<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;
|
||||
}
|
||||
.normal_table td button.danger-btn {
|
||||
background-color: rgb(249,104,104);
|
||||
}
|
||||
</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 width="150">资源类型</th>
|
||||
<th width="150">资源内容</th>
|
||||
<th>资源价值</th>
|
||||
<th>资源数量</th>
|
||||
<th>备注</th>
|
||||
<th>+</th>
|
||||
<th>-</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><select name="" class="select_gallery"><option value="">请选择</option></select></td>
|
||||
<td><select name="" class="select_gallery"><option value="">请选择</option></select></td>
|
||||
<td>198</td>
|
||||
<td><input type="text"></td>
|
||||
<td><input type="text"></td>
|
||||
<td><button type="button">增加</button></td>
|
||||
<td><button type="button" class="danger-btn">删除</button></td>
|
||||
</tr>
|
||||
</empty>
|
||||
</table>
|
||||
|
||||
<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">
|
||||
$(".select_gallery").select2();
|
||||
$('.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>
|
Loading…
Reference in New Issue