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.

95 lines
4.0 KiB
HTML

5 years ago
<extend name="Public/promote_base"/>
<block name="css">
<link href="__CSS__/20180207/data.css" rel="stylesheet">
<link href="__CSS__/20180207/game.css" rel="stylesheet" >
</block>
<block name="body">
<div class="page-list normal_list discount-index-list ">
<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">
<div class="tab fl">
<a href="#" class="current">我的福利</a>
<eq name="parent_id" value="0">
<a href="{:U('child_promote')}" class="">子渠道福利</a>
</eq>
</div>
<form action="{:U('index',array('row'=>I('get.row')))}" method="post" enctype="multipart/form-data">
<div class="form-group normal_space fr">
<input type="submit" class="submit" value="查询">
</div>
<div class="form-group fr">
<select id="game_id" name="game_id" class="reselect select_gallery" style="min-width:150px;width: 180px;">
<option value="">请选择游戏</option>
<volist name=":get_game_list()" id="vo">
<option value="{$vo.id}">{$vo.game_name}</option>
</volist>
</select>
</div>
</form>
</div>
<div class="trunk-list list_normal" style="">
<table class="table normal_table">
<tr class="odd">
<th>ID</th>
<th>推广员账号</th>
<th>游戏名称</th>
<th>统一折扣</th>
<th>代充折扣</th>
<th>首充折扣</th>
<th>续充折扣</th>
</tr>
<empty name="lists_data">
<tr><td colspan="7" 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="lists_data" id="vo" mod="2">
<tr class="<eq name='mod' value='1'>odd</eq>">
<php>$vo = discount_data($vo)</php>
<td>{$vo.id}</td>
<td>{:get_promote_account($vo['promote_id'])}</td>
<td>{$vo.game_name}</td>
<td>{$vo.game_discount}</td>
<td>{$vo.promote_discount}</td>
<td>{$vo.first_discount}</td>
<td>{$vo.continue_discount}</td>
</tr>
</volist>
</empty>
</table>
<div class="pagenation clearfix">
<a class="sch-btn" id="export_data" href="{:U('Export/discount',array(
'game_id'=>I('game_id'),
'xlsname'=>'会长福利_会长福利_我的福利'
))}" >导出</a>
{$_page}
</div>
</div>
</div>
<div class="page-explain discount-index-explain">
<div class="trunk-content article border_normal">
<table class="desccontent">
<tr><td class="title">我的福利说明:</td><td class="det">我的福利包含渠道享受的会长代充折扣,推广渠道下的玩家首充续充享受的充值折扣福利;</td></tr>
<tr><td></td><td class="det">渠道福利需平台设置才可享受,如若没有,则不享受福利。</td></tr>
</table>
</div>
</div>
</div>
</block>
<block name="script">
<script type="text/javascript" src="__JS__/20170831/select2.min.js"></script>
<script>
highlight_subnav("{:U('index')}");
setValue('game_id',{$Think.request.game_id|default='""'});
setValue('row','{:I("get.row",10)}');
$(function() {
$(".select_gallery").select2();
});
</script>
</block>