fix 推荐专栏不能使用

This commit is contained in:
liuzhihang 2022-12-04 17:02:01 +08:00
parent 739a76de96
commit bb47b40b4c
2 changed files with 6 additions and 3 deletions

View File

@ -88,17 +88,20 @@ spec:
label: 必看精选
placeholder: 请输入地址
validation: "url"
value: "/"
- $formkit: url
if: "$get(recentTop).value"
name: remen
label: 热门文章
placeholder: 请输入地址
value: "/"
validation: "url"
- $formkit: url
if: "$get(recentTop).value"
name: shiyong
label: 实用教程
placeholder: 请输入地址
value: "/"
validation: "url"
- $formkit: radio
if: "$get(recentTop).value"

View File

@ -163,19 +163,19 @@
<div class="categoryGroup">
<div class="categoryItem" style="box-shadow:var(--heo-shadow-blue)">
<a class="categoryButton CB1 bikan"
th:href="@{${#strings.isEmpty(theme.config.top.bikan)? theme.config.top.bikan : 'javascript:void(0);'}}">
th:href="@{${theme.config.top.bikan}}">
<span class="categoryButtonText">必看精选</span><i class="iconfont icon-book"></i>
</a>
</div>
<div class="categoryItem" style="box-shadow:var(--heo-shadow-red)">
<a class="categoryButton remen"
th:href="@{${#strings.isEmpty(theme.config.top.remen)? theme.config.top.remen : 'javascript:void(0);'}}">
th:href="@{${theme.config.top.remen}}">
<span class="categoryButtonText">热门文章</span><i class="iconfont icon-burn"></i>
</a>
</div>
<div class="categoryItem" style="box-shadow:var(--heo-shadow-green)">
<a class="categoryButton shiyong"
th:href="@{${#strings.isEmpty(theme.config.top.shiyong)? theme.config.top.shiyong : 'javascript:void(0);'}}">
th:href="@{${theme.config.top.shiyong}}">
<span class="categoryButtonText">实用教程</span><i class="iconfont icon-book"></i>
</a>
</div>