fix: 选项卡中无法自定义云服务提供商,缺少提示框

Link #138
This commit is contained in:
zhengyi 2023-12-01 20:43:34 +08:00
parent e8dc93b81b
commit 226dd783ac
2 changed files with 11 additions and 0 deletions

View File

@ -2392,6 +2392,7 @@ spec:
label:
- $formkit: select
name: driven_by
id: driven_by
label: 云服务提供商
value: "none"
help: "配置本站点由xxx云提供云服务"
@ -2414,6 +2415,13 @@ spec:
label: 金山云
- value: custom
label: 自定义
- $formkit: code
if: "$get(driven_by).value === 'custom'"
name: driven_custom
label: 自定义提供商
help: "配置自定义服务提供商此处可填写html代码"
value: ""
language: html
- $formkit: radio
name: enable_rss
label: 展示 RSS

View File

@ -72,6 +72,9 @@
</a>提供云服务
</p>
</th:block>
<th:block th:if="${theme.config.footer.driven_by == 'custom'}">
<p class="site_driven" th:utext="${theme.config.footer.driven_custom}"></p>
</th:block>
</th:block>