From ae88bca64d28e91341e00913cc2d816f889c5ec8 Mon Sep 17 00:00:00 2001 From: Administrator <15274802129@163.com> Date: Fri, 25 Jul 2025 11:18:59 +0800 Subject: [PATCH] feat(mall): 为幸福社交圈分类添加背景图片功能 --- 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