Skip to content

Commit

Permalink
fix 推荐专栏不能使用
Browse files Browse the repository at this point in the history
  • Loading branch information
liuzhihang committed Dec 4, 2022
1 parent 739a76d commit bb47b40
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions templates/modules/widgets/banner-group.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit bb47b40

Please sign in to comment.