123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- {extend name='admin@main'}
- {block name="content"}
- <div class="think-box-shadow">
- <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-center">狀態</th>
- <th class="text-center">時間</th>
- <th class="text-center">操作</th>
- </tr>
- </thead>
- {/notempty}
- <tbody>
- {foreach $list as $key=>$vo}
- <tr>
- <td class='text-left nowrap'>
- {if $vo.type == 1} 安卓 {else} IOS {/if}
- </td>
- <td class='text-left nowrap'>
- {$vo.title|default=''}
- </td>
- <td class='text-center nowrap'>
- {eq name='vo.status' value='0'}<span class="layui-badge">已禁用</span>{else}<span class="layui-badge layui-bg-green">使用中</span>{/eq}<br>
- </td>
- <td class='text-center nowrap'>{$vo.create_at|format_datetime}</td>
- <td class='text-center nowrap'>
- {if auth("store/versions/edit")}
- <a data-title="編輯版本" class="layui-btn layui-btn-sm" data-modal='{:url("edit")}?id={$vo.id}'>編 輯</a>
- {/if}
- </td>
- </tr>
- {/foreach}
- </tbody>
- </table>
- {empty name='list'}<span class="notdata">沒有記錄哦</span>{else}{$pagehtml|raw|default=''}{/empty}
- </div>
- {/block}
|