123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- {extend name='main'}
- {block name="button"}
- <!--{if auth("add")}-->
- <a class='layui-btn layui-btn-sm layui-btn-primary' data-title="添加" data-modal='{:url("add")}'>添加</a>
- <!--{/if}-->
- {/block}
- {block name="content"}
- <div class="think-box-shadow">
- <!-- {include file='funding/index_search'}-->
- <table class="layui-table margin-top-10" lay-skin="line">
- {notempty name='list'}
- <thead>
- <tr>
- <th class='list-table-check-td think-checkbox'>
- <label><input data-auto-none data-check-target='.list-check-box' type='checkbox'></label>
- </th>
- <th class='text-left nowrap'>图片</th>
- <th class='text-left nowrap'></th>
- </tr>
- </thead>
- {/notempty}
- <tbody>
- {foreach $list as $key=>$vo}
- <tr data-dbclick>
- <td class='list-table-check-td think-checkbox'>
- <label><input class="list-check-box" value='{$vo.id}' type='checkbox'></label>
- </td>
- <td class='text-left nowrap'>
- <img data-tips-image style="width:60px;height:60px" src="{$vo.image|default=''}" class="margin-right-5 text-top">
- </td>
- <td class='text-left nowrap'>
- <a data-dbclick class="layui-btn layui-btn-sm" data-title="编辑" data-modal='{:url("edit")}?id={$vo.id}'>编 辑</a>
- <a class="layui-btn layui-btn-sm layui-btn-danger" data-confirm="确定要删除该吗?" data-action="{:url('remove')}" data-value="id#{$vo.id}" data-csrf="{:systoken('remove')}">删 除</a>
- </td>
- </tr>
- {/foreach}
- </tbody>
- </table>
- {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
- </div>
- {/block}
|