REAPI/app/robot/view/order/index.html

47 lines
2.1 KiB
HTML
Raw Permalink Normal View History

2024-09-29 15:43:18 +08:00
{extend name="../../admin/view/main"}
{block name="content"}
<div class="layui-tab layui-tab-card think-bg-white table-block">
<div class="layui-tab-content think-box-shadow table-block table-block">
{include file='order/index_search'}
<table class="layui-table margin-top-10" lay-skin="line">
{notempty name='list'}
<thead>
<tr>
<th class='text-left nowrap' width="">渠道</th>
<th class='text-left nowrap' width="">订单</th>
<th class='text-left nowrap' width="">金额</th>
<th class='text-left nowrap' width="">状态</th>
<th class='text-left nowrap' width="">时间</th>
<th class='text-left nowrap' width="">信息</th>
</tr>
</thead>
{/notempty}
<tbody>
{foreach $list as $key=>$vo}
<tr>
<td class='text-left nowrap'>渠道:<span>{$vo.channel.name|default=''|raw} <span class="color-desc">{$vo.cid|default=''}</span> <span class="color-desc">{$vo.channel.key|default=''}</span> </span><br>产品:<span>{$vo.product.name|default=''|raw} <span class="color-desc">{$vo.pid|default=''}</span> <span class="color-desc">{$vo.product.key|default=''}</span> </span></td>
<td class='text-left nowrap'>订单号:<span>{$vo.order_id|default=''|raw}</span><br>商户订单号:<span>{$vo.merchant_order_id|default=''|raw}</span></td>
<td class='text-left nowrap'><span>{$vo.cash|default=''|raw}</span></td>
<td class='text-left nowrap'><span>{$vo.status_name|default=''|raw}</span></td>
<td class='text-left nowrap'><span>{$vo.create_at|default=''|raw}</span></td>
<td class='text-left nowrap'>
<a class="layui-btn layui-btn-xs layui-btn-normal" data-title="查看信息" data-modal="{:url('info')}?id={$vo.id}">查看信息</a>
</td>
</tr>
{/foreach}
</tbody>
</table>
{empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
</div>
</div>
{/block}