From f37e8e86783ac89e4b6fa98f714e6ab626367405 Mon Sep 17 00:00:00 2001 From: Administrator <15274802129@163.com> Date: Wed, 28 May 2025 16:01:23 +0800 Subject: [PATCH] feat(socialCircle): 新增视频号内容支持 --- src/main/resources/templates/febs/views/modules/socialCircle/list.html | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/src/main/resources/templates/febs/views/modules/socialCircle/list.html b/src/main/resources/templates/febs/views/modules/socialCircle/list.html index 033b0d8..5e1e9b7 100644 --- a/src/main/resources/templates/febs/views/modules/socialCircle/list.html +++ b/src/main/resources/templates/febs/views/modules/socialCircle/list.html @@ -64,6 +64,15 @@ <input type="checkbox" value={{d.id}} lay-text="展示|隐藏" lay-skin="switch" lay-filter="scStateSwitch"> {{# } }} </script> +<script type="text/html" id="socialTypeFormat"> + {{# if(d.isNormal == 1) { }} + <span>普通社区内容</span> + {{# }else if(d.isNormal == 2) { }} + <span>视频号内容</span> + {{# } else { }} + <span>-</span> + {{# } }} +</script> <script type="text/html" id="scToolbar"> <div class="layui-btn-container"> @@ -203,10 +212,11 @@ {type: 'numbers', title: '', width: 80}, {title: '操作', toolbar: '#activityOption', minWidth: 200, align: 'center'}, + {templet:"#socialTypeFormat", title: '来源', minWidth: 140,align:'left'}, {field: 'name', title: '标题', minWidth: 150,align:'left'}, {field: 'memberName', title: '发布人', minWidth: 150,align:'left'}, {field: 'categoryName', title: '分类', minWidth: 150,align:'left'}, - {field: 'state', title: '状态', templet: '#scStateSwitch', minWidth: 130,align:'center'} + {field: 'state', title: '状态', templet: '#scStateSwitch', minWidth: 130,align:'center'}, ]] }); } -- Gitblit v1.9.1