开关控制日志模块展示

This commit is contained in:
shy 2022-10-14 09:48:25 +08:00
parent a65d31722e
commit ec2526e065
2 changed files with 11 additions and 1 deletions

View File

@ -29,6 +29,15 @@ spec:
value: true
- label: 隐藏
value: false
- $formkit: radio
name: time_list
label: 日志模块
value: true
options:
- label: 显示
value: true
- label: 隐藏
value: false
- $formkit: text
name: banners_title_big
label: Banners 大标题

View File

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<div class="bbTimeList container" id="bbTimeList" th:fragment="time-list">
<div class="bbTimeList container" id="bbTimeList" th:fragment="time-list"
th:if="${theme.config.top.time_list}" >
<i class="bber-logo iconfont icon-bblogo"
onclick="pjax.loadUrl(&quot;/essay/&quot;)"
style="font-size:2rem" title="说说"></i>