|
|
@ -34,7 +34,7 @@ class DepositLogController extends AdminController |
|
|
) |
|
|
) |
|
|
->body(function (Row $row) { |
|
|
->body(function (Row $row) { |
|
|
|
|
|
|
|
|
$row->column(4, function (Column $column) { |
|
|
|
|
|
|
|
|
$row->column(3, function (Column $column) { |
|
|
$column->row(Card::make('正常', function () { |
|
|
$column->row(Card::make('正常', function () { |
|
|
$price = Admin::user()->deposit_normal ?? 0; |
|
|
$price = Admin::user()->deposit_normal ?? 0; |
|
|
return <<<HTML |
|
|
return <<<HTML |
|
|
@ -45,29 +45,29 @@ HTML; |
|
|
})); |
|
|
})); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
$row->column(4, function (Column $column) { |
|
|
|
|
|
$column->row(Card::make('冻结', function () { |
|
|
|
|
|
$price = Admin::user()->deposit_frozen ?? 0; |
|
|
|
|
|
return <<<HTML |
|
|
|
|
|
<div class="d-flex justify-content-between align-items-center mt-1" style="margin-bottom: 2px"> |
|
|
|
|
|
<h2 class="ml-1 font-large-1 text-primary">$price</h2> |
|
|
|
|
|
</div> |
|
|
|
|
|
HTML; |
|
|
|
|
|
})); |
|
|
|
|
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
$row->column(4, function (Column $column) { |
|
|
|
|
|
$column->row(Card::make('消费', function () { |
|
|
|
|
|
$price = Admin::user()->deposit_used ?? 0; |
|
|
|
|
|
return <<<HTML |
|
|
|
|
|
<div class="d-flex justify-content-between align-items-center mt-1" style="margin-bottom: 2px"> |
|
|
|
|
|
<h2 class="ml-1 font-large-1 text-primary">$price</h2> |
|
|
|
|
|
</div> |
|
|
|
|
|
HTML; |
|
|
|
|
|
})); |
|
|
|
|
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
// $row->column(4, function (Column $column) {
|
|
|
|
|
|
// $column->row(Card::make('冻结', function () {
|
|
|
|
|
|
// $price = Admin::user()->deposit_frozen ?? 0;
|
|
|
|
|
|
// return <<<HTML
|
|
|
|
|
|
//<div class="d-flex justify-content-between align-items-center mt-1" style="margin-bottom: 2px">
|
|
|
|
|
|
// <h2 class="ml-1 font-large-1 text-primary">$price</h2>
|
|
|
|
|
|
//</div>
|
|
|
|
|
|
//HTML;
|
|
|
|
|
|
// }));
|
|
|
|
|
|
//
|
|
|
|
|
|
// });
|
|
|
|
|
|
//
|
|
|
|
|
|
// $row->column(4, function (Column $column) {
|
|
|
|
|
|
// $column->row(Card::make('消费', function () {
|
|
|
|
|
|
// $price = Admin::user()->deposit_used ?? 0;
|
|
|
|
|
|
// return <<<HTML
|
|
|
|
|
|
//<div class="d-flex justify-content-between align-items-center mt-1" style="margin-bottom: 2px">
|
|
|
|
|
|
// <h2 class="ml-1 font-large-1 text-primary">$price</h2>
|
|
|
|
|
|
//</div>
|
|
|
|
|
|
//HTML;
|
|
|
|
|
|
// }));
|
|
|
|
|
|
//
|
|
|
|
|
|
// });
|
|
|
|
|
|
|
|
|
}) |
|
|
}) |
|
|
->body( |
|
|
->body( |
|
|
|