72 lines
1.5 KiB
HTML
72 lines
1.5 KiB
HTML
{php include pubTemplate("header")}
|
|
|
|
|
|
<div class="container">
|
|
<nav aria-label="breadcrumb" class="position-relative">
|
|
<ol class="breadcrumb">
|
|
<li class="breadcrumb-item"><a href="{SITE_URL}">首页</a></li>
|
|
<li class="breadcrumb-item active" aria-current="page"><a href="{tsUrl('shop')}">商店</a></li>
|
|
<li class="breadcrumb-item active" aria-current="page">我的订单</li>
|
|
</ol>
|
|
</nav>
|
|
|
|
|
|
<div class="card">
|
|
<div class="card-body">
|
|
<div class="mb-3">
|
|
<a class="btn btn-sm text-secondary" href="{tsUrl('shop','myorder')}">我买到的</a>
|
|
<a class="btn btn-sm btn-outline-secondary" href="">我卖出的</a>
|
|
</div>
|
|
<div class="shopping">
|
|
|
|
<table class="table table-hover table-bordered">
|
|
<thead class="thead-light">
|
|
<tr><th>订单ID</th><th>Title</th><th>买家</th><th>价格</th><th>数量</th><th>总额</th><th>订单状态</th><th>日期</th><th>操作</th></tr>
|
|
</thead>
|
|
<tbody>
|
|
{loop $strmyoder $key $item}
|
|
<tr>
|
|
<td>
|
|
{$item[orderid]}
|
|
</td>
|
|
<td>
|
|
{$item[title]}
|
|
</td>
|
|
<td>
|
|
{$item[buyusername]}
|
|
</td>
|
|
<td> {$item[pay]}{if $item[pay_type] == '1'}积分{/if}</td>
|
|
<td>
|
|
{$item[much]}
|
|
</td>
|
|
<td>
|
|
{$item[needpay]}{if $item[pay_type] == '1'}积分{/if}
|
|
</td>
|
|
<td>
|
|
{if $item[state] == '1'}交易完成{/if}
|
|
</td>
|
|
<td>
|
|
{$item[addtime]}
|
|
</td>
|
|
<td>
|
|
<a href="{tsUrl('shop','order',array('id'=>$item[orderid]))}">查看</a>
|
|
</td>
|
|
</tr>
|
|
{/loop}
|
|
</tbody>
|
|
|
|
|
|
</table>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
{php include pubTemplate("footer")} |