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-select.html | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/templates/febs/views/video/video/video-source-list-select.html b/src/main/resources/templates/febs/views/video/video/video-source-list-select.html
index a7bf8e7..a79b939 100644
--- a/src/main/resources/templates/febs/views/video/video/video-source-list-select.html
+++ b/src/main/resources/templates/febs/views/video/video/video-source-list-select.html
@@ -28,6 +28,14 @@
</div>
</div>
</div>
+<style>
+ .layui-table-cell {
+ height: 100%;
+ }
+</style>
+<script type="text/html" id="thumbFormat">
+ <img src="{{d.thumb}}" />
+</script>
<script data-th-inline="none" type="text/javascript">
layui.use(['dropdown', 'jquery', 'laydate', 'form', 'table', 'febs', 'treeSelect'], function () {
var $ = layui.jquery,
@@ -76,6 +84,7 @@
cols: [[
{type: 'checkbox'},
{field: 'name', title: '视频名称', minWidth: 100},
+ {templet: '#thumbFormat', title: '缩略图', minWidth: 100},
{field: 'createdTime', title: '创建时间', minWidth: 180, sort: true}
]]
});
--
Gitblit v1.9.1