|
@@ -107,6 +107,17 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <div class="col-sm-3 ui-sortable">
|
|
|
+ <div class="ibox float-e-margins">
|
|
|
+ <div class="ibox-title">
|
|
|
+ <span class="label label-danger pull-right">人数</span>
|
|
|
+ <h5>投注人数</h5>
|
|
|
+ </div>
|
|
|
+ <div class="ibox-content">
|
|
|
+ <h1 class="no-margins">{{d.user}}</h1>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</form>
|
|
|
</div>
|
|
@@ -127,8 +138,6 @@
|
|
|
<div class="layui-card-header">场次列表</div>
|
|
|
<div class="layui-card-body">
|
|
|
<table class="layui-hide" id="List" lay-filter="List"></table>
|
|
|
-
|
|
|
-
|
|
|
<script type="text/html" id="image">
|
|
|
<img style="cursor: pointer" lay-event="open_image" src="{{d.image}}">
|
|
|
</script>
|
|
@@ -176,11 +185,22 @@
|
|
|
{field: 'create_time', title: '创建时间', align: 'center',width: '8%'},
|
|
|
{field: 'right', title: '操作', align: 'center', toolbar: '#act',width: '15%'},
|
|
|
];
|
|
|
- });
|
|
|
|
|
|
+ });
|
|
|
+ layList.baseGet(layList.U({a:'list',q:{type:1}}), function (res) {
|
|
|
+ console.log(res);
|
|
|
+ }, function (res) {
|
|
|
+ $('.no-margins').text(res.count);
|
|
|
+ });
|
|
|
//查询
|
|
|
layList.search('search',function(where){
|
|
|
layList.reload(where,true);
|
|
|
+ console.log(where);
|
|
|
+ layList.baseGet(layList.U({c:'many.many_order',a:'list',q:{type:1,many_id:where['many_id'],name:where['name'],order_id:where['order_id'],stage:where['stage']}}), function (res) {
|
|
|
+ console.log(res);
|
|
|
+ }, function (res) {
|
|
|
+ $('.no-margins').text(res.count);
|
|
|
+ });
|
|
|
});
|
|
|
|
|
|
//点击事件绑定
|