admin: platform orders tools layout + table wrap to avoid vertical text

This commit is contained in:
萝卜
2026-03-14 10:53:22 +00:00
parent 9678121efa
commit 50d90442c1
3 changed files with 60 additions and 31 deletions

View File

@@ -513,6 +513,14 @@
<h3>工具</h3>
<div class="muted mb-10">清除仅影响订单 meta 中的失败标记,不改变订单/订阅状态。</div>
@php
// 工具区布局:采用与“筛选条件”类似的排版(两列),避免所有内容挤到左侧。
// 说明:仅做结构包裹,不改动原表单字段/行为。
$toolForms = [];
@endphp
<div class="grid-2">
@php
$hasReconcileMismatchFilter = (($filters['reconcile_mismatch'] ?? '') === '1');
$hasRefundInconsistentFilter = (($filters['refund_inconsistent'] ?? '') === '1');
@@ -895,6 +903,8 @@
<button class="btn btn-danger btn-sm" type="submit">清除批量标记支付失败标记(全部订单)</button>
</div>
</form>
</div>
</div>
<div class="card">
@@ -922,36 +932,37 @@
@endphp
<a href="{!! $createOrderUrl !!}" class="btn btn-sm">新建平台订单</a>
</div>
<table>
<thead>
<tr>
<th>ID</th>
<th>订单号</th>
<th>站点</th>
<th>套餐</th>
<th>订单类型</th>
<th>订单状态</th>
<th>支付状态</th>
<th>应付金额</th>
<th>付金额</th>
<th>下单时间</th>
<th>支付时间</th>
<th>同步状态</th>
<th>订阅号</th>
<th>订阅到期</th>
<th>同步时间</th>
<th>失败原因</th>
<th>最近批量同步</th>
<th>最近批量生效</th>
<th>回执总额</th>
<th>对账差</th>
<th>回执数</th>
<th>退款</th>
<th>退款总额</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<div class="table-wrap">
<table class="table-nowrap">
<thead>
<tr>
<th>ID</th>
<th>订单号</th>
<th>站点</th>
<th>套餐</th>
<th>订单类型</th>
<th>订单状态</th>
<th>支付状态</th>
<th>付金额</th>
<th>已付金额</th>
<th>下单时间</th>
<th>支付时间</th>
<th>同步状态</th>
<th>订阅</th>
<th>订阅到期</th>
<th>同步时间</th>
<th>失败原因</th>
<th>最近批量同步</th>
<th>最近批量生效</th>
<th>回执总</th>
<th>对账差额</th>
<th>回执</th>
<th>退款</th>
<th>退款总额</th>
<th>操作</th>
</tr>
</thead>
<tbody>
@forelse($orders as $order)
<tr>
<td>{{ $order->id }}</td>
@@ -1270,7 +1281,8 @@
</tr>
@endforelse
</tbody>
</table>
</table>
</div>
</div>
<div class="pagination-wrap">{{ $orders->links() }}</div>