From 4547ba9d9932c7ab7c409f211499b3cfba3eef73 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Thu, 21 Aug 2025 13:54:08 +0800
Subject: [PATCH] refactor(ai): 更新 AiMemberAnswerServiceImpl 中的分数计算逻辑- 将变量 divide 重命名为 percentage,以更准确地反映其含义 - 此修改提高了代码的可读性和维护性,确保分数计算的准确性

---
 src/main/resources/templates/febs/views/modules/socialCircle/list.html |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 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 15114fe..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,11 +212,11 @@
 
                     {type: 'numbers', title: '', width: 80},
                     {title: '操作', toolbar: '#activityOption', minWidth: 200, align: 'center'},
-                    {field: 'name', title: '名称', minWidth: 150,align:'left'},
+                    {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: 'name', 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