社交媒体图标改为自填方式,弃用选择方式
This commit is contained in:
parent
d2bb8f64c4
commit
2e5f8ed2dc
213
settings.yaml
213
settings.yaml
|
@ -631,84 +631,15 @@ spec:
|
||||||
max: 2
|
max: 2
|
||||||
value: [ ]
|
value: [ ]
|
||||||
children:
|
children:
|
||||||
- $formkit: select
|
- $formkit: text
|
||||||
name: icon
|
name: icon
|
||||||
label: 图标
|
label: 图标
|
||||||
options:
|
|
||||||
- label: 电子邮箱
|
|
||||||
value: hao-icon-envelope
|
|
||||||
- label: 微信
|
|
||||||
value: hao-icon-weixin
|
|
||||||
- label: 公众号
|
|
||||||
value: hao-icon-weixingongzhonghao
|
|
||||||
- label: rss
|
|
||||||
value: hao-icon-rss
|
|
||||||
- label: 腾讯 QQ
|
|
||||||
value: hao-icon-qq
|
|
||||||
- label: 新浪微博
|
|
||||||
value: hao-icon-weibo
|
|
||||||
- label: 知乎
|
|
||||||
value: hao-icon-29
|
|
||||||
- label: 豆瓣
|
|
||||||
value: hao-icon-douban
|
|
||||||
- label: 哔哩哔哩
|
|
||||||
value: hao-icon-bilibili
|
|
||||||
- label: GitHub
|
|
||||||
value: hao-icon-github
|
|
||||||
- label: GitLab
|
|
||||||
value: hao-icon-gitlab
|
|
||||||
- label: 百度
|
|
||||||
value: hao-icon-baidu
|
|
||||||
- label: 掘金
|
|
||||||
value: hao-icon-juejin
|
|
||||||
- label: 语雀
|
|
||||||
value: hao-icon-yuque
|
|
||||||
- label: 博客园
|
|
||||||
value: hao-icon-cnblogs
|
|
||||||
- label: CSDN
|
|
||||||
value: hao-icon-csdn
|
|
||||||
- label: LeetCode
|
|
||||||
value: hao-icon-leetcode
|
|
||||||
- label: 头条
|
|
||||||
value: hao-icon-toutiao
|
|
||||||
- label: 抖音 / TikTok
|
|
||||||
value: hao-icon-tiktok
|
|
||||||
- label: Telegram
|
|
||||||
value: hao-icon-telegram
|
|
||||||
- label: Facebook
|
|
||||||
value: hao-icon-facebook1
|
|
||||||
- label: Instagram
|
|
||||||
value: hao-icon-Instagram
|
|
||||||
- label: LinkedIn
|
|
||||||
value: hao-icon-linkedin
|
|
||||||
- label: Twitter
|
|
||||||
value: hao-icon-dove
|
|
||||||
- label: Slack
|
|
||||||
value: hao-icon-slack
|
|
||||||
- label: Discord
|
|
||||||
value: hao-icon-discord-line
|
|
||||||
- label: YouTube
|
|
||||||
value: hao-icon-youtube
|
|
||||||
- label: Steam
|
|
||||||
value: hao-icon-steam
|
|
||||||
- label: Dribbble
|
|
||||||
value: hao-icon-dribbble
|
|
||||||
- $formkit: text
|
- $formkit: text
|
||||||
name: name
|
name: name
|
||||||
label: 名称
|
label: 名称
|
||||||
- $formkit: url
|
- $formkit: url
|
||||||
name: url
|
name: url
|
||||||
label: 链接
|
label: 链接
|
||||||
- $formkit: radio
|
|
||||||
name: urlType
|
|
||||||
label: 链接类型
|
|
||||||
value: normal
|
|
||||||
help: 如果选择了图片类型,那么在访客点击之后会使用弹框的形式加载
|
|
||||||
options:
|
|
||||||
- label: 跳转链接
|
|
||||||
value: normal
|
|
||||||
- label: 图片
|
|
||||||
value: image
|
|
||||||
- $formkit: group
|
- $formkit: group
|
||||||
name: wechat
|
name: wechat
|
||||||
label: 公众号
|
label: 公众号
|
||||||
|
@ -953,167 +884,29 @@ spec:
|
||||||
label: 左侧
|
label: 左侧
|
||||||
value: [ ]
|
value: [ ]
|
||||||
children:
|
children:
|
||||||
- $formkit: select
|
- $formkit: text
|
||||||
name: icon
|
name: icon
|
||||||
label: 图标
|
label: 图标
|
||||||
options:
|
|
||||||
- label: 电子邮箱
|
|
||||||
value: hao-icon-envelope
|
|
||||||
- label: 微信
|
|
||||||
value: hao-icon-weixin
|
|
||||||
- label: 公众号
|
|
||||||
value: hao-icon-weixingongzhonghao
|
|
||||||
- label: rss
|
|
||||||
value: hao-icon-rss
|
|
||||||
- label: 腾讯 QQ
|
|
||||||
value: hao-icon-qq
|
|
||||||
- label: 新浪微博
|
|
||||||
value: hao-icon-weibo
|
|
||||||
- label: 知乎
|
|
||||||
value: hao-icon-29
|
|
||||||
- label: 豆瓣
|
|
||||||
value: hao-icon-douban
|
|
||||||
- label: 哔哩哔哩
|
|
||||||
value: hao-icon-bilibili
|
|
||||||
- label: GitHub
|
|
||||||
value: hao-icon-github
|
|
||||||
- label: GitLab
|
|
||||||
value: hao-icon-gitlab
|
|
||||||
- label: 百度
|
|
||||||
value: hao-icon-baidu
|
|
||||||
- label: 掘金
|
|
||||||
value: hao-icon-juejin
|
|
||||||
- label: 语雀
|
|
||||||
value: hao-icon-yuque
|
|
||||||
- label: 博客园
|
|
||||||
value: hao-icon-cnblogs
|
|
||||||
- label: CSDN
|
|
||||||
value: hao-icon-csdn
|
|
||||||
- label: LeetCode
|
|
||||||
value: hao-icon-leetcode
|
|
||||||
- label: 头条
|
|
||||||
value: hao-icon-toutiao
|
|
||||||
- label: 抖音 / TikTok
|
|
||||||
value: hao-icon-tiktok
|
|
||||||
- label: Telegram
|
|
||||||
value: hao-icon-telegram
|
|
||||||
- label: Facebook
|
|
||||||
value: hao-icon-facebook1
|
|
||||||
- label: Instagram
|
|
||||||
value: hao-icon-Instagram
|
|
||||||
- label: LinkedIn
|
|
||||||
value: hao-icon-linkedin
|
|
||||||
- label: Twitter
|
|
||||||
value: hao-icon-dove
|
|
||||||
- label: Slack
|
|
||||||
value: hao-icon-slack
|
|
||||||
- label: Discord
|
|
||||||
value: hao-icon-discord-line
|
|
||||||
- label: YouTube
|
|
||||||
value: hao-icon-youtube
|
|
||||||
- label: Steam
|
|
||||||
value: hao-icon-steam
|
|
||||||
- label: Dribbble
|
|
||||||
value: hao-icon-dribbble
|
|
||||||
- $formkit: text
|
- $formkit: text
|
||||||
name: name
|
name: name
|
||||||
label: 名称
|
label: 名称
|
||||||
- $formkit: text
|
- $formkit: text
|
||||||
name: url
|
name: url
|
||||||
label: 链接
|
label: 链接
|
||||||
- $formkit: radio
|
|
||||||
name: urlType
|
|
||||||
label: 链接类型
|
|
||||||
value: normal
|
|
||||||
help: 如果选择了图片类型,那么在访客点击之后会使用弹框的形式加载
|
|
||||||
options:
|
|
||||||
- label: 跳转链接
|
|
||||||
value: normal
|
|
||||||
- label: 图片
|
|
||||||
value: image
|
|
||||||
- $formkit: repeater
|
- $formkit: repeater
|
||||||
name: socialMediaRight
|
name: socialMediaRight
|
||||||
label: 右侧
|
label: 右侧
|
||||||
value: [ ]
|
value: [ ]
|
||||||
children:
|
children:
|
||||||
- $formkit: select
|
- $formkit: text
|
||||||
name: icon
|
name: icon
|
||||||
label: 图标
|
label: 图标
|
||||||
options:
|
|
||||||
- label: 电子邮箱
|
|
||||||
value: hao-icon-envelope
|
|
||||||
- label: 微信
|
|
||||||
value: hao-icon-weixin
|
|
||||||
- label: 公众号
|
|
||||||
value: hao-icon-weixingongzhonghao
|
|
||||||
- label: rss
|
|
||||||
value: hao-icon-rss
|
|
||||||
- label: 腾讯 QQ
|
|
||||||
value: hao-icon-qq
|
|
||||||
- label: 新浪微博
|
|
||||||
value: hao-icon-weibo
|
|
||||||
- label: 知乎
|
|
||||||
value: hao-icon-29
|
|
||||||
- label: 豆瓣
|
|
||||||
value: hao-icon-douban
|
|
||||||
- label: 哔哩哔哩
|
|
||||||
value: hao-icon-bilibili
|
|
||||||
- label: GitHub
|
|
||||||
value: hao-icon-github
|
|
||||||
- label: GitLab
|
|
||||||
value: hao-icon-gitlab
|
|
||||||
- label: 百度
|
|
||||||
value: hao-icon-baidu
|
|
||||||
- label: 掘金
|
|
||||||
value: hao-icon-juejin
|
|
||||||
- label: 语雀
|
|
||||||
value: hao-icon-yuque
|
|
||||||
- label: 博客园
|
|
||||||
value: hao-icon-cnblogs
|
|
||||||
- label: CSDN
|
|
||||||
value: hao-icon-csdn
|
|
||||||
- label: LeetCode
|
|
||||||
value: hao-icon-leetcode
|
|
||||||
- label: 头条
|
|
||||||
value: hao-icon-toutiao
|
|
||||||
- label: 抖音 / TikTok
|
|
||||||
value: hao-icon-tiktok
|
|
||||||
- label: Telegram
|
|
||||||
value: hao-icon-telegram
|
|
||||||
- label: Facebook
|
|
||||||
value: hao-icon-facebook1
|
|
||||||
- label: Instagram
|
|
||||||
value: hao-icon-Instagram
|
|
||||||
- label: LinkedIn
|
|
||||||
value: hao-icon-linkedin
|
|
||||||
- label: Twitter
|
|
||||||
value: hao-icon-dove
|
|
||||||
- label: Slack
|
|
||||||
value: hao-icon-slack
|
|
||||||
- label: Discord
|
|
||||||
value: hao-icon-discord-line
|
|
||||||
- label: YouTube
|
|
||||||
value: hao-icon-youtube
|
|
||||||
- label: Steam
|
|
||||||
value: hao-icon-steam
|
|
||||||
- label: Dribbble
|
|
||||||
value: hao-icon-dribbble
|
|
||||||
- $formkit: text
|
- $formkit: text
|
||||||
name: name
|
name: name
|
||||||
label: 名称
|
label: 名称
|
||||||
- $formkit: text
|
- $formkit: text
|
||||||
name: url
|
name: url
|
||||||
label: 链接
|
label: 链接
|
||||||
- $formkit: radio
|
|
||||||
name: urlType
|
|
||||||
label: 链接类型
|
|
||||||
value: normal
|
|
||||||
help: 如果选择了图片类型,那么在访客点击之后会使用弹框的形式加载
|
|
||||||
options:
|
|
||||||
- label: 跳转链接
|
|
||||||
value: normal
|
|
||||||
- label: 图片
|
|
||||||
value: image
|
|
||||||
- $formkit: menuRadio
|
- $formkit: menuRadio
|
||||||
name: menu
|
name: menu
|
||||||
label: 相关链接
|
label: 相关链接
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
<th:block th:with="socialMedias = ${theme.config.footer.social_media.socialMediaLeft}">
|
<th:block th:with="socialMedias = ${theme.config.footer.social_media.socialMediaLeft}">
|
||||||
<a class="deal_link" rel="external nofollow" target="_blank" th:each="socialMedia : ${socialMedias}"
|
<a class="deal_link" rel="external nofollow" target="_blank" th:each="socialMedia : ${socialMedias}"
|
||||||
th:href="${socialMedia.url}" th:title="${socialMedia.name}">
|
th:href="${socialMedia.url}" th:title="${socialMedia.name}">
|
||||||
<i class="haofont " th:classappend="${socialMedia.icon}"></i>
|
<i th:class="${socialMedia.icon}"></i>
|
||||||
</a>
|
</a>
|
||||||
</th:block>
|
</th:block>
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
<th:block th:with="socialMedias = ${theme.config.footer.social_media.socialMediaRight}">
|
<th:block th:with="socialMedias = ${theme.config.footer.social_media.socialMediaRight}">
|
||||||
<a class="deal_link" rel="external nofollow" target="_blank" th:each="socialMedia : ${socialMedias}"
|
<a class="deal_link" rel="external nofollow" target="_blank" th:each="socialMedia : ${socialMedias}"
|
||||||
th:href="${socialMedia.url}" th:title="${socialMedia.name}">
|
th:href="${socialMedia.url}" th:title="${socialMedia.name}">
|
||||||
<i class="haofont " th:classappend="${socialMedia.icon}"></i>
|
<i th:class="${socialMedia.icon}"></i>
|
||||||
</a>
|
</a>
|
||||||
</th:block>
|
</th:block>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
|
|
||||||
<a class="social-icon" rel="external nofollow" target="_blank" th:each="socialMedia : ${socialMedias}"
|
<a class="social-icon" rel="external nofollow" target="_blank" th:each="socialMedia : ${socialMedias}"
|
||||||
th:href="${socialMedia.url}" th:title="${socialMedia.name}">
|
th:href="${socialMedia.url}" th:title="${socialMedia.name}">
|
||||||
<i class="haofont " th:classappend="${socialMedia.icon}"></i>
|
<i th:class="${socialMedia.icon}"></i>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -171,7 +171,7 @@
|
||||||
<a class="social-icon" rel="external nofollow" target="_blank"
|
<a class="social-icon" rel="external nofollow" target="_blank"
|
||||||
th:each="socialMedia : ${socialMedias}" th:href="${socialMedia.url}"
|
th:each="socialMedia : ${socialMedias}" th:href="${socialMedia.url}"
|
||||||
th:title="${socialMedia.name}">
|
th:title="${socialMedia.name}">
|
||||||
<i class="haofont " th:classappend="${socialMedia.icon}"></i>
|
<i th:class="${socialMedia.icon}"></i>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue