mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-08 02:52:49 +08:00
开始官网模板
This commit is contained in:
@@ -217,8 +217,8 @@
|
||||
<div class="layui-form-label">模板</div>
|
||||
<div class="layui-input-block">
|
||||
<select name="tpl_name">
|
||||
{volist name=':config("view_type.post")' id='tpl_name' key="tpl_fix"}
|
||||
<option value="{$tpl_fix}">{$tpl_name}</option>
|
||||
{volist name=':config("view_type.post")' id='tpl_name'}
|
||||
<option value="{$key}">{$tpl_name}</option>
|
||||
{/volist}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
@@ -221,8 +221,8 @@
|
||||
<div class="layui-form-label">模板</div>
|
||||
<div class="layui-input-block">
|
||||
<select name="tpl_name">
|
||||
{volist name=':config("view_type.post")' id='tpl_name' key="tpl_fix"}
|
||||
<option value="{$tpl_fix}">{$tpl_name}</option>
|
||||
{volist name=':config("view_type.post")' id='tpl_name'}
|
||||
<option value="{$key}">{$tpl_name}</option>
|
||||
{/volist}
|
||||
</select>
|
||||
</div>
|
||||
@@ -361,7 +361,7 @@
|
||||
|
||||
$.post('{:url("update")}', formData, function (result) {
|
||||
|
||||
layer.msg('添加成功')
|
||||
layer.msg('保存成功')
|
||||
setTimeout(() => {
|
||||
location.href = result.data.jump_to_url
|
||||
}, 1200);
|
||||
|
||||
@@ -40,11 +40,13 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>名称</th>
|
||||
<th >名称</th>
|
||||
<th>封面</th>
|
||||
<th>简介</th>
|
||||
<th >简介</th>
|
||||
<th>排序</th>
|
||||
<th>状态</th>
|
||||
<th>分类</th>
|
||||
<th>标签</th>
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -53,12 +55,22 @@
|
||||
|
||||
<tr class="item" data-id="{$vo.id}">
|
||||
<td>{$vo.id}</td>
|
||||
<td>{$vo.title}</td>
|
||||
<td style="max-width: 160px;">{$vo.title}</td>
|
||||
|
||||
<td><img src="{$vo.poster}" alt=""></td>
|
||||
<td>{$vo.desc}</td>
|
||||
<td style="max-width: 200px;">{$vo.desc_short}</td>
|
||||
<td>{$vo.sort}</td>
|
||||
<td>{$vo.status_name}</td>
|
||||
<td>
|
||||
{volist name='vo.categorys_list' id='category'}
|
||||
<p>{:str_repeat('|--',$category.level)}{$category.title}</p>
|
||||
{/volist}
|
||||
</td>
|
||||
<td>
|
||||
{volist name='vo.tags_list' id='tag'}
|
||||
<span class="layui-badge layui-bg-blue">{$tag.title}</span>
|
||||
{/volist}
|
||||
</td>
|
||||
<td>
|
||||
<div class="layui-btn-container">
|
||||
<a class="layui-btn layui-btn-sm" href="{:url('edit',['id'=>$vo.id])}">编辑</a>
|
||||
|
||||
Reference in New Issue
Block a user