|
|
@ -74,7 +74,7 @@
|
|
|
|
<!-- 表头 -->
|
|
|
|
<!-- 表头 -->
|
|
|
|
<thead>
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th ><a class="paixu" data-order='time'>日期</a></th>
|
|
|
|
<th ><a class="paixu" data-order='date'>日期</a></th>
|
|
|
|
|
|
|
|
|
|
|
|
<if condition="$game_name neq ''">
|
|
|
|
<if condition="$game_name neq ''">
|
|
|
|
|
|
|
|
|
|
|
@ -88,23 +88,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
<th ><a class="paixu" data-order='register_count'>新增玩家</a></th>
|
|
|
|
<th ><a class="paixu" data-order='register_count'>新增玩家</a></th>
|
|
|
|
|
|
|
|
|
|
|
|
<th ><a class="paixu" data-order='1'>1日留存</a></th>
|
|
|
|
<th ><a class="paixu" data-order='retention_day1'>1日留存</a></th>
|
|
|
|
|
|
|
|
|
|
|
|
<th ><a class="paixu" data-order='2'>2日留存</a></th>
|
|
|
|
<th ><a class="paixu" data-order='retention_day2'>2日留存</a></th>
|
|
|
|
|
|
|
|
|
|
|
|
<th ><a class="paixu" data-order='3'>3日留存</a></th>
|
|
|
|
<th ><a class="paixu" data-order='retention_day3'>3日留存</a></th>
|
|
|
|
|
|
|
|
|
|
|
|
<th ><a class="paixu" data-order='4'>4日留存</a></th>
|
|
|
|
<th ><a class="paixu" data-order='retention_day4'>4日留存</a></th>
|
|
|
|
|
|
|
|
|
|
|
|
<th ><a class="paixu" data-order='5'>5日留存</a></th>
|
|
|
|
<th ><a class="paixu" data-order='retention_day5'>5日留存</a></th>
|
|
|
|
|
|
|
|
|
|
|
|
<th ><a class="paixu" data-order='6'>6日留存</a></th>
|
|
|
|
<th ><a class="paixu" data-order='retention_day6'>6日留存</a></th>
|
|
|
|
|
|
|
|
|
|
|
|
<th ><a class="paixu" data-order='7'>7日留存</a></th>
|
|
|
|
<th ><a class="paixu" data-order='retention_day7'>7日留存</a></th>
|
|
|
|
|
|
|
|
|
|
|
|
<th ><a class="paixu" data-order='15'>15日留存</a></th>
|
|
|
|
<th ><a class="paixu" data-order='retention_day15'>15日留存</a></th>
|
|
|
|
|
|
|
|
|
|
|
|
<th ><a class="paixu" data-order='30'>30日留存</a></th>
|
|
|
|
<th ><a class="paixu" data-order='retention_day30'>30日留存</a></th>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
</thead>
|
|
|
|
<!-- 列表 -->
|
|
|
|
<!-- 列表 -->
|
|
|
@ -124,15 +124,27 @@
|
|
|
|
<td>{$promote_name}</td>
|
|
|
|
<td>{$promote_name}</td>
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<td>{$vo.register_count}</td>
|
|
|
|
<td>{$vo.register_count}</td>
|
|
|
|
<td>{:round($vo['retention_day1']/$vo['register_count'],4)*100}%</td>
|
|
|
|
<?php if ($vo['register_count']>0):?>
|
|
|
|
<td>{:round($vo['retention_day2']/$vo['register_count'],4)*100}%</td>
|
|
|
|
<td>{$vo['retention_day1']}%</td>
|
|
|
|
<td>{:round($vo['retention_day3']/$vo['register_count'],4)*100}%</td>
|
|
|
|
<td>{$vo['retention_day2']}%</td>
|
|
|
|
<td>{:round($vo['retention_day4']/$vo['register_count'],4)*100}%</td>
|
|
|
|
<td>{$vo['retention_day3']}%</td>
|
|
|
|
<td>{:round($vo['retention_day5']/$vo['register_count'],4)*100}%</td>
|
|
|
|
<td>{$vo['retention_day4']}%</td>
|
|
|
|
<td>{:round($vo['retention_day6']/$vo['register_count'],4)*100}%</td>
|
|
|
|
<td>{$vo['retention_day5']}%</td>
|
|
|
|
<td>{:round($vo['retention_day7']/$vo['register_count'],4)*100}%</td>
|
|
|
|
<td>{$vo['retention_day6']}%</td>
|
|
|
|
<td>{:round($vo['retention_day15']/$vo['register_count'],4)*100}%</td>
|
|
|
|
<td>{$vo['retention_day7']}%</td>
|
|
|
|
<td>{:round($vo['retention_day30']/$vo['register_count'],4)*100}%</td>
|
|
|
|
<td>{$vo['retention_day15']}%</td>
|
|
|
|
|
|
|
|
<td>{$vo['retention_day30']}%</td>
|
|
|
|
|
|
|
|
<?php else:?>
|
|
|
|
|
|
|
|
<td>--</td>
|
|
|
|
|
|
|
|
<td>--</td>
|
|
|
|
|
|
|
|
<td>--</td>
|
|
|
|
|
|
|
|
<td>--</td>
|
|
|
|
|
|
|
|
<td>--</td>
|
|
|
|
|
|
|
|
<td>--</td>
|
|
|
|
|
|
|
|
<td>--</td>
|
|
|
|
|
|
|
|
<td>--</td>
|
|
|
|
|
|
|
|
<td>--</td>
|
|
|
|
|
|
|
|
<?php endif;?>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</volist>
|
|
|
|
</volist>
|
|
|
|
</empty>
|
|
|
|
</empty>
|
|
|
@ -218,17 +230,9 @@ $(function(){
|
|
|
|
var that=$(this);
|
|
|
|
var that=$(this);
|
|
|
|
$data_order=that.attr('data-order');
|
|
|
|
$data_order=that.attr('data-order');
|
|
|
|
$order_type='{$userarpu_order}';
|
|
|
|
$order_type='{$userarpu_order}';
|
|
|
|
if($order_type==''||$order_type=='4'){
|
|
|
|
|
|
|
|
$(".sortBy").attr('name','data_order');
|
|
|
|
$(".sortBy").attr('name','data_order');
|
|
|
|
val='3,'+$data_order;
|
|
|
|
$(".sortBy").attr('value',$data_order);
|
|
|
|
$(".sortBy").attr('value',val);
|
|
|
|
|
|
|
|
$("#search").click();
|
|
|
|
$("#search").click();
|
|
|
|
}else if($order_type=='3'){
|
|
|
|
|
|
|
|
$(".sortBy").attr('name','data_order');
|
|
|
|
|
|
|
|
val='4,'+$data_order;
|
|
|
|
|
|
|
|
$(".sortBy").attr('value',val);
|
|
|
|
|
|
|
|
$("#search").click();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
//回车自动提交
|
|
|
|
//回车自动提交
|
|
|
|
$('.jssearch').find('input').keyup(function(event){
|
|
|
|
$('.jssearch').find('input').keyup(function(event){
|
|
|
|