1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<?php
/**
* 公益收益
* $Id: proceeds_list.inc,v 1.1 2020/01/03 11:18:46 Exp $
* @author lixq
* @access public
* @package manager.templates
*/
?>
<style type="text/css">
.p-table,.p-table tr td{
border: 1px solid #dcdfe6;
border-collapse: collapse;
text-align: center;
height:30px;
}
</style>
<div id="classSetting">
<div class="list_title">
公益收益
</div>
<br />
<table class="p-table" width="99%" style="font-size: 14px;">
<tr>
<td width="25%">公益视频数量</td>
<td width="25%">观看人数</td>
<td width="25%">公益收益</td>
<td width="25%">利率</td>
</tr>
<tr>
<td><?=$proceeds_count["total"]?></td>
<td><?=$proceeds_count["view_total"]?></td>
<td><?=$proceeds["money_total"]?></td>
<td><?=$course_rate?></td>
</tr>
</table>
<div class="result_list">
<el-table :data="tableData" border>
<el-table-column prop="title" label="视频名称" width=""></el-table-column>
<el-table-column prop="type" label="视频种类" width=""></el-table-column>
<el-table-column prop="name" label="用户名称" width=""></el-table-column>
<el-table-column prop="money" label="线上缴费" width=""></el-table-column>
<el-table-column prop="registration_date" label="观看时间" width=""></el-table-column>
</el-table>
</div>
</div>
<?
if ($count> 0) {
?>
<!--page begin-->
<?
require_once("page_common.inc");
?>
<!--page end-->
<?
}
?>
<script type="text/javascript">
var list=[];
<?
foreach ($uer_media_list as $tmp) {
?>
var data={
title:'<?=$tmp["title"]?>',
money:'<?=$tmp["money"]?>',
registration_date:'<?=$tmp["registration_date"]?>',
name:'<?=$tmp["name"]?>',
type:'公益视频'
};
list.push(data);
<?
}
?>
new Vue({
el:'#classSetting',
data:{
tableData: list,
}
})
</script>