<!DOCTYPE html>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    
    <meta charset="UTF-8">
    <title>结算详情</title>
    <link href="__CSS__/20170831/iconfont.css" rel="stylesheet" type="text/css">
    <link href="__CSS__/20170831/select2.min.css" rel="stylesheet" type="text/css" />
    <link href="__CSS__/20170831/common.css" rel="stylesheet" type="text/css">
    <link href="__CSS__/20170831/finance.css" rel="stylesheet">
		<style>
		html{height:100%;}body{height:100%;background:#fff;}
		.page-list .article {padding-bottom:20px;}
		.page-list {margin-top:0;padding-top:20px;}
		.pagenation {padding:25px 20px;text-align:center;padding-top:0;}
.pagenation>div {display:inline-block;}
.pagenation span,.pagenation a {display:inline-block;height:40px;padding:0px 20px; border:1px solid #D7DCDF;margin:1px;text-align:center;line-height:40px;color:#D7DCDF;float:left;}
.pagenation span.current,.pagenation a:hover {border-color:#526782;color:#526782;}
.pagenation .prev {border-top-left-radius:5px;border-bottom-left-radius:5px;}
.pagenation .next {border-top-right-radius:5px;border-bottom-right-radius:5px;}
.pagenation div {
    float: right;
    border-radius: 5px;
    line-height: 1.444444;
}
.pagenation select {
    height: 30px;
    float: left;
    margin-right: 15px;
    color: #404040;
    border: 1px solid #ccc;
    padding: 2px;
    border-radius: 3px;
}
			.pagenation .sch-btn, .pagenation .sch-btn:hover {
					background: #3C95C8;
					font-size: 14px;
					font-weight: normal;
					cursor: pointer;
					color: #fff;
					cursor: pointer;
					border-radius: 3px;
					text-align: center;
					border-bottom: none;
					width: 55px;
					height: 30px;padding: 0;
					float: right;
					margin-left: 15px;
					line-height: 30px;
					border: none;
			}
			
			.table4  tr {
    height: 40px;line-height:40px;
}.table4  tr:nth-child(2n-1) {
    background: #FAFAFC;
    border-top: 1px solid #f3f5f9;
    border-bottom: 1px solid #f3f5f9;
}.table4  tr th {
    background: #F0EFF5;
    border-top: 1px solid #f3f5f9;
    color: #6a7082;font-size:14px;font-weight: bold;
}
.table4  td, .table4  th {
    border: 1px solid #E0E7EF;
}
		</style>
</head>
<style>
    
</style>
<body>  
    <div id="main" class="page-list query-register-list" style="min-height: 342px;">       
        <!-- 标题栏 -->
    	<div class="cf"></div>
        <!-- 数据列表 -->
        <div class="trunk-content article">
            <div class="trunk-list">
                <table class="table4">
                    <!-- 表头 -->
                    <tr class="odd">
                        <th>结算周期</th>
                        <th>游戏名称</th>
                        <th>总充值</th>
                        <th>总注册</th>
                        <th>结算模式</th>
                        <th>分成比例</th>
                        <th>注册单价</th>
                        <th>结算金额</th>
                    </tr>

                    <!-- 列表 -->
                	<volist name="list_data" id="data">
                    <tr>
                        <td>{$data.starttime|date='Y-m-d',###}至{$data.endtime|date='Y-m-d',###}</td>
                        <td>{$data.game_name}</td>  
                        <td>{$data.total_money}</td>
                        <td>{$data.total_number}</td>  
                        <td>{:get_pattern($data['pattern'])}</td>
                        <td>{$data.ratio}%</td>  
                        <td>{$data.money}</td>
                        <td>{$data.sum_money}</td>                       
                    </tr>
                    </volist>
                    <tr>
                        <td colspan='8' style="text-align: center;">汇总:{$total}</td>
                    </tr>
                </table>
            </div>
        </div>
        <div class="pagenation">
					<a class="sch-btn" id="export_data" href="{:U('Export/earning_detail',array(
								'id'=>I('id'),
								'xlsname'=>'财务管理_我的结算_结算详情'
                ))}" >导出</a>
					{$_page}
				</div>
    </div>
    </body>
</html>