新增列表优化

master
chenzhi 3 years ago
parent ae82a0b632
commit 87c939b455

@ -159,7 +159,7 @@ class CoinOrderController extends BaseController
$data['remark'] = I("remark");
$data['voucher_img'] = $res['id'];
$data['order_status'] = 2;
$data['pay_way'] = 4;
$data['pay_way'] = 5;
$data['game_id'] = $game_id;
$data['discount'] = $config['coin_discount'] * 10;
}

@ -79,6 +79,7 @@
<elseif condition="$order_info.pay_way eq 2"/>微信支付
<elseif condition="$order_info.pay_way eq 3"/>银联支付
<elseif condition="$order_info.pay_way eq 4"/>双乾支付宝扫码支付
<elseif condition="$order_info.pay_way eq 5"/>支付宝线下转账
<else /> 未知</if>
</span>
</div>

@ -73,6 +73,7 @@
<table class="table normal_table">
<tr class="odd">
<th>充值订单号</th>
<th>游戏名称</th>
<th>充值金额</th>
<th>优惠值</th>
<th>平台币数量</th>
@ -87,6 +88,11 @@
<volist name="data_list" id="data">
<tr>
<td>{$data.order_number}</td>
<if condition="$data.game_id eq 0 ">
<td>通用</td>
<else />
<td>{:get_game_info($data['game_id'])['game_name']}</td>
</if>
<td>{$data.pay_amount}</td>
<td>{$data.discount}%</td>
<td>{$data.coin_num}</td>

Loading…
Cancel
Save