1
0
Files
GongShangLian/resources/views/admin/order/detail.blade.php
2020-08-06 15:36:28 +08:00

146 lines
5.1 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div class="box box-info" style="padding-bottom:20px;">
<div class="box-header with-border">
<h3 class="box-title">订单编号:{{ $order->orderid }}</h3>
<div class="box-tools">
<div class="btn-group pull-right" style="margin-right: 5px">
<a href="?_={{ time() }}" class="btn btn-sm btn-primary" title="">
<i class="fa fa-refresh"></i><span class="hidden-xs"> 刷新</span>
</a>
</div>
<div class="btn-group pull-right" style="margin-right: 5px">
<a href="/admin/orders" class="btn btn-sm btn-default" title="返回订单列表">
<i class="fa fa-list"></i><span class="hidden-xs"> 返回订单列表</span>
</a>
</div>
</div>
</div>
<style type="text/css" media="screen">
.step {
width: 60%;
margin: 20px 20% ;
border-bottom: 5px solid #00c0ef;
border-radius: 0 0 5px 5px;
}
.step ul {
display: flex;
list-style-type: none;
margin: 0;
padding: 0;
}
.step ul li {
display: block;
flex: 1;
margin: 0;
text-align: center;
line-height: 40px;
}
.act {
border-radius: 5px 5px 0 0;
color: #fff;
background: #00c0ef;
}
</style>
<div class="step">
<ul>
<li class="act">买家下单</li>
<li>买家付款</li>
<li>总部发货</li>
<li>用户取货</li>
<li>订单完成</li>
</ul>
</div>
<div class="row" style="padding: 0 20px">
<div class="col-md-6">
<div class="box box-warning box-solid">
<div class="box-header with-border">
<h3 class="box-title">订单信息</h3>
</div>
<div class="box-body table-responsive">
<p>
买  家: {{ $order->user->info->nickname }}
</p>
<p>
企业信息:{!! $order->remark_text !!}
</p>
</div>
</div>
</div>
<div class="col-md-6">
<div class="box box-success box-solid">
<div class="box-header with-border">
<h3 class="box-title">支付信息</h3>
</div>
<div class="box-body table-responsive">
<p>
付款方式: {!! $order->payment->type_text !!}
</p>
<p>
订单状态: {{ $order->state_text }}
</p>
<p>
支付单号:{{ $order->payment->out_trade_no }}
</p>
<p>
交易单号:{{ $order->payment->transaction_id }}
</p>
<p>
<!-- <button type="button" class="btn btn-xs btn-default">添加备注</button> -->
</p>
<p>
@foreach ($order->logs as $log)
{{ $log->state }} >>> {{ $log->status }} >>> {{ $log->created_at }} <br>
@endforeach
</p>
</div>
</div>
</div>
</div>
<div style="padding: 0 20px">
<div class="box box-info box-solid">
<div class="box-header with-border">
<h3 class="box-title">订单商品</h3>
</div>
<div class="box-body table-responsive">
<table class="table table-hover">
<thead>
<tr>
<th>商品图片</th>
<th>商品名称</th>
<th>单价</th>
<th>数量</th>
<th>小计</th>
</tr>
</thead>
<tbody>
@foreach ($order->details as $detail)
<tr>
<td><img src="{{ Storage::disk(config("admin.upload.disk"))->url($detail->item->cover) }}" style="width:60px;height:60px;"></td>
<td>{{ $detail->item->name }}</td>
<td>{{ $detail->price }}</td>
<td>{{ $detail->number }}</td>
<td>{{ $detail->total }}</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
<div class="text-right" style="padding-right:10px">
<p>
运费¥0.00
</p>
<p>
实付款:<span style="font-size:26px;color:red">{{ $order->total }}</span>
</p>
</div>
</div>
</div>