diff --git a/resources/views/admin/orders/show.blade.php b/resources/views/admin/orders/show.blade.php
index 5e671ce..ed48e96 100644
--- a/resources/views/admin/orders/show.blade.php
+++ b/resources/views/admin/orders/show.blade.php
@@ -1,50 +1,101 @@
@extends('admin.layouts.app')
-@section('title', '平台订单详情')
-@section('page_title', '平台订单详情')
+@section('title', '订单详情')
+@section('page_title', '订单详情')
@section('content')
-
-
订单 {{ $order->order_no }}
-
- | ID | {{ $order->id }} |
- | 商家 | {{ $order->merchant?->name ?? ('商家#'.$order->merchant_id) }} |
- | 平台 | {{ $order->platform }} |
- | 订单状态 | {{ $order->status }} |
- | 支付渠道 | {{ $order->payment_channel }} |
- | 支付状态 | {{ $order->payment_status }} |
- | 买家 | {{ $order->buyer_name }} |
- | 手机 | {{ $order->buyer_phone }} |
- | 邮箱 | {{ $order->buyer_email }} |
- | 商品金额 | ¥{{ number_format($order->product_amount, 2) }} |
- | 优惠金额 | ¥{{ number_format($order->discount_amount, 2) }} |
- | 运费 | ¥{{ number_format($order->shipping_amount, 2) }} |
- | 应付金额 | ¥{{ number_format($order->pay_amount, 2) }} |
- | 备注 | {{ $order->remark }} |
- | 创建时间 | {{ $order->created_at }} |
-
+@php
+ $incomingBack = (string) request()->query('back', '');
+ $safeBackForLinks = \App\Support\BackUrl::sanitizeForLinks($incomingBack);
+@endphp
+
+
-
-
订单明细
-
- | ID | 商品 | SKU | 单价 | 数量 | 小计 | 快照 |
-
- @forelse($order->items as $item)
+
+
+
+
+
+
+ | ID | {{ $order->id }} |
+ | 商家 | {{ $order->merchant?->name ?? ('商家#'.$order->merchant_id) }} |
+ | 平台 | {{ $order->platform }} |
+ | 订单状态 | {{ $order->status }} |
+ | 支付渠道 | {{ $order->payment_channel }} |
+ | 支付状态 | {{ $order->payment_status }} |
+ | 买家 | {{ $order->buyer_name }} |
+ | 手机 | {{ $order->buyer_phone }} |
+ | 邮箱 | {{ $order->buyer_email }} |
+ | 商品金额 | ¥{{ number_format((float) $order->product_amount, 2) }} |
+ | 优惠金额 | ¥{{ number_format((float) $order->discount_amount, 2) }} |
+ | 运费 | ¥{{ number_format((float) $order->shipping_amount, 2) }} |
+ | 应付金额 | ¥{{ number_format((float) $order->pay_amount, 2) }} |
+ | 备注 | {{ $order->remark }} |
+ | 创建时间 | {{ $order->created_at }} |
+
+
+
+
+
+
+
+
+
+
+
- | {{ $item->id }} |
- {{ $item->product_title }} |
- {{ $item->product_sku }} |
- ¥{{ number_format($item->product_price, 2) }} |
- {{ $item->quantity }} |
- ¥{{ number_format($item->line_total_amount, 2) }} |
- {{ $item->snapshot['category'] ?? '-' }} |
+ ID |
+ 商品 |
+ SKU |
+ 单价 |
+ 数量 |
+ 小计 |
+ 快照 |
- @empty
- | 暂无订单明细 |
- @endforelse
-
-
-
返回订单列表
+
+
+ @forelse($order->items as $item)
+
+ | {{ $item->id }} |
+ {{ $item->product_title }} |
+ {{ $item->product_sku }} |
+ ¥{{ number_format((float) $item->product_price, 2) }} |
+ {{ $item->quantity }} |
+ ¥{{ number_format((float) $item->line_total_amount, 2) }} |
+ {{ $item->snapshot['category'] ?? '-' }} |
+
+ @empty
+ | 暂无订单明细 |
+ @endforelse
+
+
+
@endsection