Merge pull request #18 from liuzhihang/dev

fix 推荐专栏不能使用
This commit is contained in:
liuzhihang 2022-12-04 17:05:59 +08:00 committed by GitHub
commit 47a3e487f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 5 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "halo-theme-hao", "name": "halo-theme-hao",
"version": "1.0.0", "version": "1.0.1",
"dependencies": { "dependencies": {
} }
} }

View File

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

View File

@ -163,19 +163,19 @@
<div class="categoryGroup"> <div class="categoryGroup">
<div class="categoryItem" style="box-shadow:var(--heo-shadow-blue)"> <div class="categoryItem" style="box-shadow:var(--heo-shadow-blue)">
<a class="categoryButton CB1 bikan" <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> <span class="categoryButtonText">必看精选</span><i class="iconfont icon-book"></i>
</a> </a>
</div> </div>
<div class="categoryItem" style="box-shadow:var(--heo-shadow-red)"> <div class="categoryItem" style="box-shadow:var(--heo-shadow-red)">
<a class="categoryButton remen" <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> <span class="categoryButtonText">热门文章</span><i class="iconfont icon-burn"></i>
</a> </a>
</div> </div>
<div class="categoryItem" style="box-shadow:var(--heo-shadow-green)"> <div class="categoryItem" style="box-shadow:var(--heo-shadow-green)">
<a class="categoryButton shiyong" <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> <span class="categoryButtonText">实用教程</span><i class="iconfont icon-book"></i>
</a> </a>
</div> </div>

View File

@ -13,5 +13,5 @@ spec:
repo: 'https://github.com/liuzhihang/halo-theme-hao' repo: 'https://github.com/liuzhihang/halo-theme-hao'
settingName: "theme-hao-setting" settingName: "theme-hao-setting"
configMapName: "theme-hao-configMap" configMapName: "theme-hao-configMap"
version: 1.0.0 version: 1.0.1
require: 2.0.0 require: 2.0.0