2022-04-29 16:23:12 +08:00

30 lines
1.2 KiB
PHP

{extend name="../../admin/view/main"}
{block name='content'}
<div class="think-box-notify margin-bottom-15">
<b>温馨提示:</b>如需添加新内容,需要在<b> 系统管理 </b><b> 数据字典 </b>中添加类型为 <b>{$type|default=''}</b> 的记录。
</div>
<div class="layui-row layui-col-space15 portal-block-container notselect">
{foreach $types as $key=>$type}
<div class="layui-col-sm4 layui-col-md4 layui-col-lg3">
<!--{if auth('edit')}-->
<div class="pointer" data-open="{:url('edit')}?type={$key}">
<div class="portal-block-item nowrap think-bg-violet">
<div class="font-s14">编辑页面</div>
<div class="font-s18">{$type.name|default=''}</div>
</div>
<i class="portal-block-icon layui-icon layui-icon-read"></i>
</div>
<!--{else}-->
<div>
<div class="portal-block-item nowrap think-bg-violet">
<div class="font-s14">编辑页面</div>
<div class="font-s18">{$type.name|default=''}</div>
</div>
<i class="portal-block-icon layui-icon layui-icon-read"></i>
</div>
<!--{/if}-->
</div>
{/foreach}
</div>
{/block}