39 lines
1.6 KiB
HTML
39 lines
1.6 KiB
HTML
{extend name="../../admin/view/main"}
|
|
|
|
{block name='content'}
|
|
<div class="think-box-shadow table-block">
|
|
<table class="layui-table margin-top-10" lay-skin="line">
|
|
{notempty name='list'}
|
|
<thead>
|
|
<tr>
|
|
<th class="text-left nowrap">商户名称</th>
|
|
<th class="text-left nowrap">通道名称</th>
|
|
<th class="text-left nowrap">商品名称</th>
|
|
<th class="text-left nowrap">商品关键字</th>
|
|
<th class="text-left nowrap">商品折扣</th>
|
|
<th class="text-left nowrap">分面值折扣</th>
|
|
<th class="text-left nowrap"></th>
|
|
</tr>
|
|
</thead>
|
|
{/notempty}
|
|
<tbody>
|
|
{foreach $list as $key=>$vo}
|
|
<tr>
|
|
<td class="text-left nowrap"><span class="color-blue">{$vo.mname}</span></td>
|
|
<td class="text-left nowrap"><span class="color-red">{$vo.pname}</span></td>
|
|
<td class="text-left nowrap">{$vo.product_name}</td>
|
|
<td class="text-left nowrap">{$vo.product_key}</td>
|
|
<td class="text-left nowrap">{$vo.percent}</td>
|
|
<td class="text-left nowrap">{$vo.rule|raw}</td>
|
|
<td class='text-left nowrap'>
|
|
{if auth("edit")}
|
|
<a data-dbclick class="layui-btn layui-btn-xs" data-title="编辑折扣" data-modal="{:url('edit')}?pid={$vo.pid}&product_key={$vo.product_key}&mid={$vo.mid}&project_id={$vo.project_id}">编 辑</a>
|
|
{/if}
|
|
</td>
|
|
</tr>
|
|
{/foreach}
|
|
</tbody>
|
|
</table>
|
|
{empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
|
|
</div>
|
|
{/block} |