友联添加底部显示内容

This commit is contained in:
1152958806@qq.com 2023-08-26 14:34:25 +08:00
parent c3c9a0e76a
commit 15d6fabd10
4 changed files with 32 additions and 8 deletions

View File

@ -1451,6 +1451,12 @@ spec:
value: true value: true
- label: 关闭 - label: 关闭
value: false value: false
- $formkit: code
name: linksArticle
height: 200
label: 底部显示内容
value: ""
language: html
- group: fcircle - group: fcircle
label: 友链鱼塘 label: 友链鱼塘

View File

@ -358,4 +358,6 @@ function initFriendCircle(sortNow, changeUrl) {
} }
// 执行初始化 // 执行初始化
initFriendCircle(sortNow); if(document.getElementById('cf-container')){
initFriendCircle(sortNow);
}

File diff suppressed because one or more lines are too long

View File

@ -164,6 +164,22 @@
</th:block> </th:block>
<th:block th:if="${not #strings.isEmpty(theme.config.link.linksArticle)}"
th:utext="${theme.config.link.linksArticle}"> </th:block>
<script>
var fdataUser = {
jsonurl: '',
apiurl: "[(${theme.config.fcircle.apiurl})]",
apipublicurl: '', //默认公共库
initnumber: 20, //首次加载文章数
stepnumber: 20, //更多加载文章数
article_sort: 'created', //文章排序 updated or created
error_img: 'https://sdn.geekzu.org/avatar/57d8260dfb55501c37dde588e7c3852c'
}
</script>
<script th:src="@{/assets/libs/fcircle/heo-fcircle3mini.js}"></script>
<th:block th:if="${htmlType == 'page'}" th:utext="${singlePage.content.content}"> <th:block th:if="${htmlType == 'page'}" th:utext="${singlePage.content.content}">
</th:block> </th:block>