移除主题配置联动效果,存在不明渲染问题

This commit is contained in:
j m 2024-04-01 15:22:30 +08:00
parent 8037dcf1eb
commit e0d84a200a
2 changed files with 1 additions and 13 deletions

View File

@ -140,7 +140,6 @@ spec:
label: 不显示 label: 不显示
- $formkit: radio - $formkit: radio
name: enable_image_bg name: enable_image_bg
id: enable_image_bg
label: 开启博客背景图 label: 开启博客背景图
value: false value: false
help: '如果某个选项的背景图链接未指定,则不开启那个选项的背景图。' help: '如果某个选项的背景图链接未指定,则不开启那个选项的背景图。'
@ -151,27 +150,22 @@ spec:
value: false value: false
- $formkit: attachment - $formkit: attachment
name: background_pc name: background_pc
if: $get(enable_image_bg).value
label: '明亮模式 PC 端背景图' label: '明亮模式 PC 端背景图'
placeholder: '请输入/选择图片路径' placeholder: '请输入/选择图片路径'
- $formkit: attachment - $formkit: attachment
name: background_mobile name: background_mobile
if: $get(enable_image_bg).value
label: 明亮模式移动端背景图 label: 明亮模式移动端背景图
placeholder: '请输入/选择图片路径' placeholder: '请输入/选择图片路径'
- $formkit: attachment - $formkit: attachment
name: night_background_pc name: night_background_pc
if: $get(enable_image_bg).value
label: '黑暗模式 PC 端背景图' label: '黑暗模式 PC 端背景图'
placeholder: '请输入/选择图片路径' placeholder: '请输入/选择图片路径'
- $formkit: attachment - $formkit: attachment
name: night_background_mobile name: night_background_mobile
if: $get(enable_image_bg).value
label: 黑暗模式移动端背景图 label: 黑暗模式移动端背景图
placeholder: '请输入/选择图片路径' placeholder: '请输入/选择图片路径'
- $formkit: radio - $formkit: radio
name: enable_banner name: enable_banner
id: enable_banner
label: 开启博客横幅大图 label: 开启博客横幅大图
value: false value: false
options: options:
@ -181,12 +175,10 @@ spec:
value: false value: false
- $formkit: attachment - $formkit: attachment
name: banner_image name: banner_image
if: $get(enable_banner).value
label: 横幅背景图 label: 横幅背景图
placeholder: '请输入/选择图片路径' placeholder: '请输入/选择图片路径'
- $formkit: text - $formkit: text
name: banner_description name: banner_description
if: $get(enable_banner).value
label: 横幅文字描述 label: 横幅文字描述
placeholder: '请输入描述内容' placeholder: '请输入描述内容'
- $formkit: select - $formkit: select
@ -223,7 +215,6 @@ spec:
value: '#5d93db' value: '#5d93db'
- $formkit: select - $formkit: select
name: web_font name: web_font
id: web_font
label: 博客字体 label: 博客字体
value: 'default' value: 'default'
options: options:
@ -237,7 +228,6 @@ spec:
label: 自定义 label: 自定义
- $formkit: attachment - $formkit: attachment
name: custom_font name: custom_font
if: $get(web_font).value === 'custom'
label: 自定义博客字体 label: 自定义博客字体
placeholder: '请输入/选择字体路径' placeholder: '请输入/选择字体路径'
help: '自定义博客字体在博客字体选项为自定义时生效。支持woff2/woff/ttf/eot/svg格式的字体文件链接建议使用woff2格式。' help: '自定义博客字体在博客字体选项为自定义时生效。支持woff2/woff/ttf/eot/svg格式的字体文件链接建议使用woff2格式。'
@ -713,7 +703,6 @@ spec:
label: 不隐藏 label: 不隐藏
- $formkit: radio - $formkit: radio
name: enable_color_character name: enable_color_character
id: enable_color_character
label: 侧边栏信息-开启彩字切换 label: 侧边栏信息-开启彩字切换
value: false value: false
options: options:
@ -723,7 +712,6 @@ spec:
label: 关闭 label: 关闭
- $formkit: textarea - $formkit: textarea
name: color_character name: color_character
if: $get(enable_color_character).value
label: 侧边栏信息-彩字内容 label: 侧边栏信息-彩字内容
placeholder: 请输入彩字内容 placeholder: 请输入彩字内容
rows: 4 rows: 4

View File

@ -22,6 +22,6 @@ spec:
settingName: theme-dream-setting settingName: theme-dream-setting
configMapName: theme-dream-configMap configMapName: theme-dream-configMap
# 版本号 # 版本号
version: 1.0.3.21 version: 1.0.3.22
# 最低支持的 Halo 版本 # 最低支持的 Halo 版本
require: ">=2.6.0" require: ">=2.6.0"