Merge branch 'feature/promote' into dev

master
ELF 5 years ago
commit 2b2d9d04de

@ -337,4 +337,9 @@ class SpendRepository
$items = M('spend', 'tab_')->field('count(DISTINCT user_id) as count, game_id')->where($conditions)->group('game_id')->find(); $items = M('spend', 'tab_')->field('count(DISTINCT user_id) as count, game_id')->where($conditions)->group('game_id')->find();
return $this->assembleRecords($items, $gameIds, 'count', 'game_id'); return $this->assembleRecords($items, $gameIds, 'count', 'game_id');
} }
public function getCommonQuery($params, $columns = '*')
{
// return M('spend', 'tab_')->field($columns)->where($map);
}
} }

@ -124,7 +124,7 @@
<else/> <else/>
{$withdraw.sum_money} {$withdraw.sum_money}
</if> </if>
<span style="color: red;">(实际提现金额=提现金额+奖惩金额)</span> <span style="color: red;">(实际提现金额=收益金额+奖惩金额)</span>
</span> </span>
</div> </div>
</div> </div>

@ -376,7 +376,9 @@ $(function(){
$('.cancel-shift-btn').on({ $('.cancel-shift-btn').on({
click: function() { click: function() {
var id = $(this).parents('tr').eq(0).attr('data-id') var tr = $(this).parents('tr').eq(0)
var id = tr.attr('data-id')
var parentId = tr.attr('data-parent-id')
var shiftType = $(this).attr('data-promote-shift-type') var shiftType = $(this).attr('data-promote-shift-type')
var shiftTypeName = getShiftTypeName(shiftType) var shiftTypeName = getShiftTypeName(shiftType)
layer.confirm('是否要取消' + shiftTypeName, {icon: 3, title:'提示'}, function(index){ layer.confirm('是否要取消' + shiftTypeName, {icon: 3, title:'提示'}, function(index){

@ -8,8 +8,8 @@
<link href="__CSS__/viewer.min.css" rel="stylesheet" /> <link href="__CSS__/viewer.min.css" rel="stylesheet" />
<script type="text/javascript" src="__JS__/viewer.min.js"></script> <script type="text/javascript" src="__JS__/viewer.min.js"></script>
<script type="text/javascript" src="__JS__/game.js"></script> <script type="text/javascript" src="__JS__/game.js"></script>
<div class=""> <div class="" style="background: url(__IMG__/inner_banner1.jpg) no-repeat 100%/cover;height: 3rem;">
<img src="__IMG__/inner_banner1.jpg"> <!-- <img src="__IMG__/inner_banner1.jpg"> -->
</div> </div>
<div class="official"> <div class="official">
<div class="inner clearfix"> <div class="inner clearfix">

@ -1,6 +1,6 @@
@charset "utf-8"; @charset "utf-8";
html{font-family:"Microsoft YaHei","Helvetica Neue",Helvetica,sans-serif,Arial,"tahoma";} html{font-family:"Microsoft YaHei","Helvetica Neue",Helvetica,sans-serif,Arial,"tahoma";}
body{background:#fff; font:12px/22px "Microsoft YaHei"; min-width:1200px;} /* body{background:#fff; font:12px/22px "Microsoft YaHei"; min-width:1200px;} */
body,div,ul,ol,li,dl,dt,dd,h1,h2,h3,h4,h5,h6,p,img,select,input{padding:0; margin:0; list-style:none; vertical-align:middle;} body,div,ul,ol,li,dl,dt,dd,h1,h2,h3,h4,h5,h6,p,img,select,input{padding:0; margin:0; list-style:none; vertical-align:middle;}
input,textarea:focus{outline:none;} input,textarea:focus{outline:none;}
input::-webkit-input-placeholder,input:-ms-input-placeholder,input::-moz-placeholder{color:#999;} input::-webkit-input-placeholder,input:-ms-input-placeholder,input::-moz-placeholder{color:#999;}

Loading…
Cancel
Save