From d22f5bdfdaa8502a5f2496248da932b3c50c1fd0 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Thu, 16 Dec 2021 16:06:25 +0800
Subject: [PATCH] finish video add/update/list
---
src/main/resources/templates/febs/views/video/video/video-source-list.html | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/templates/febs/views/video/video/video-source-list.html b/src/main/resources/templates/febs/views/video/video/video-source-list.html
index b574f25..f66029b 100644
--- a/src/main/resources/templates/febs/views/video/video/video-source-list.html
+++ b/src/main/resources/templates/febs/views/video/video/video-source-list.html
@@ -35,6 +35,14 @@
</div>
</div>
</div>
+<style>
+ .layui-table-cell {
+ height: 100%;
+ }
+</style>
+<script type="text/html" id="thumbFormat">
+ <img src="{{d.thumb}}" />
+</script>
<script type="text/html" id="source-option">
<span shiro:lacksPermission="source:update,source:delete">
<span class="layui-badge-dot febs-bg-orange"></span> 无权限
@@ -163,6 +171,7 @@
cols: [[
{type: 'checkbox'},
{field: 'name', title: '视频名称', minWidth: 100},
+ {templet: '#thumbFormat', title: '缩略图', minWidth: 100},
{field: 'createdTime', title: '创建时间', minWidth: 180, sort: true},
{title: '操作', toolbar: '#source-option', minWidth: 140}
]]
--
Gitblit v1.9.1