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.
229 lines
7.3 KiB
HTML
229 lines
7.3 KiB
HTML
<extend name="Public/promote_base"/>
|
|
<block name="css">
|
|
<link rel="stylesheet" href="__CSS__/20170831/select2.min.css" type="text/css"/>
|
|
<link href="__CSS__/20180207/data.css" rel="stylesheet">
|
|
<link href="__CSS__/20180207/game.css" rel="stylesheet">
|
|
<link href="__CSS__/20180207/finance.css" rel="stylesheet">
|
|
<link href="__CSS__/game_detailed.css" rel="stylesheet">
|
|
<link href="__STATIC__/icons_alibaba/iconfont.css" rel="stylesheet">
|
|
|
|
<style type="text/css">
|
|
.trunk-list {
|
|
position: relative;
|
|
min-height: 66vh;
|
|
}
|
|
|
|
.pagenation {
|
|
text-align: center;
|
|
line-height: 5vh;
|
|
}
|
|
|
|
.lwx_dialog_prompt .layui-layer-content {
|
|
padding-top: 15px;
|
|
}
|
|
|
|
.lwx_dialog_title {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.launch_platform_prompt .layui-layer-input, .lwx_dialog_input, .lwx_dialog_select, .lwx_dialog_textarea {
|
|
display: block;
|
|
width: 220px;
|
|
height: 32px;
|
|
margin: 0 auto;
|
|
line-height: 32px;
|
|
padding: 0 5px;
|
|
border: 1px solid #ccc;
|
|
box-shadow: 1px 1px 5px rgba(0, 0, 0, .1) inset;
|
|
color: #333;
|
|
}
|
|
|
|
.lwx_dialog_select {
|
|
width: 272px;
|
|
}
|
|
|
|
.lwx_dialog_textarea {
|
|
height: 64px;
|
|
width: 260px;
|
|
margin-top: 10px;
|
|
resize: none;
|
|
}
|
|
|
|
.lwx_dialog_input {
|
|
width: 260px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.launch_platform_prompt .layui-layer-btn, .lwx_dialog_prompt .layui-layer-btn {
|
|
text-align: center;
|
|
padding-bottom: 25px;
|
|
}
|
|
|
|
.launch_platform_prompt .layui-layer-btn .layui-layer-btn0, .lwx_dialog_prompt .layui-layer-btn .layui-layer-btn0 {
|
|
width: 81%;
|
|
line-height: 32px;
|
|
height: 32px;
|
|
margin: 0;
|
|
}
|
|
|
|
.lwx_dialog_notice {
|
|
position: absolute;
|
|
bottom: 6px;
|
|
left: 20px;
|
|
font-size: 12px;
|
|
color: #999;
|
|
}
|
|
|
|
.lwx_dialog_prompt .select2-container, .select2-container--default .select2-selection--single {
|
|
width: 272px !important;
|
|
}
|
|
|
|
.applycbtn {
|
|
display: block;
|
|
color: #50B370;
|
|
}
|
|
|
|
textarea {
|
|
font-family: inherit;
|
|
}
|
|
|
|
.trunk-content {
|
|
margin: 0 2%;
|
|
}
|
|
|
|
.pic-prev:hover, .pic-next:hover {
|
|
background-color: #4ac5c3;
|
|
}
|
|
|
|
.add-disable {
|
|
color: #999;
|
|
}
|
|
</style>
|
|
</block>
|
|
|
|
<block name="body">
|
|
<div class="page-list normal_list apply-index-list jssearch">
|
|
<div class="trunk-title">
|
|
<div class="location">
|
|
<div class="location-container">当前位置:<span>平台币管理></span><span>我的平台币</span></div>
|
|
</div>
|
|
<img src="__IMG__/20180207/icon_normal_yve.png"><span class="title_main">资产管理</span>
|
|
</div>
|
|
<div class="trunk-content article">
|
|
<div class="trunk-search clearfix">
|
|
<!-- <form action="{:U('myCoin')}" method="post" enctype="multipart/form-data"-->
|
|
<!-- class="marg_top20">-->
|
|
<div class="form-group normal_space fr">
|
|
<input type="submit" class="submit" id='submit' url="{:U('myCoin','model='.$model['name'],false)}"
|
|
value="查询">
|
|
</div>
|
|
<div class="form-group normal_space fr">
|
|
<label>状态:</label>
|
|
<select id="status" name="status" class="reselect select_gallery" style="min-width:200px;width: 175px;">
|
|
<option value="">全部</option>
|
|
<option value="1"
|
|
<?=(I('status')==1)?'selected="selected"':''?>>正常</option>
|
|
<option value="2"
|
|
<?=(I('status')==2)?'selected="selected"':''?>>锁定</option>
|
|
<option value="3"
|
|
<?=(I('status')==3)?'selected="selected"':''?>>验证失败</option>
|
|
</select>
|
|
</div>
|
|
<div class="form-group normal_space fr">
|
|
<label>平台币类型:</label>
|
|
<select id="coin_type" name="coin_type" class="reselect select_gallery"
|
|
style="min-width:200px;width: 175px;">
|
|
<option value="">全部</option>
|
|
<option value="2"
|
|
<?=(I('coin_type')==2)?'selected="selected"':''?>>绑定币</option>
|
|
<option value="1"
|
|
<?=(I('coin_type')==1)?'selected="selected"':''?>>通用币</option>
|
|
</select>
|
|
</div>
|
|
<div class="form-group normal_space fr">
|
|
<label>游戏名称:</label>
|
|
<select id="game_id" name="game_id" class="reselect select_gallery" style="min-width:200px;width: 175px;">
|
|
<option value="">全部</option>
|
|
<volist name=":getPromoteSearchGame()" id="vo">
|
|
<option value="{$vo.id}" title="{$vo.game_name}"
|
|
<if condition="I('game_id') eq $vo['id']">selected</if>
|
|
>{$vo.game_name} </option>
|
|
</volist>
|
|
</select>
|
|
</div>
|
|
<!-- </form>-->
|
|
</div>
|
|
<div class="trunk-list">
|
|
<div class="div_bgtab">
|
|
<table class="table normal_table zwm_tab">
|
|
<tr class="odd <if condition='get_parent_id(PID) eq 0'>pid</if> zwm_tr">
|
|
<th>平台币类型</th>
|
|
<th>游戏名称</th>
|
|
<th>平台币余额</th>
|
|
<th>资产状态</th>
|
|
<th>操作</th>
|
|
</tr>
|
|
<empty name="data">
|
|
<tr>
|
|
<td colspan="5" 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="data" id="vo">
|
|
<tr>
|
|
<if condition="$vo.game_id eq 0">
|
|
<td>通用币</td>
|
|
<td>通用</td>
|
|
<else/>
|
|
<td>绑定币</td>
|
|
<td>{$vo.game_name}</td>
|
|
</if>
|
|
<td>{$vo.num}</td>
|
|
<td>{:getCoinStatusName($vo['status'])}</td>
|
|
<td>
|
|
<a href="{:U('coinRecord',array('game_id'=>$vo['game_id']))}" style="text-decoration: underline;color: #3A97FF;">交易明细表</a>
|
|
</td>
|
|
</tr>
|
|
</volist>
|
|
</empty>
|
|
</table>
|
|
</div>
|
|
<div class="pagenation clearfix">
|
|
<!-- <a class="sch-btn" href="{:U('Export/expUser',array_merge(array('id'=>8,'xlsname'=>'会长福利_平台币入账记录'),I('post.')))}" >导出</a>-->
|
|
{$_page}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</block>
|
|
<block name="script">
|
|
<script src="__STATIC__/zeroclipboard/jquery.zclip.min.js"></script>
|
|
<script type="text/javascript" src="__JS__/20170831/select2.min.js"></script>
|
|
<script>
|
|
setValue('row', '{:I("row",10)}');
|
|
|
|
$(document).ready(function () {
|
|
$(".select_gallery").select2();
|
|
|
|
$('#submit').click(function () {
|
|
var url = $(this).attr('url');
|
|
console.log(url);
|
|
var query = $('.jssearch').find('input').serialize();
|
|
query += "&" + $('.jssearch').find('select').serialize();
|
|
query = query.replace(/(&|^)(\w*?\d*?\-*?_*?)*?=?((?=&)|(?=$))/g, '');
|
|
query = query.replace(/^&/g, '');
|
|
if (url.indexOf('?') > 0) {
|
|
url += '&' + query;
|
|
} else {
|
|
url += '?' + query;
|
|
}
|
|
window.location.href = url;
|
|
|
|
});
|
|
});
|
|
</script>
|
|
</block>
|