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.
203 lines
9.8 KiB
HTML
203 lines
9.8 KiB
HTML
<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>
|
|
.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">
|
|
<div class="">
|
|
<table border="1" id="exporttable" style="opacity: 0;">
|
|
<!-- 表头 -->
|
|
<thead>
|
|
<tr>
|
|
<th style="width:5%;min-width:10px;">操作</th>
|
|
<th>合同合作方名称</th>
|
|
<th>对应平台</th>
|
|
<th>合同期限</th>
|
|
<th>开票税点</th>
|
|
<th>结算周期</th>
|
|
<th>银行账号</th>
|
|
<th>开户行</th>
|
|
<th>备注</th>
|
|
|
|
<th>是否有游戏资质</th>
|
|
<th>是否签署合同</th>
|
|
|
|
<th>产品类型</th>
|
|
<th>原包名</th>
|
|
<th>现包名</th>
|
|
<th colspan="2">合作方分成比例</th>
|
|
|
|
</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}">
|
|
<a href="{:U('edit',array('id'=>$data['id']))}">编辑</a>
|
|
<a href="{:U('edit',array('id'=>$data['id'],'action' => 'show'))}">查看</a>
|
|
<a href="{:U('del',array('id'=>$data['id']))}" class="confirm ajax-get">删除</a>
|
|
</td>
|
|
<td rowspan="{$data.row}">{$data.partner}</td>
|
|
<td rowspan="{$data.row}">{$data.matche_platform}</td>
|
|
<td rowspan="{$data.row}">{$data.contract_time}</td>
|
|
<td rowspan="{$data.row}">{$data.invoice_rate}%</td>
|
|
<td rowspan="{$data.row}">{$data.settlement_type}</td>
|
|
<td rowspan="{$data.row}">{$data.bank_account}</td>
|
|
<td rowspan="{$data.row}">{$data.opening_bank}</td>
|
|
<td rowspan="{$data.row}">{$data.remark}</td>
|
|
<td rowspan="{$data.row}">{$data.has_game_evidence}</td>
|
|
<td rowspan="{$data.row}">{$data.is_sign_contract}</td>
|
|
|
|
<notempty name="data.game">
|
|
<foreach name="data['game']" item="game" key="gamekey">
|
|
|
|
<if condition="$gamekey gt 0">
|
|
<tr>
|
|
<td rowspan="{$game.row}">{$game['game_type_name']}</td>
|
|
<td rowspan="{$game.row}">{$game['original_package_name']}</td>
|
|
<td rowspan="{$game.row}">{$game['relation_game_name']}</td>
|
|
<notempty name="game.game_ratio">
|
|
<foreach name="game['game_ratio']" item="ratio" key="ratiokey">
|
|
<if condition="$ratiokey gt 0">
|
|
<tr>
|
|
<td>{$ratio['name']}</td>
|
|
<td>{$ratio['ratio']}</td>
|
|
</tr>
|
|
<else />
|
|
<td>{$ratio['name']}</td>
|
|
<td>{$ratio['ratio']}</td>
|
|
</if>
|
|
</foreach>
|
|
|
|
<else />
|
|
<td >-</td>
|
|
<td>-</td>
|
|
</notempty>
|
|
</tr>
|
|
<else />
|
|
<td rowspan="{$game.row}">{$game['game_type_name']}</td>
|
|
<td rowspan="{$game.row}">{$game['original_package_name']}</td>
|
|
<td rowspan="{$game.row}">{$game['relation_game_name']}</td>
|
|
|
|
<notempty name="game.game_ratio">
|
|
<foreach name="game['game_ratio']" item="ratio" key="ratiokey">
|
|
<if condition="$ratiokey gt 0">
|
|
<tr>
|
|
<td>{$ratio['name']}</td>
|
|
<td>{$ratio['ratio']}</td>
|
|
</tr>
|
|
<else />
|
|
<td>{$ratio['name']}</td>
|
|
<td>{$ratio['ratio']}</td>
|
|
</if>
|
|
</foreach>
|
|
|
|
<else />
|
|
<td >-</td>
|
|
<td>-</td>
|
|
</notempty>
|
|
|
|
</if>
|
|
</foreach>
|
|
<else />
|
|
<td rowspan="{$data.row}">-</td>
|
|
<td rowspan="{$data.row}">-</td>
|
|
<td rowspan="{$data.row}">-</td>
|
|
<td rowspan="{$data.row}">-</td>
|
|
<td rowspan="{$data.row}">-</td>
|
|
</notempty>
|
|
|
|
</tr>
|
|
</volist>
|
|
</empty>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="page">
|
|
{$_page|default=''}
|
|
</div>
|
|
|
|
<div class="common_settings">
|
|
<span class="plus_icon"><span><img src="__IMG__/zwmimages/icon_jia.png"></span></span>
|
|
<form class="addShortcutIcon">
|
|
<input type="hidden" name="title" value="{$meta_title}">
|
|
<input type="hidden" name="url" value="Partner/lists">
|
|
</form>
|
|
<a class="ajax-post add-butn <notempty name='commonset'>addSIsetted</notempty>" href="javascript:;" target-form="addShortcutIcon" url="{:U('Think/addShortcutIcon')}"><img src="__IMG__/zwmimages/icon_jia.png"><span><notempty name='commonset'>已添加<else />添加至常用设置</notempty></span></a>
|
|
</div>
|
|
|
|
</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">
|
|
$("#exporttable").table2excel({
|
|
filename: "合作方.xls", // do include extension
|
|
preserveColors: false // set to true if you want background colors and font colors preserved
|
|
});
|
|
</script>
|
|
</block>
|