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.

119 lines
5.5 KiB
HTML

5 years ago
<extend name="Public/manage"/>
<block name="head">
<link href="__CSS__/user_zxy.css" rel="stylesheet">
<script src="__JS__/bootstrap-datetimepicker.min.js"></script>
<script src="__JS__/bootstrap-datetimepicker.zh-CN.js"></script>
<script src="__JS__/bootstrap-select.min.js"></script>
<style type="text/css">
.table_container table{border-bottom: 1px solid #E1E7F0;}
</style>
</block>
<block name="body">
<div class="matter_right_content border_right">
<div class="tabtitle clearfix">
<a href="{:U('index')}" class="btn tab_btn jbtn ">管理模式</a>
<a href="{:U('data_table')}" class="btn tab_btn jbtn active">数据模式</a>
</div>
<br>
<div id="tab2" class="matter_right_data ">
<form action="{:U('Game/data_table')}" method="post">
<div class="matter_right_search server_search clearfix">
<div class=" mrc form-group matter_create_wrap" style="margin-right: 0;">
<a class="btn btn_primary user_btn matter_export export_btn" href="{:U('Export/expUser',array(
'id'=>2,
'pay_status'=>1,
'developers'=>$uid,
'game_id'=>I('game_id'),
'pay_way'=>I('pay_way'),
'game_id'=>I('game_id'),
'start_time'=>I('start_time'),
'end_time'=>I('end_time'),
))}"><i class="export_icon"></i><span>导出数据</span></a>
</div>
<div class="mrc_colum0_8_3 mrc form-group">
<button type="button" class="btn btn_primary user_btn" url="{:U('Game/data_table')}" id="search">查询</button>
</div>
<div class="mrc_colum1_3_3 mrc mrc form-group">
<select id="gameId" name="game_id" class="form-control selectpicker"
data-live-search="true">
<option value="">全部游戏</option>
<volist name=":getDevelopGameList(UID)" id="vo">
<option value="{$vo.id}">{$vo.game_name}</option>
</volist>
</select>
</div>
</div>
</form>
<div class="table_container server_table">
<div class="table_responsive">
<table class="table table_striped table_hover table_control control table_new">
<thead>
<tr>
<th class=""></th>
<th class="gname">游戏</th>
<th class="">新增玩家</th>
<th class="">活跃玩家</th>
<th class="">流水</th>
<th class="">ARPU</th>
<th class="">ARPPU</th>
<th class="">付费率(%)</th>
<th class="">累计流水</th>
<th class="">累计玩家</th>
<th class="">上线时间</th>
</tr>
</thead>
<tbody>
<volist name="data" id="vo">
<tr name="rows">
<td>
<img src="{:get_cover($vo['icon'],'path')}" title="{$vo.game_name}">
</td>
<td title="{$vo.game_name}"><span class="gname">{$vo.game_name}</td>
<td>{$vo['data']['add_user']}</td>
<td>{$vo['data']['active_user'] | default=0}</td>
<td>{$vo['data']['spend']}</td>
<td>{$vo['data']['ARPU'] | default=0}</td>
<td>{$vo['data']['ARPPU']}</td>
<td>{$vo['data']['pay_rate']}</td>
<td>{$vo['data']['total_spend']}</td>
<td>{$vo['data']['total_user']}</td>
<td>{:empty($vo['online_time']) ? "--" : time_format($vo['online_time'])}</td>
</tr>
</volist>
</tbody>
</table>
<div class="pagination_wrap">
{$_page}
</div>
<p class="text_format hidden">暂无数据</p>
</div>
</div>
</div>
</div>
<script>
$('select[name=game_id]').change(function(){
$(this).closest('form').submit();
});
$.VMenu.show('#menu');
$.VMenu.open('m2.1');
$(function () {
Think.setValue("game_id","{:I('game_id')}");
$('#gameId').selectpicker({
size: 15
});
})
</script>
</block>