mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-05-24 23:59:16 +08:00
修改模板文件
This commit is contained in:
parent
cf4b87cee4
commit
f1da20ad00
@ -47,6 +47,12 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/* {/marks} */
|
/* {/marks} */
|
||||||
|
{
|
||||||
|
field: 'cover', title: '图片', width: 60, align: 'center', templet: function (d) {
|
||||||
|
if (!d.cover) return '';
|
||||||
|
return layui.laytpl('<div data-tips-image data-tips-hover class="headimg headimg-xs headimg-no margin-0" data-lazy-src="{{d.cover}}"></div>').render(d);
|
||||||
|
}
|
||||||
|
},
|
||||||
{field: 'name', title: '文章标题', align: 'left', minWidth: 140},
|
{field: 'name', title: '文章标题', align: 'left', minWidth: 140},
|
||||||
{field: 'num_read', title: '阅读数', align: 'center', minWidth: 80, sort: true, style: 'color:blue;font-size:16px'},
|
{field: 'num_read', title: '阅读数', align: 'center', minWidth: 80, sort: true, style: 'color:blue;font-size:16px'},
|
||||||
{field: 'status', title: '状态', align: 'center', minWidth: 110, templet: '#StatusSwitchTpl'},
|
{field: 'status', title: '状态', align: 'center', minWidth: 110, templet: '#StatusSwitchTpl'},
|
||||||
|
@ -18,13 +18,6 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- {/notempty} -->
|
<!-- {/notempty} -->
|
||||||
|
|
||||||
<div class="layui-form-item layui-inline">
|
|
||||||
<label class="layui-form-label">文章编号</label>
|
|
||||||
<label class="layui-input-inline">
|
|
||||||
<input class="layui-input" name="code" placeholder="请输入文章编号" value="{$get.code|default=''}">
|
|
||||||
</label>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="layui-form-item layui-inline">
|
<div class="layui-form-item layui-inline">
|
||||||
<label class="layui-form-label">文章标题</label>
|
<label class="layui-form-label">文章标题</label>
|
||||||
<label class="layui-input-inline">
|
<label class="layui-input-inline">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user