<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta charset="UTF-8"> <title>游戏登陆列表|----软件管理平台</title> <link href="http://admin.vlcms.com/Public/icon.ico" type="image/x-icon" rel="shortcut icon"> <script type="text/javascript" src="__STATIC__/jquery-2.0.3.min.js"></script> <script src="__STATIC__/table2excel.js"></script> </head> <style> html { min-width: 100%; } body { padding: 0px; } </style> <body> <div style="margin:auto;font-size: 16px;color: red;line-height: 3;padding: 20px;"> 导出进行中。。。<br /> 如果导出成功你也可以手动关闭此页面 </div> <table border="1" id="exporttable" style="opacity: 0;"> <!-- 表头 --> <thead> <tr> <th>公司名称</th> <th>内外团</th> <th>结算周期</th> <th>游戏类型</th> <th>原游戏名称</th> <th>现游戏名称</th> <th>生效时间</th> <th colspan="2">比例分成</th> </tr> </thead> <!-- 列表 --> <tbody> <if condition = "empty($data)"> <tr> <td colspan="9" class="text-center">aOh! 暂时还没有内容!</td> </tr> <else/> <volist name="data" id="data"> <tr> <td rowspan="{$data.row}">{$data.company_name}</td> <td rowspan="{$data.row}">{$data.company_belong}</td> <td rowspan="{$data.row}">{$data.settlement_type}</td> <td rowspan="{$data.row}">{$data.game_type_name}</td> <td rowspan="{$data.row}">{$data.original_package_name}</td> <td rowspan="{$data.row}">{$data.relation_game_name}</td> <td rowspan="{$data.row}">{$data.valid}</td> <notempty name="data['turnover_ratio'][0]"> <td>{$data['turnover_ratio'][0]['name']|default="--"}</td> <td>{$data['turnover_ratio'][0]['ratio']|showPercent}</td> <else /> <td>--</td> <td>--</td> </notempty> </tr> <if condition="$data['row'] gt 1"> <foreach name="data['turnover_ratio']" item="game_ratio" key="gamekey"> <if condition="$gamekey gt 0"> <tr> <td>{$game_ratio['name']|default="--"}</td> <td>{$game_ratio['ratio']|showPercent}</td> </tr> </if> </foreach> </if> </volist> </if> </tbody> </table> <script> $(function () { $("#exporttable").table2excel({ filename: "游戏特殊比例申请.xls", // do include extension preserveColors: false // set to true if you want background colors and font colors preserved }); }); </script> </body> </html>