1 line
3.4 KiB
HTML
Executable File
1 line
3.4 KiB
HTML
Executable File
<div class="row-content am-cf">
|
|
|
|
<div class="row">
|
|
|
|
<div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
|
|
|
|
<div class="widget am-cf">
|
|
|
|
<div class="widget-head am-cf">
|
|
|
|
<div class="widget-title am-cf">模板库列表</div>
|
|
|
|
</div>
|
|
|
|
<div class="tips am-margin-bottom-sm am-u-sm-12">
|
|
|
|
<div class="pre-info">
|
|
|
|
<p> 注:如果模板库数量超限,可保留不同类型最新的版本。过期版本可删除</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="widget-body am-fr">
|
|
|
|
<div class="am-scrollable-horizontal am-u-sm-12">
|
|
|
|
<table width="100%" class="am-table am-table-hover tpl-table-black">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>模板ID</th>
|
|
|
|
<th>版本号</th>
|
|
|
|
<th>模板描述</th>
|
|
<th>模板类型</th>
|
|
<th>开发者</th>
|
|
|
|
<th>创建时间</th>
|
|
|
|
<th>操作</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{if sizeof($list) > 0}
|
|
|
|
{foreach $list as $item}
|
|
|
|
<tr>
|
|
|
|
<td class="am-text-middle">{$item['template_id']}</td>
|
|
|
|
<td class="am-text-middle">
|
|
|
|
<p class="item-title">{$item['user_version']}</p>
|
|
|
|
</td>
|
|
|
|
<td class="am-text-middle">{$item['user_desc']}</td>
|
|
<td class="am-text-middle">
|
|
{$item['template_type']?'标准':'普通'}
|
|
</td>
|
|
<td class="am-text-middle">{$item['developer']}</td>
|
|
|
|
<td class="am-text-middle">{$item['create_time']|date='Y-m-d H:i'}</td>
|
|
|
|
<td class="am-text-middle">
|
|
|
|
<div class="tpl-table-black-operation">
|
|
|
|
<a href="javascript:;" class="item-del tpl-table-black-operation-del"
|
|
|
|
data-id="{$item['template_id']}">
|
|
|
|
<i class="am-icon-trash"></i> 删除
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{/foreach}
|
|
|
|
{else /}
|
|
|
|
<tr>
|
|
|
|
<td colspan="6" class="am-text-center">暂无记录</td>
|
|
|
|
</tr>
|
|
|
|
{/if}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<script>
|
|
|
|
$(function () {
|
|
|
|
// 删除元素
|
|
|
|
var url = "{:url('applet.wxtpl/delete')}";
|
|
|
|
$('.item-del').del('id', url);
|
|
|
|
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|