|
@@ -14,7 +14,7 @@
|
|
|
|
|
|
{block name="content"}
|
|
|
<div class="think-box-shadow">
|
|
|
- {include file='approve_maintain_user/index_search'}
|
|
|
+ {include file='goods/index_search'}
|
|
|
<table class="layui-table margin-top-10" lay-skin="line">
|
|
|
{notempty name='list'}
|
|
|
<thead>
|
|
@@ -22,10 +22,13 @@
|
|
|
<th class='list-table-check-td think-checkbox'>
|
|
|
<input data-auto-none data-check-target='.list-check-box' type='checkbox'>
|
|
|
</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>
|
|
|
+ <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>
|
|
@@ -36,12 +39,25 @@
|
|
|
<td class='list-table-check-td think-checkbox'>
|
|
|
<input class="list-check-box" value='{$vo.id}' type='checkbox'>
|
|
|
</td>
|
|
|
- <td class='text-left nowrap'>{$get_type_title_list[$vo.type]}</td>
|
|
|
- <td class='text-left nowrap'>{$vo.name|default=''}</td>
|
|
|
- <td class='text-left nowrap'>{$vo.mobile|default='--'}</td>
|
|
|
- <td class='text-left nowrap'>{$vo.birthday|default='--'}</td>
|
|
|
+ <td class='text-left nowrap'>{$vo.goods_category_first|default='--'} - {$vo.goods_category_id|default='--'}</td>
|
|
|
+ <td class='text-left nowrap'>{$vo.goods_no|default='--'}</td>
|
|
|
+ <td class='text-left nowrap'>{$vo.goods_name|default='--'}</td>
|
|
|
+ <td class='text-left nowrap'>{$vo.goods_brand|default='--'}</td>
|
|
|
+ <td class='list-table-sort-td'>
|
|
|
+ <input data-action-blur="{:request()->url()}" data-value="id#{$vo.id};action#sort;sort#{value}" data-loading="false" value="{$vo.sort}" class="list-sort-input">
|
|
|
+ </td>
|
|
|
+ <td class='text-left nowrap'>
|
|
|
+ {eq name='vo.status' value='0'}<strong class="color-red">已下架</strong>{else}<strong class="color-green">正常</strong>{/eq}
|
|
|
+ </td>
|
|
|
+ <td class='text-left nowrap'>{$vo.create_at|default=''}</td>
|
|
|
<td class='text-left nowrap'>
|
|
|
|
|
|
+ {if $vo.status eq 1 and auth("forbid")}
|
|
|
+ <a class="layui-btn layui-btn-xs layui-btn-warm" data-confirm="确定要禁用该账号吗?" data-action="{:url('forbid')}" data-value="id#{$vo.id};status#0" data-csrf="{:systoken('forbid')}">禁 用</a>
|
|
|
+ {elseif auth("resume")}
|
|
|
+ <a class="layui-btn layui-btn-xs layui-bg-blue" data-confirm="确定要启用该账号吗?" data-action="{:url('resume')}" data-value="id#{$vo.id};status#1" data-csrf="{:systoken('resume')}">启 用</a>
|
|
|
+ {/if}
|
|
|
+
|
|
|
{if auth("edit")}
|
|
|
<a class="layui-btn layui-btn-xs" data-modal="{:url('edit')}?id={$vo.id}">编 辑</a>
|
|
|
{/if}
|