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.

232 lines
10 KiB
HTML

5 years ago
<extend name="Public/base"/>
<block name="body">
<link rel="stylesheet" href="__CSS__/select2.min.css" type="text/css" />
<script type="text/javascript" src="__JS__/bootstrap.min.js"></script>
<script type="text/javascript" src="__JS__/select2.min.js"></script>
<script src="__STATIC__/table2excel.js"></script>
<style>
5 years ago
html{
opacity: 0;
}
5 years ago
.select2-container--default .select2-selection--single {
color: #000;
resize: none;
border-width: 1px;
border-style: solid;
border-color: #a7b5bc #ced9df #ced9df #a7b5bc;
box-shadow: 0px 3px 3px #F7F8F9 inset;height:35px;
height:28px;border-radius:3px;font-size:12px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
line-height:35px;
line-height:28px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
height:26px;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
height:26px;line-height:26px;font-size:12px;
}
.select2-results__option[aria-selected] {font-size:12px;}
.data_list table td{
text-indent:0;
}
</style>
<div class="cf main-place top_nav_list navtab_list">
<h3 class="page_title">{$meta_title}</h3>
</div>
<!-- 数据列表 -->
<div class="data_list data_game_list">
5 years ago
<!-- <div style="margin:auto;font-size: 20px;color: red;line-height: 3;padding: 20px;">
导出进行中。。。<br/>
如果导出成功你也可以手动关闭此页面
5 years ago
</div> -->
5 years ago
<div class="">
5 years ago
<table border="1" id="exporttable">
5 years ago
<!-- 表头 -->
<thead>
<tr>
5 years ago
5 years ago
<th>合同合作方名称</th>
<th>对应平台</th>
5 years ago
<th>公司性质</th>
5 years ago
<th>原包名</th>
<th>现包名</th>
5 years ago
<th>产品类型</th>
<th colspan="2">游戏分成比例</th>
<th>结算周期</th>
<th>帐户名</th>
<th>银行账号</th>
<th>收款银行</th>
5 years ago
5 years ago
<th>是否有预付款</th>
<th>是否为收款方</th>
5 years ago
<th>预付款金额</th>
<th>是否签署合同</th>
<th>合同期限</th>
<th>生效期限</th>
<th>开票税点</th>
<th>发票类型</th>
<th>税费费率</th>
5 years ago
<th>渠道费率</th>
<th>注册地址</th>
<th>注册电话</th>
<th>联系人</th>
<th>联系电话</th>
<th>联系地址</th>
5 years ago
</tr>
</thead>
<!-- 列表 -->
<tbody>
<empty name ="listData">
<td colspan="15" class="text-center">aOh! 暂时还没有内容!</td>
<else />
<volist name="listData" id="data">
<tr>
<td rowspan="{$data.row}">{$data.partner}</td>
<td rowspan="{$data.row}">{$data.matche_platform}</td>
5 years ago
<td rowspan="{$data.row}">{$data.company_type}</td>
<notempty name="data.game">
<td rowspan="{$data['game'][0]['row']}">{$data['game'][0]['original_package_name']}</td>
<td rowspan="{$data['game'][0]['row']}">{$data['game'][0]['relation_game_name']}</td>
<td rowspan="{$data['game'][0]['row']}">{$data['game'][0]['game_type_name']}</td>
<notempty name="data['game'][0]['game_ratio']">
<td>{$data['game'][0]['game_ratio'][0]['name']}</td>
<td>{$data['game'][0]['game_ratio'][0]['ratio']}%</td>
<else />
<td >-</td>
<td>-</td>
</notempty>
<else />
<td>-</td>
<td>-</td>
<td>-</td>
<td>-</td>
<td>-</td>
</notempty>
5 years ago
<td rowspan="{$data.row}">{$data.settlement_type}</td>
5 years ago
<td rowspan="{$data.row}">{$data.payee_name}</td>
5 years ago
<td rowspan="{$data.row}">&nbsp;{$data.bank_account}</td>
5 years ago
<td rowspan="{$data.row}">{$data.opening_bank}</td>
5 years ago
<td rowspan="{$data.row}">{$data.has_advance_charge}</td>
<td rowspan="{$data.row}">{$data.is_collection}</td>
5 years ago
<td rowspan="{$data.row}">{$data.advance_amount}</td>
<td rowspan="{$data.row}">{$data.is_sign_contract}</td>
<td rowspan="{$data.row}">{$data.contract_time}</td>
<td rowspan="{$data.row}">{$data.validity_time}</td>
<td rowspan="{$data.row}">{$data.invoice_rate}%</td>
<td rowspan="{$data.row}">{$data.invoice_type}</td>
<td rowspan="{$data.row}">{$data.taxation_rate}%</td>
5 years ago
<td rowspan="{$data.row}">{$data.channel_rate}%</td>
<td rowspan="{$data.row}">{$data.reg_address}</td>
<td rowspan="{$data.row}">{$data.reg_phone}</td>
<td rowspan="{$data.row}">{$data.link_man}</td>
<td rowspan="{$data.row}">{$data.link_phone}</td>
<td rowspan="{$data.row}">{$data.address}</td>
5 years ago
</tr>
<if condition="$data['game'][0]['row'] gt 1">
<foreach name="data['game'][0]['game_ratio']" item="game_ratio" key="gamekey">
<if condition="$gamekey gt 0">
<tr>
<td>{$game_ratio['name']}</td>
<td>{$game_ratio['ratio']}%</td>
</tr>
</if>
</foreach>
</if>
<notempty name="data['game'][1]">
<foreach name="data['game']" item="game" key="gkey">
<if condition="$gkey gt 0">
<tr>
<td rowspan="{$game['row']}">{$game['original_package_name']}</td>
<td rowspan="{$game['row']}">{$game['relation_game_name']}</td>
<td rowspan="{$game['row']}">{$game['game_type_name']}</td>
<notempty name="game['game_ratio']">
<td>{$game['game_ratio'][0]['name']}</td>
<td>{$game['game_ratio'][0]['ratio']}%</td>
<else />
<td >-</td>
<td>-</td>
</notempty>
</tr>
<if condition="$game['row'] gt 1">
<foreach name="game['game_ratio']" item="game_ratio" key="gamekey">
<if condition="$gamekey gt 0">
5 years ago
<tr>
5 years ago
<td>{$game_ratio['name']}</td>
<td>{$game_ratio['ratio']}%</td>
5 years ago
</tr>
</if>
</foreach>
5 years ago
</if>
5 years ago
5 years ago
</if>
</foreach>
5 years ago
5 years ago
</notempty>
5 years ago
5 years ago
5 years ago
</volist>
</empty>
</tbody>
</table>
</div>
</div>
<div class="page">
{$_page|default=''}
</div>
5 years ago
5 years ago
</block>
<block name="script">
<script src="__STATIC__/layer/layer.js"></script>
<script src="__STATIC__/layer/extend/layer.ext.js"></script>
<link href="__STATIC__/datetimepicker/css/datetimepicker.css" rel="stylesheet" type="text/css">
<php>if(C('COLOR_STYLE')=='blue_color') echo '<link href="__STATIC__/datetimepicker/css/datetimepicker_blue.css" rel="stylesheet" type="text/css">';</php>
<link href="__STATIC__/datetimepicker/css/dropdown.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="__STATIC__/datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
<script type="text/javascript" src="__STATIC__/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js" charset="UTF-8"></script>
<style>
.layui-layer-demo .layui-layer-title {background:#F0F5F7;font-weight:bold;}
.layui-layer-demo .layui-layer-content {}
.layui-layer-demo .layui-layer-content table{width:100%;border:0;border-spacing:0;padding:0;}
.layui-layer-demo .layui-layer-content td {height:42px;padding-left:20px;}
.layui-layer-demo .layui-layer-content tr:hover {background:#F0F5F7;}
.layui-layer-demo .layui-layer-content tr~tr {border-top:1px solid #ccc;}
.layui-layer-demo .layui-layer-content td~td {border-left:1px solid #ccc;}
.layui-layer-demo .layui-layer-content tr:last-child td {}
</style>
<script>
<volist name=":I('get.')" id="vo">
Think.setValue('{$key}',"{$vo}");
</volist>
$(".select_gallery").select2();
</script>
<script type="text/javascript">
5 years ago
$("#exporttable").table2excel({
filename: "合作方.xls", // do include extension
preserveColors: false // set to true if you want background colors and font colors preserved
});
5 years ago
</script>
</block>