23 lines
938 B
PHP
23 lines
938 B
PHP
@php $pageTitle = '支付结果 - '.$siteName; @endphp
|
|
@include('partials.head')
|
|
<body>
|
|
@include('partials.header')
|
|
<div class="container auth-layout">
|
|
<main class="auth-box">
|
|
<h1 class="list-title">支付结果</h1>
|
|
@if($payment->status === 'paid')
|
|
<div class="alert alert-success">支付成功!订单号:{{ $payment->order_no }}</div>
|
|
@elseif($payment->status === 'pending')
|
|
<div class="alert alert-error">支付未完成,订单号:{{ $payment->order_no }}</div>
|
|
@else
|
|
<div class="alert alert-error">订单状态:{{ $payment->status }}</div>
|
|
@endif
|
|
<p><strong>商品:</strong>{{ $payment->subject }}</p>
|
|
<p><strong>金额:</strong>¥{{ number_format($payment->amount / 100, 2) }}</p>
|
|
<p class="auth-alt"><a href="{{ route('home') }}">返回首页</a></p>
|
|
</main>
|
|
</div>
|
|
@include('partials.footer')
|
|
</body>
|
|
</html>
|