图标修改

This commit is contained in:
1152958806@qq.com 2023-08-24 21:53:27 +08:00
parent df8e673af0
commit 2ec513904e
36 changed files with 210 additions and 1534 deletions

View File

@ -205,21 +205,21 @@ spec:
bannersTitleSmall: 更多信息请关注 GitHub
categoryGroup:
- title: "必看精选"
icon: "iconfont icon-book"
icon: "haofont hao-icon-book"
url: "/"
colorOneLight: "#358bff"
colorTwoLight: "#15c6ff"
colorOneDark: "#0653b8"
colorTwoDark: "#2fcbff"
- title: "热门文章"
icon: "iconfont icon-burn"
icon: "haofont hao-icon-fire"
url: "/"
colorOneLight: "#ff6655"
colorTwoLight: "#ffbf37"
colorOneDark: "#e22a16"
colorTwoDark: "#da980c"
- title: "实用教程"
icon: "iconfont icon-book"
icon: "haofont hao-icon-book"
url: "/"
colorOneLight: "#18e7ae"
colorTwoLight: "#1eebeb"
@ -278,7 +278,7 @@ spec:
label: 图标
placeholder: 请输入内容
validation: required
value: "iconfont icon-book"
value: "haofont hao-icon-book"
- $formkit: url
name: url
label: 跳转地址
@ -605,61 +605,61 @@ spec:
label: 图标
options:
- label: 电子邮箱
value: icon-mail-line
value: hao-icon-envelope
- label: 微信
value: icon-wechat2
value: hao-icon-weixin
- label: 公众号
value: icon-weixingongzhonghao
value: hao-icon-weixingongzhonghao
- label: 腾讯 QQ
value: icon-qq-line
value: hao-icon-qq
- label: 新浪微博
value: icon-weibo-line
value: hao-icon-weibo
- label: 知乎
value: icon-zhihu-line
value: hao-icon-29
- label: 豆瓣
value: icon-douban-line
value: hao-icon-douban
- label: 哔哩哔哩
value: icon-bilibili-line
value: hao-icon-bilibili
- label: GitHub
value: icon-github-line
value: hao-icon-github
- label: GitLab
value: icon-gitlab-line
value: hao-icon-gitlab
- label: 百度
value: icon-baidu-line
value: hao-icon-baidu
- label: 掘金
value: icon-juejin
value: hao-icon-juejin
- label: 语雀
value: icon-yuque
value: hao-icon-yuque
- label: 博客园
value: icon-CN_cnblogs
value: hao-icon-cnblogs
- label: CSDN
value: icon-csdn1
value: hao-icon-csdn
- label: LeetCode
value: icon-leetcode
value: hao-icon-leetcode
- label: 头条
value: icon-jinritoutiao
value: hao-icon-toutiao
- label: 抖音 / TikTok
value: icon-douyin
value: hao-icon-tiktok
- label: Telegram
value: icon-telegram-line
value: hao-icon-telegram
- label: Facebook
value: icon-facebook-box-line
value: hao-icon-facebook1
- label: Instagram
value: icon-instagram-line
value: hao-icon-Instagram
- label: LinkedIn
value: icon-linkedin-box-line
value: hao-icon-linkedin
- label: Twitter
value: icon-twitter-line
value: hao-icon-dove
- label: Slack
value: icon-slack-line
value: hao-icon-slack
- label: Discord
value: icon-discord-line
value: hao-icon-discord-line
- label: YouTube
value: icon-youtube-line
value: hao-icon-youtube
- label: Steam
value: icon-steam-fill
value: hao-icon-steam
- label: Dribbble
value: icon-dribbble-line
value: hao-icon-dribbble
- $formkit: text
name: name
label: 名称
@ -898,61 +898,61 @@ spec:
label: 图标
options:
- label: 电子邮箱
value: icon-mail-line
value: hao-icon-envelope
- label: 微信
value: icon-wechat2
value: hao-icon-weixin
- label: 公众号
value: icon-weixingongzhonghao
value: hao-icon-weixingongzhonghao
- label: 腾讯 QQ
value: icon-qq-line
value: hao-icon-qq
- label: 新浪微博
value: icon-weibo-line
value: hao-icon-weibo
- label: 知乎
value: icon-zhihu-line
value: hao-icon-29
- label: 豆瓣
value: icon-douban-line
value: hao-icon-douban
- label: 哔哩哔哩
value: icon-bilibili-line
value: hao-icon-bilibili
- label: GitHub
value: icon-github-line
value: hao-icon-github
- label: GitLab
value: icon-gitlab-line
value: hao-icon-gitlab
- label: 百度
value: icon-baidu-line
value: hao-icon-baidu
- label: 掘金
value: icon-juejin
value: hao-icon-juejin
- label: 语雀
value: icon-yuque
value: hao-icon-yuque
- label: 博客园
value: icon-CN_cnblogs
value: hao-icon-cnblogs
- label: CSDN
value: icon-csdn1
value: hao-icon-csdn
- label: LeetCode
value: icon-leetcode
value: hao-icon-leetcode
- label: 头条
value: icon-jinritoutiao
value: hao-icon-toutiao
- label: 抖音 / TikTok
value: icon-douyin
value: hao-icon-tiktok
- label: Telegram
value: icon-telegram-line
value: hao-icon-telegram
- label: Facebook
value: icon-facebook-box-line
value: hao-icon-facebook1
- label: Instagram
value: icon-instagram-line
value: hao-icon-Instagram
- label: LinkedIn
value: icon-linkedin-box-line
value: hao-icon-linkedin
- label: Twitter
value: icon-twitter-line
value: hao-icon-dove
- label: Slack
value: icon-slack-line
value: hao-icon-slack
- label: Discord
value: icon-discord-line
value: hao-icon-discord-line
- label: YouTube
value: icon-youtube-line
value: hao-icon-youtube
- label: Steam
value: icon-steam-fill
value: hao-icon-steam
- label: Dribbble
value: icon-dribbble-line
value: hao-icon-dribbble
- $formkit: text
name: name
label: 名称
@ -979,61 +979,61 @@ spec:
label: 图标
options:
- label: 电子邮箱
value: icon-mail-line
value: hao-icon-envelope
- label: 微信
value: icon-wechat2
value: hao-icon-weixin
- label: 公众号
value: icon-weixingongzhonghao
value: hao-icon-weixingongzhonghao
- label: 腾讯 QQ
value: icon-qq-line
value: hao-icon-qq
- label: 新浪微博
value: icon-weibo-line
value: hao-icon-weibo
- label: 知乎
value: icon-zhihu-line
value: hao-icon-29
- label: 豆瓣
value: icon-douban-line
value: hao-icon-douban
- label: 哔哩哔哩
value: icon-bilibili-line
value: hao-icon-bilibili
- label: GitHub
value: icon-github-line
value: hao-icon-github
- label: GitLab
value: icon-gitlab-line
value: hao-icon-gitlab
- label: 百度
value: icon-baidu-line
value: hao-icon-baidu
- label: 掘金
value: icon-juejin
value: hao-icon-juejin
- label: 语雀
value: icon-yuque
value: hao-icon-yuque
- label: 博客园
value: icon-CN_cnblogs
value: hao-icon-cnblogs
- label: CSDN
value: icon-csdn1
value: hao-icon-csdn
- label: LeetCode
value: icon-leetcode
value: hao-icon-leetcode
- label: 头条
value: icon-jinritoutiao
value: hao-icon-toutiao
- label: 抖音 / TikTok
value: icon-douyin
value: hao-icon-tiktok
- label: Telegram
value: icon-telegram-line
value: hao-icon-telegram
- label: Facebook
value: icon-facebook-box-line
value: hao-icon-facebook1
- label: Instagram
value: icon-instagram-line
value: hao-icon-Instagram
- label: LinkedIn
value: icon-linkedin-box-line
value: hao-icon-linkedin
- label: Twitter
value: icon-twitter-line
value: hao-icon-dove
- label: Slack
value: icon-slack-line
value: hao-icon-slack
- label: Discord
value: icon-discord-line
value: hao-icon-discord-line
- label: YouTube
value: icon-youtube-line
value: hao-icon-youtube
- label: Steam
value: icon-steam-fill
value: hao-icon-steam
- label: Dribbble
value: icon-dribbble-line
value: hao-icon-dribbble
- $formkit: text
name: name
label: 名称

View File

@ -1,4 +1,4 @@
function HaoPostAI(AI_option) {
(function () {
// 获取挂载元素,即文章内容所在的容器元素
let targetElement = document.querySelector('#post #article-container');
@ -7,15 +7,15 @@ function HaoPostAI(AI_option) {
return;
};
let ai = AI_option.ai;
let randomNum = AI_option.randomNum; //按钮最大的随机次数,也就是一篇文章最大随机出来几种
let basicWordCount = AI_option.basicWordCount; // 最低获取字符数, 最小1000, 最大1999
let btnLink = AI_option.btnLink;
let gptName = AI_option.gptName;
let modeName = AI_option.modeName;
let switchBtn = AI_option.switchBtn //# 可以配置是否显示切换按钮 以切换tianli/local
let keys = AI_option.keys;
let Referers = AI_option.Referers;
let ai = GLOBAL_CONFIG.source.postAi.ai;
let randomNum = GLOBAL_CONFIG.source.postAi.randomNum; //按钮最大的随机次数,也就是一篇文章最大随机出来几种
let basicWordCount = GLOBAL_CONFIG.source.postAi.basicWordCount; // 最低获取字符数, 最小1000, 最大1999
let btnLink = GLOBAL_CONFIG.source.postAi.btnLink;
let gptName = GLOBAL_CONFIG.source.postAi.gptName;
let modeName = GLOBAL_CONFIG.source.postAi.modeName;
let switchBtn = GLOBAL_CONFIG.source.postAi.switchBtn //# 可以配置是否显示切换按钮 以切换tianli/local
let keys = GLOBAL_CONFIG.source.postAi.keys;
let Referers = GLOBAL_CONFIG.source.postAi.Referers;
let post = document.querySelector('#post')
const interface = {
@ -432,5 +432,5 @@ function HaoPostAI(AI_option) {
}
aiAbstract();
showAiBtn()
}
showAiBtn();
})()

View File

@ -1,479 +0,0 @@
@font-face {
font-family: "iconfont"; /* Project id 3736806 */
src: url('iconfont.woff2?t=1675495619599') format('woff2'),
url('iconfont.woff?t=1675495619599') format('woff'),
url('iconfont.ttf?t=1675495619599') format('truetype');
}
.iconfont {
font-family: "iconfont" !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-arrows-alt-h:before {
content: "\ef28";
}
.icon-plus-circle:before {
content: "\f082";
}
.icon-csdn1:before {
content: "\e608";
}
.icon-CN_cnblogs:before {
content: "\e64d";
}
.icon-leetcode:before {
content: "\ebf2";
}
.icon-juejin:before {
content: "\e606";
}
.icon-weibiaoti-1:before {
content: "\e607";
}
.icon-csdn:before {
content: "\e60a";
}
.icon-bokeyuan:before {
content: "\e623";
}
.icon-yuque:before {
content: "\e880";
}
.icon-jinritoutiao:before {
content: "\e68d";
}
.icon-weixingongzhonghao:before {
content: "\e605";
}
.icon-steam-line:before {
content: "\e75f";
}
.icon-steam-fill:before {
content: "\e763";
}
.icon-slack-line:before {
content: "\e75c";
}
.icon-linkedin-box-line:before {
content: "\e750";
}
.icon-telegram-line:before {
content: "\e761";
}
.icon-douyin:before {
content: "\e673";
}
.icon-wechat2:before {
content: "\e632";
}
.icon-phone-line:before {
content: "\e6ac";
}
.icon-alipay-line:before {
content: "\e73c";
}
.icon-app-store-line:before {
content: "\e73e";
}
.icon-baidu-line:before {
content: "\e73f";
}
.icon-bilibili-line:before {
content: "\e740";
}
.icon-dingding-line:before {
content: "\e743";
}
.icon-douban-line:before {
content: "\e744";
}
.icon-disqus-line:before {
content: "\e745";
}
.icon-discord-line:before {
content: "\e746";
}
.icon-dribbble-line:before {
content: "\e747";
}
.icon-drive-line:before {
content: "\e748";
}
.icon-facebook-box-line:before {
content: "\e749";
}
.icon-dropbox-line:before {
content: "\e74a";
}
.icon-evernote-line:before {
content: "\e74b";
}
.icon-gitlab-line:before {
content: "\e74d";
}
.icon-google-line:before {
content: "\e74e";
}
.icon-google-play-line:before {
content: "\e74f";
}
.icon-instagram-line:before {
content: "\e751";
}
.icon-line-fill:before {
content: "\e752";
}
.icon-paypal-line:before {
content: "\e757";
}
.icon-qq-line:before {
content: "\e759";
}
.icon-reddit-line:before {
content: "\e75a";
}
.icon-spotify-line:before {
content: "\e75d";
}
.icon-stack-overflow-line:before {
content: "\e75e";
}
.icon-snapchat-line:before {
content: "\e75b";
}
.icon-taobao-line:before {
content: "\e760";
}
.icon-twitter-line:before {
content: "\e762";
}
.icon-wechat-2-line:before {
content: "\e766";
}
.icon-wechat-fill:before {
content: "\e768";
}
.icon-wechat-line:before {
content: "\e769";
}
.icon-weibo-line:before {
content: "\e76a";
}
.icon-whatsapp-line:before {
content: "\e76b";
}
.icon-youtube-line:before {
content: "\e76c";
}
.icon-zhihu-line:before {
content: "\e76d";
}
.icon-wechat-2-fill:before {
content: "\e76e";
}
.icon-by:before {
content: "\e601";
}
.icon-cc:before {
content: "\e602";
}
.icon-nc:before {
content: "\e603";
}
.icon-nd:before {
content: "\e604";
}
.icon-HAO:before {
content: "\e60e";
}
.icon-logo-hao-pro:before {
content: "\f290";
}
.icon-logo-hao:before {
content: "\e609";
}
.icon-logo-moment:before {
content: "\e6af";
}
.icon-indent:before {
content: "\f027";
}
.icon-bars:before {
content: "\ef34";
}
.icon-mail-line:before {
content: "\e668";
}
.icon-github-line:before {
content: "\e74c";
}
.icon-moon:before {
content: "\f057";
}
.icon-closed-captioning:before {
content: "\ef76";
}
.icon-hand-holding:before {
content: "\f000";
}
.icon-dice:before {
content: "\ef94";
}
.icon-list-ul:before {
content: "\f039";
}
.icon-baidu:before {
content: "\e6b6";
}
.icon-search:before {
content: "\f0a8";
}
.icon-download:before {
content: "\efa5";
}
.icon-image:before {
content: "\f024";
}
.icon-window-restore:before {
content: "\f159";
}
.icon-comment-dots1:before {
content: "\f288";
}
.icon-copy:before {
content: "\ef86";
}
.icon-bus:before {
content: "\ef58";
}
.icon-hotjar:before {
content: "\f1cf";
}
.icon-weibo:before {
content: "\f261";
}
.icon-robot:before {
content: "\f09a";
}
.icon-paste:before {
content: "\f068";
}
.icon-link:before {
content: "\f037";
}
.icon-qrcode:before {
content: "\f08d";
}
.icon-calendar-alt:before {
content: "\ef5a";
}
.icon-clock:before {
content: "\ef75";
}
.icon-file-word:before {
content: "\efd1";
}
.icon-chevron-down:before {
content: "\ef6d";
}
.icon-times-circle:before {
content: "\f10a";
}
.icon-grip-vertical:before {
content: "\efff";
}
.icon-book:before {
content: "\ef46";
}
.icon-burn:before {
content: "\ef57";
}
.icon-dove:before {
content: "\efa4";
}
.icon-arrow-circle-right:before {
content: "\ef23";
}
.icon-comment-dots:before {
content: "\ef7e";
}
.icon-folder-open:before {
content: "\efdc";
}
.icon-file-alt:before {
content: "\efc1";
}
.icon-bullseye:before {
content: "\ef56";
}
.icon-sliders:before {
content: "\f0bf";
}
.icon-tags:before {
content: "\f0f3";
}
.icon-comment-alt:before {
content: "\f287";
}
.icon-eye:before {
content: "\f28f";
}
.icon-arrow-left:before {
content: "\ef26";
}
.icon-arrow-right:before {
content: "\ef27";
}
.icon-arrow-up:before {
content: "\ef2a";
}
.icon-chevron-left:before {
content: "\ef6e";
}
.icon-chevron-right:before {
content: "\ef6f";
}
.icon-redo-alt:before {
content: "\f094";
}
.icon-listol:before {
content: "\e767";
}
.icon-arrowup:before {
content: "\e64c";
}
.icon-icon-sidebar-scxmtj:before {
content: "\e643";
}
.icon-train-public-transport:before {
content: "\e600";
}
.icon-a-theconsole-fill:before {
content: "\ea32";
}
.icon-shuffle:before {
content: "\e67e";
}
.icon-md-train:before {
content: "\e77d";
}

File diff suppressed because one or more lines are too long

View File

@ -1,821 +0,0 @@
{
"id": "3736806",
"name": "hao",
"font_family": "iconfont",
"css_prefix_text": "icon-",
"description": "",
"glyphs": [
{
"icon_id": "5633818",
"name": "arrows-alt-h",
"font_class": "arrows-alt-h",
"unicode": "ef28",
"unicode_decimal": 61224
},
{
"icon_id": "5634298",
"name": "plus-circle",
"font_class": "plus-circle",
"unicode": "f082",
"unicode_decimal": 61570
},
{
"icon_id": "3506983",
"name": "csdn",
"font_class": "csdn1",
"unicode": "e608",
"unicode_decimal": 58888
},
{
"icon_id": "2041684",
"name": "CN_cnblogs",
"font_class": "CN_cnblogs",
"unicode": "e64d",
"unicode_decimal": 58957
},
{
"icon_id": "15378535",
"name": "leetcode",
"font_class": "leetcode",
"unicode": "ebf2",
"unicode_decimal": 60402
},
{
"icon_id": "18422914",
"name": "juejin",
"font_class": "juejin",
"unicode": "e606",
"unicode_decimal": 58886
},
{
"icon_id": "18458782",
"name": "infoQ",
"font_class": "weibiaoti-1",
"unicode": "e607",
"unicode_decimal": 58887
},
{
"icon_id": "829865",
"name": "csdn",
"font_class": "csdn",
"unicode": "e60a",
"unicode_decimal": 58890
},
{
"icon_id": "833511",
"name": "博客园",
"font_class": "bokeyuan",
"unicode": "e623",
"unicode_decimal": 58915
},
{
"icon_id": "4936975",
"name": "yuque",
"font_class": "yuque",
"unicode": "e880",
"unicode_decimal": 59520
},
{
"icon_id": "13743995",
"name": "jinritoutiao",
"font_class": "jinritoutiao",
"unicode": "e68d",
"unicode_decimal": 59021
},
{
"icon_id": "28650243",
"name": "微信公众号",
"font_class": "weixingongzhonghao",
"unicode": "e605",
"unicode_decimal": 58885
},
{
"icon_id": "20818171",
"name": "steam-line",
"font_class": "steam-line",
"unicode": "e75f",
"unicode_decimal": 59231
},
{
"icon_id": "20818172",
"name": "steam-fill",
"font_class": "steam-fill",
"unicode": "e763",
"unicode_decimal": 59235
},
{
"icon_id": "20818156",
"name": "slack-line",
"font_class": "slack-line",
"unicode": "e75c",
"unicode_decimal": 59228
},
{
"icon_id": "20818112",
"name": "linkedin-box-line",
"font_class": "linkedin-box-line",
"unicode": "e750",
"unicode_decimal": 59216
},
{
"icon_id": "20818178",
"name": "telegram-line",
"font_class": "telegram-line",
"unicode": "e761",
"unicode_decimal": 59233
},
{
"icon_id": "22273028",
"name": "douyin",
"font_class": "douyin",
"unicode": "e673",
"unicode_decimal": 58995
},
{
"icon_id": "14629289",
"name": "wechat2",
"font_class": "wechat2",
"unicode": "e632",
"unicode_decimal": 58930
},
{
"icon_id": "20817466",
"name": "phone-line",
"font_class": "phone-line",
"unicode": "e6ac",
"unicode_decimal": 59052
},
{
"icon_id": "20818029",
"name": "alipay-line",
"font_class": "alipay-line",
"unicode": "e73c",
"unicode_decimal": 59196
},
{
"icon_id": "20818039",
"name": "app-store-line",
"font_class": "app-store-line",
"unicode": "e73e",
"unicode_decimal": 59198
},
{
"icon_id": "20818044",
"name": "baidu-line",
"font_class": "baidu-line",
"unicode": "e73f",
"unicode_decimal": 59199
},
{
"icon_id": "20818045",
"name": "bilibili-line",
"font_class": "bilibili-line",
"unicode": "e740",
"unicode_decimal": 59200
},
{
"icon_id": "20818057",
"name": "dingding-line",
"font_class": "dingding-line",
"unicode": "e743",
"unicode_decimal": 59203
},
{
"icon_id": "20818060",
"name": "douban-line",
"font_class": "douban-line",
"unicode": "e744",
"unicode_decimal": 59204
},
{
"icon_id": "20818061",
"name": "disqus-line",
"font_class": "disqus-line",
"unicode": "e745",
"unicode_decimal": 59205
},
{
"icon_id": "20818062",
"name": "discord-line",
"font_class": "discord-line",
"unicode": "e746",
"unicode_decimal": 59206
},
{
"icon_id": "20818064",
"name": "dribbble-line",
"font_class": "dribbble-line",
"unicode": "e747",
"unicode_decimal": 59207
},
{
"icon_id": "20818065",
"name": "drive-line",
"font_class": "drive-line",
"unicode": "e748",
"unicode_decimal": 59208
},
{
"icon_id": "20818068",
"name": "facebook-box-line",
"font_class": "facebook-box-line",
"unicode": "e749",
"unicode_decimal": 59209
},
{
"icon_id": "20818074",
"name": "dropbox-line",
"font_class": "dropbox-line",
"unicode": "e74a",
"unicode_decimal": 59210
},
{
"icon_id": "20818085",
"name": "evernote-line",
"font_class": "evernote-line",
"unicode": "e74b",
"unicode_decimal": 59211
},
{
"icon_id": "20818088",
"name": "gitlab-line",
"font_class": "gitlab-line",
"unicode": "e74d",
"unicode_decimal": 59213
},
{
"icon_id": "20818092",
"name": "google-line",
"font_class": "google-line",
"unicode": "e74e",
"unicode_decimal": 59214
},
{
"icon_id": "20818094",
"name": "google-play-line",
"font_class": "google-play-line",
"unicode": "e74f",
"unicode_decimal": 59215
},
{
"icon_id": "20818106",
"name": "instagram-line",
"font_class": "instagram-line",
"unicode": "e751",
"unicode_decimal": 59217
},
{
"icon_id": "20818121",
"name": "line-fill",
"font_class": "line-fill",
"unicode": "e752",
"unicode_decimal": 59218
},
{
"icon_id": "20818138",
"name": "paypal-line",
"font_class": "paypal-line",
"unicode": "e757",
"unicode_decimal": 59223
},
{
"icon_id": "20818146",
"name": "qq-line",
"font_class": "qq-line",
"unicode": "e759",
"unicode_decimal": 59225
},
{
"icon_id": "20818153",
"name": "reddit-line",
"font_class": "reddit-line",
"unicode": "e75a",
"unicode_decimal": 59226
},
{
"icon_id": "20818162",
"name": "spotify-line",
"font_class": "spotify-line",
"unicode": "e75d",
"unicode_decimal": 59229
},
{
"icon_id": "20818166",
"name": "stack-overflow-line",
"font_class": "stack-overflow-line",
"unicode": "e75e",
"unicode_decimal": 59230
},
{
"icon_id": "20818168",
"name": "snapchat-line",
"font_class": "snapchat-line",
"unicode": "e75b",
"unicode_decimal": 59227
},
{
"icon_id": "20818175",
"name": "taobao-line",
"font_class": "taobao-line",
"unicode": "e760",
"unicode_decimal": 59232
},
{
"icon_id": "20818181",
"name": "twitter-line",
"font_class": "twitter-line",
"unicode": "e762",
"unicode_decimal": 59234
},
{
"icon_id": "20818193",
"name": "wechat-2-line",
"font_class": "wechat-2-line",
"unicode": "e766",
"unicode_decimal": 59238
},
{
"icon_id": "20818195",
"name": "wechat-fill",
"font_class": "wechat-fill",
"unicode": "e768",
"unicode_decimal": 59240
},
{
"icon_id": "20818198",
"name": "wechat-line",
"font_class": "wechat-line",
"unicode": "e769",
"unicode_decimal": 59241
},
{
"icon_id": "20818200",
"name": "weibo-line",
"font_class": "weibo-line",
"unicode": "e76a",
"unicode_decimal": 59242
},
{
"icon_id": "20818206",
"name": "whatsapp-line",
"font_class": "whatsapp-line",
"unicode": "e76b",
"unicode_decimal": 59243
},
{
"icon_id": "20818213",
"name": "youtube-line",
"font_class": "youtube-line",
"unicode": "e76c",
"unicode_decimal": 59244
},
{
"icon_id": "20818220",
"name": "zhihu-line",
"font_class": "zhihu-line",
"unicode": "e76d",
"unicode_decimal": 59245
},
{
"icon_id": "20818226",
"name": "wechat-2-fill",
"font_class": "wechat-2-fill",
"unicode": "e76e",
"unicode_decimal": 59246
},
{
"icon_id": "12095053",
"name": "by",
"font_class": "by",
"unicode": "e601",
"unicode_decimal": 58881
},
{
"icon_id": "12095056",
"name": "cc",
"font_class": "cc",
"unicode": "e602",
"unicode_decimal": 58882
},
{
"icon_id": "12095063",
"name": "nc",
"font_class": "nc",
"unicode": "e603",
"unicode_decimal": 58883
},
{
"icon_id": "12095066",
"name": "nd",
"font_class": "nd",
"unicode": "e604",
"unicode_decimal": 58884
},
{
"icon_id": "32816778",
"name": "HAO",
"font_class": "HAO",
"unicode": "e60e",
"unicode_decimal": 58894
},
{
"icon_id": "32796142",
"name": "logo-hao-copy",
"font_class": "logo-hao-pro",
"unicode": "f290",
"unicode_decimal": 62096
},
{
"icon_id": "32787589",
"name": "logo-hao",
"font_class": "logo-hao",
"unicode": "e609",
"unicode_decimal": 58889
},
{
"icon_id": "16440935",
"name": "logo-moment",
"font_class": "logo-moment",
"unicode": "e6af",
"unicode_decimal": 59055
},
{
"icon_id": "5634161",
"name": "indent",
"font_class": "indent",
"unicode": "f027",
"unicode_decimal": 61479
},
{
"icon_id": "5633834",
"name": "bars",
"font_class": "bars",
"unicode": "ef34",
"unicode_decimal": 61236
},
{
"icon_id": "20817029",
"name": "mail-line",
"font_class": "mail-line",
"unicode": "e668",
"unicode_decimal": 58984
},
{
"icon_id": "20818096",
"name": "github-line",
"font_class": "github-line",
"unicode": "e74c",
"unicode_decimal": 59212
},
{
"icon_id": "5634247",
"name": "moon",
"font_class": "moon",
"unicode": "f057",
"unicode_decimal": 61527
},
{
"icon_id": "5633944",
"name": "closed-captioning",
"font_class": "closed-captioning",
"unicode": "ef76",
"unicode_decimal": 61302
},
{
"icon_id": "5634114",
"name": "hand-holding",
"font_class": "hand-holding",
"unicode": "f000",
"unicode_decimal": 61440
},
{
"icon_id": "5633983",
"name": "dice",
"font_class": "dice",
"unicode": "ef94",
"unicode_decimal": 61332
},
{
"icon_id": "5634194",
"name": "list-ul",
"font_class": "list-ul",
"unicode": "f039",
"unicode_decimal": 61497
},
{
"icon_id": "386278",
"name": "baidu",
"font_class": "baidu",
"unicode": "e6b6",
"unicode_decimal": 59062
},
{
"icon_id": "5634346",
"name": "search",
"font_class": "search",
"unicode": "f0a8",
"unicode_decimal": 61608
},
{
"icon_id": "5634003",
"name": "download",
"font_class": "download",
"unicode": "efa5",
"unicode_decimal": 61349
},
{
"icon_id": "5634158",
"name": "image",
"font_class": "image",
"unicode": "f024",
"unicode_decimal": 61476
},
{
"icon_id": "5634542",
"name": "window-restore",
"font_class": "window-restore",
"unicode": "f159",
"unicode_decimal": 61785
},
{
"icon_id": "5634960",
"name": "comment-dots",
"font_class": "comment-dots1",
"unicode": "f288",
"unicode_decimal": 62088
},
{
"icon_id": "5633967",
"name": "copy",
"font_class": "copy",
"unicode": "ef86",
"unicode_decimal": 61318
},
{
"icon_id": "5633878",
"name": "bus",
"font_class": "bus",
"unicode": "ef58",
"unicode_decimal": 61272
},
{
"icon_id": "5634718",
"name": "hotjar",
"font_class": "hotjar",
"unicode": "f1cf",
"unicode_decimal": 61903
},
{
"icon_id": "5634903",
"name": "weibo",
"font_class": "weibo",
"unicode": "f261",
"unicode_decimal": 62049
},
{
"icon_id": "5634330",
"name": "robot",
"font_class": "robot",
"unicode": "f09a",
"unicode_decimal": 61594
},
{
"icon_id": "5634271",
"name": "paste",
"font_class": "paste",
"unicode": "f068",
"unicode_decimal": 61544
},
{
"icon_id": "5634192",
"name": "link",
"font_class": "link",
"unicode": "f037",
"unicode_decimal": 61495
},
{
"icon_id": "5634313",
"name": "qrcode",
"font_class": "qrcode",
"unicode": "f08d",
"unicode_decimal": 61581
},
{
"icon_id": "5633882",
"name": "calendar-alt",
"font_class": "calendar-alt",
"unicode": "ef5a",
"unicode_decimal": 61274
},
{
"icon_id": "5633943",
"name": "clock",
"font_class": "clock",
"unicode": "ef75",
"unicode_decimal": 61301
},
{
"icon_id": "5634058",
"name": "file-word",
"font_class": "file-word",
"unicode": "efd1",
"unicode_decimal": 61393
},
{
"icon_id": "5633931",
"name": "chevron-down",
"font_class": "chevron-down",
"unicode": "ef6d",
"unicode_decimal": 61293
},
{
"icon_id": "5634458",
"name": "times-circle",
"font_class": "times-circle",
"unicode": "f10a",
"unicode_decimal": 61706
},
{
"icon_id": "5634113",
"name": "grip-vertical",
"font_class": "grip-vertical",
"unicode": "efff",
"unicode_decimal": 61439
},
{
"icon_id": "5633858",
"name": "book",
"font_class": "book",
"unicode": "ef46",
"unicode_decimal": 61254
},
{
"icon_id": "5633877",
"name": "burn",
"font_class": "burn",
"unicode": "ef57",
"unicode_decimal": 61271
},
{
"icon_id": "5634002",
"name": "dove",
"font_class": "dove",
"unicode": "efa4",
"unicode_decimal": 61348
},
{
"icon_id": "5633812",
"name": "arrow-circle-right",
"font_class": "arrow-circle-right",
"unicode": "ef23",
"unicode_decimal": 61219
},
{
"icon_id": "5633958",
"name": "comment-dots",
"font_class": "comment-dots",
"unicode": "ef7e",
"unicode_decimal": 61310
},
{
"icon_id": "5634073",
"name": "folder-open",
"font_class": "folder-open",
"unicode": "efdc",
"unicode_decimal": 61404
},
{
"icon_id": "5634038",
"name": "file-alt",
"font_class": "file-alt",
"unicode": "efc1",
"unicode_decimal": 61377
},
{
"icon_id": "5633876",
"name": "bullseye",
"font_class": "bullseye",
"unicode": "ef56",
"unicode_decimal": 61270
},
{
"icon_id": "5634373",
"name": "sliders-h",
"font_class": "sliders",
"unicode": "f0bf",
"unicode_decimal": 61631
},
{
"icon_id": "5634433",
"name": "tags",
"font_class": "tags",
"unicode": "f0f3",
"unicode_decimal": 61683
},
{
"icon_id": "5634959",
"name": "comment-alt",
"font_class": "comment-alt",
"unicode": "f287",
"unicode_decimal": 62087
},
{
"icon_id": "5634971",
"name": "eye",
"font_class": "eye",
"unicode": "f28f",
"unicode_decimal": 62095
},
{
"icon_id": "5633815",
"name": "arrow-left",
"font_class": "arrow-left",
"unicode": "ef26",
"unicode_decimal": 61222
},
{
"icon_id": "5633816",
"name": "arrow-right",
"font_class": "arrow-right",
"unicode": "ef27",
"unicode_decimal": 61223
},
{
"icon_id": "5633820",
"name": "arrow-up",
"font_class": "arrow-up",
"unicode": "ef2a",
"unicode_decimal": 61226
},
{
"icon_id": "5633932",
"name": "chevron-left",
"font_class": "chevron-left",
"unicode": "ef6e",
"unicode_decimal": 61294
},
{
"icon_id": "5633933",
"name": "chevron-right",
"font_class": "chevron-right",
"unicode": "ef6f",
"unicode_decimal": 61295
},
{
"icon_id": "5634323",
"name": "redo-alt",
"font_class": "redo-alt",
"unicode": "f094",
"unicode_decimal": 61588
},
{
"icon_id": "836718",
"name": "list-ol",
"font_class": "listol",
"unicode": "e767",
"unicode_decimal": 59239
},
{
"icon_id": "433860",
"name": "arrow-up",
"font_class": "arrowup",
"unicode": "e64c",
"unicode_decimal": 58956
},
{
"icon_id": "5652805",
"name": "icon-side bar-scxmtj",
"font_class": "icon-sidebar-scxmtj",
"unicode": "e643",
"unicode_decimal": 58947
},
{
"icon_id": "21169476",
"name": "train-public-transport",
"font_class": "train-public-transport",
"unicode": "e600",
"unicode_decimal": 58880
},
{
"icon_id": "24342573",
"name": "the console-fill",
"font_class": "a-theconsole-fill",
"unicode": "ea32",
"unicode_decimal": 59954
},
{
"icon_id": "1251292",
"name": "shuffle",
"font_class": "shuffle",
"unicode": "e67e",
"unicode_decimal": 59006
},
{
"icon_id": "11102802",
"name": "md-train",
"font_class": "md-train",
"unicode": "e77d",
"unicode_decimal": 59261
}
]
}

View File

@ -9,14 +9,14 @@ code[class*=" language-"], pre[class*=" language-"]{
}
/* banner 字体图标大小及位置 */
i.iconfont.icon-arrow-right.banner-righticon{
font-size: 66px;
i.haofont.hao-icon-arrow-right.banner-righticon{
font-size: 80px;
}
span.bannerText{
display: block;
margin-top: 35px;
}
/*span.bannerText{*/
/* display: block;*/
/* margin-top: 35px;*/
/*}*/
/* 自我介绍渐变色背景 */
#aside-content > .card-widget.card-info::before {

View File

@ -54,6 +54,7 @@ window.oncontextmenu = function (event) {
let $rightMenuPasteText = $('#menu-pastetext');
let $rightMenuCommentText = $('#menu-commenttext');
let $rightMenuNewWindow = $('#menu-newwindow');
let $rightMenuNewWindowImg = $('#menu-newwindowimg');
let $rightMenuCopyLink = $('#menu-copylink');
let $rightMenuCopyImg = $('#menu-copyimg');
let $rightMenuDownloadImg = $('#menu-downloadimg');
@ -102,10 +103,12 @@ window.oncontextmenu = function (event) {
pluginMode = true;
$rightMenuCopyImg.show();
$rightMenuDownloadImg.show();
$rightMenuNewWindowImg.show();
domImgSrc = imgsrc;
} else {
$rightMenuCopyImg.hide();
$rightMenuDownloadImg.hide();
$rightMenuNewWindowImg.hide();
}
// 判断是否为输入框
@ -405,6 +408,10 @@ function addRightMenuClickEvent() {
$('#menu-downloadimg').on('click', function () {
heo.downloadImage(domImgSrc, 'kunkunyu');
});
$('#menu-newwindowimg').on('click', function () {
window.open(domImgSrc, "_blank");
rm.hideRightMenu();
});
$('#menu-copyimg').on('click', function () {
rm.writeClipImg(domImgSrc);
});

View File

@ -142,6 +142,10 @@
}
}
i.haofont {
line-height: 1;
}
/* 旧版css */
html {
line-height: 1.15;
@ -2844,17 +2848,6 @@ blockquote footer cite::before {
}
}
#post-info #post-meta .post-meta-separator {
margin: 0px 0.25rem;
}
#post-info #post-meta .post-meta-icon {
margin-right: 0.2rem;
}
#post-info #post-meta .post-meta-label {
margin-right: 0.2rem;
}
#post-info #post-meta a {
color: var(--light-grey);
@ -8372,7 +8365,7 @@ div#banners {
#banners .banner-button i {
margin-right: 8px;
font-size: 1rem;
/*font-size: 1rem;*/
}
.banners-title {
@ -8443,6 +8436,11 @@ div#banners {
cursor: pointer;
}
#banners #banner-hover i {
font-size: 80px;
opacity: .4
}
.topGroup .todayCard {
position: absolute;
width: calc(600px + 1rem);
@ -11191,7 +11189,7 @@ span.post-meta-position {
/* 图标数字间距 */
#post-info #post-meta .post-meta-icon {
margin-right: 0.4rem;
margin-right: 0.2rem;
}
/* 每组间距 */

File diff suppressed because one or more lines are too long

View File

@ -12,7 +12,7 @@
<span class="banner-button-text">随机访问</span>
</a>
<a class="banner-button" href="#post-comment" rel="external nofollow">
<i class="iconfont icon-link"></i>
<i class="haofont hao-icon-link"></i>
<span class="banner-button-text">申请友链</span>
</a>
</div>

View File

@ -9,7 +9,7 @@
<div id="post-comment"
th:if="${pluginFinder.available('PluginCommentWidget') && #strings.equals(theme.config.comments.use, 'commentWidget')}">
<div class="comment-head">
<div class="comment-headline"><i class="iconfont icon-comment-alt"></i> <span>评论</span></div>
<div class="comment-headline"><i class="haofont hao-icon-comments"></i> <span>评论</span></div>
<div class="comment-privacy"><a href="/privacy">隐私政策</a></div>
<div class="comment-tips" id="comment-tips">
<span>你无需删除空行,直接评论以获取最佳展示效果</span>

View File

@ -8,7 +8,7 @@
<th:block th:with="socialMedias = ${theme.config.footer.social_media.socialMediaLeft}">
<a class="deal_link" rel="external nofollow" target="_blank" th:each="socialMedia : ${socialMedias}"
th:href="${socialMedia.url}" th:title="${socialMedia.name}">
<i class="iconfont " th:classappend="${socialMedia.icon}"></i>
<i class="haofont " th:classappend="${socialMedia.icon}"></i>
</a>
</th:block>
@ -20,7 +20,7 @@
<th:block th:with="socialMedias = ${theme.config.footer.social_media.socialMediaRight}">
<a class="deal_link" rel="external nofollow" target="_blank" th:each="socialMedia : ${socialMedias}"
th:href="${socialMedia.url}" th:title="${socialMedia.name}">
<i class="iconfont " th:classappend="${socialMedia.icon}"></i>
<i class="haofont " th:classappend="${socialMedia.icon}"></i>
</a>
</th:block>
</div>
@ -89,10 +89,10 @@
</a>
<a class="footer-banner-link cc" th:href="${theme.config.basics.copyrightAgreement}"
th:if="${not #strings.isEmpty(theme.config.basics.copyrightAgreement)}" title="cc协议">
<i class="iconfont icon-cc"></i>
<i class="iconfont icon-by"></i>
<i class="iconfont icon-nc"></i>
<i class="iconfont icon-nd"></i>
<i class="haofont hao-icon-copyright"></i>
<i class="haofont hao-icon-creative-commons-by-line"></i>
<i class="haofont hao-icon-creative-commons-nc-line"></i>
<i class="haofont hao-icon-creative-commons-nd-line"></i>
</a>
</div>
</div>

View File

@ -30,11 +30,6 @@
}
</style>
<link media="print"
onload='this.media="all"'
rel="stylesheet"
th:href="${assets_link + '/libs/iconfont/iconfont.css'}">
<!-- swiper 在瞬间滚动时会使用 -->
<link rel="stylesheet" href="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-M/Swiper/8.0.6/swiper-bundle.min.css"/>
@ -239,6 +234,17 @@
},
tool:{
switch: [[${ theme.config.tool.snackbar.switch }]]
},
postAi:{
ai : '[(${post.status.excerpt})]',
randomNum : [[${theme.config.post.aiDescription.randomNum}]],
basicWordCount : [[${theme.config.post.aiDescription.basicWordCount}]],
btnLink : "[(${theme.config.post.aiDescription.btnLink})]",
gptName : "[(${theme.config.post.aiDescription.gptName})]",
modeName : [[${theme.config.post.aiDescription.mode}]],
switchBtn : [[${theme.config.post.aiDescription.switchBtn}]],
keys : "[(${theme.config.post.aiDescription.key})]",
Referers : "[(${theme.config.post.aiDescription.Referer})]",
}
},
date_suffix: {
@ -269,6 +275,7 @@
},
};

View File

@ -4,7 +4,7 @@
<div class="bbTimeList container" id="bbTimeList" th:fragment="moment"
th:if="!${pluginFinder.available('PluginMoments')}">
<!-- 未安装插件 -->
<i class="iconfont icon-logo-moment" onclick="" style="font-size: 1.3rem;" title="瞬间"></i>
<i class="haofont hao-icon-logo-moment" onclick="" style="font-size: 1.3rem;" title="瞬间"></i>
<div class="swiper-container swiper-no-swiping" id="bbtalk" tabindex="-1">
<div class="swiper-wrapper" id="bber-talk"
onclick="location.href=location.href='https\:\/\/github.com/halo-sigs/plugin-moments'">
@ -19,7 +19,7 @@
<div class="bbTimeList container" id="bbTimeList" th:fragment="moment"
th:if="${theme.config.top.moment} and ${pluginFinder.available('PluginMoments')}">
<!-- 瞬间插件 -->
<i class="iconfont icon-logo-moment" onclick="" style="font-size: 1.3rem;" title="瞬间"></i>
<i class="haofont hao-icon-logo-moment" onclick="" style="font-size: 1.3rem;" title="瞬间"></i>
<div class="swiper-container swiper-no-swiping" id="bbtalk" tabindex="-1">
<div class="swiper-wrapper" id="bber-talk" onclick="pjax.loadUrl('/moments')" th:if="${momentFinder}">
<th:block th:each="moment : ${momentFinder.listAll()}" th:with="content=${moment.spec.content}">

View File

@ -44,7 +44,7 @@
<!-- 分享 -->
<div class="share-link mobile" th:if="${theme.config.post.share_right.mobile_edit}">
<div class="share-qrcode">
<div class="share-button" title="使用手机访问这篇文章"><i class="iconfont icon-qrcode"></i>
<div class="share-button" title="使用手机访问这篇文章"><i class="haofont hao-icon-qrcode"></i>
</div>
<div class="share-main">
<div class="share-main-all">
@ -57,11 +57,11 @@
<div class="share-link weibo" th:if="${theme.config.post.share_right.weibo_edit}">
<a class="share-button" rel="noopener external nofollow noreferrer noopener" target="_blank"
th:href="'https://service.weibo.com/share/share.php?title=' + ${post.spec.title}" title="分享到微博">
<i class="iconfont icon-weibo" style="font-size:22px"></i></a>
<i class="haofont hao-icon-weibo" style="font-size:22px"></i></a>
</div>
<div class="share-link copyurl" th:if="${theme.config.post.share_right.copyurl_edit}">
<div class="share-button" id="post-share-url" onclick="rm.copyPageUrl()" title="复制链接"><i
class="iconfont icon-link"></i></div>
class="haofont hao-icon-link"></i></div>
</div>
</div>
<div class="post-tools-right">
@ -90,7 +90,7 @@
<a href="javascript:window.location.href;">[[${post.spec.title}]]</a>
</span>
<button class="post-copyright-copybtn" onclick="rm.copyPageUrl()">
<i class="iconfont icon-paste"></i>
<i class="haofont hao-icon-paste"></i>
</button>
</div>
<div class="post-copyright__notice">

View File

@ -49,7 +49,7 @@
th:if="${theme.config.post.share_right.mobile_edit || theme.config.post.share_right.weibo_edit || theme.config.post.share_right.copyurl_edit}">
<div class="share-link mobile" th:if="${theme.config.post.share_right.mobile_edit}">
<div class="share-qrcode">
<div class="share-button" title="使用手机访问这篇文章"><i class="iconfont icon-qrcode"></i>
<div class="share-button" title="使用手机访问这篇文章"><i class="haofont hao-icon-qrcode"></i>
</div>
<div class="share-main">
<div class="share-main-all">
@ -63,11 +63,11 @@
<a class="share-button" rel="noopener external nofollow noreferrer noopener" target="_blank"
th:href="'https://service.weibo.com/share/share.php?title=' + ${post.spec.title}"
title="分享到微博">
<i class="iconfont icon-weibo" style="font-size:22px"></i></a>
<i class="haofont hao-icon-weibo" style="font-size:22px"></i></a>
</div>
<div class="share-link copyurl" th:if="${theme.config.post.share_right.copyurl_edit}">
<div class="share-button" id="post-share-url" onclick="rm.copyPageUrl()" title="复制链接"><i
class="iconfont icon-link"></i></div>
class="haofont hao-icon-link"></i></div>
</div>
</div>
</div>

View File

@ -6,7 +6,7 @@ recommandPosts = ${postFinder.listByCategory(1,recommendQuantity == 'six' ? 7 :
containsTitle = ${#strings.contains(recommandPosts,post.spec.title)}">
<div class="relatedPosts" th:if="${recommandPosts.total>1}">
<div class="headline">
<i class="iconfont icon-robot"></i>
<i class="haofont hao-icon-cainixihuan" style="font-size: 1.1rem;"></i>
<span>阅读建议</span>
</div>
<!-- 六篇文章 -->

View File

@ -5,30 +5,30 @@
<script th:src="${assets_link + '/zhheo/rightmenu.js'}"></script>
<div id="rightMenu">
<div class="rightMenu-group rightMenu-small">
<div class="rightMenu-item" id="menu-backward"><i class="iconfont icon-arrow-left"></i></div>
<div class="rightMenu-item" id="menu-forward"><i class="iconfont icon-arrow-right"></i></div>
<div class="rightMenu-item" id="menu-refresh"><i class="iconfont icon-redo-alt"></i></div>
<div class="rightMenu-item" id="menu-top"><i class="iconfont icon-arrow-up"></i></div>
<div class="rightMenu-item" id="menu-backward"><i class="haofont hao-icon-arrow-left"></i></div>
<div class="rightMenu-item" id="menu-forward"><i class="haofont hao-icon-arrow-right"></i></div>
<div class="rightMenu-item" id="menu-refresh"><i class="haofont hao-icon-arrow-rotate-right"></i></div>
<div class="rightMenu-item" id="menu-top"><i class="haofont hao-icon-arrow-up"></i></div>
</div>
<div class="rightMenu-group rightMenu-line rightMenuPlugin">
<div class="rightMenu-item" id="menu-copytext">
<i class="iconfont icon-copy"></i>
<i class="haofont hao-icon-copy"></i>
<span>复制选中文本</span>
</div>
<div class="rightMenu-item" id="menu-pastetext">
<i class="iconfont icon-paste"></i>
<i class="haofont hao-icon-paste"></i>
<span>粘贴文本</span>
</div>
<a class="rightMenu-item" id="menu-commenttext">
<i class="iconfont icon-comment-dots1"></i>
<i class="haofont hao-icon-comment-medical"></i>
<span>引用到评论</span>
</a>
<div class="rightMenu-item" id="menu-newwindow">
<i class="iconfont icon-window-restore"></i>
<i class="haofont hao-icon-window-restore"></i>
<span>新窗口打开</span>
</div>
<div class="rightMenu-item" id="menu-copylink">
<i class="iconfont icon-link"></i>
<i class="haofont hao-icon-link"></i>
<span>复制链接地址</span>
</div>
<div class="rightMenu-item" id="menu-copyimg">
@ -39,12 +39,16 @@
<i class="haofont hao-icon-download"></i>
<span>下载此图片</span>
</div>
<div class="rightMenu-item" id="menu-newwindowimg" >
<i class="haofont hao-icon-window-restore"></i>
<span>新窗口打开图片</span>
</div>
<div class="rightMenu-item" id="menu-search">
<i class="iconfont icon-search"></i>
<i class="haofont hao-icon-magnifying-glass"></i>
<span>站内搜索</span>
</div>
<div class="rightMenu-item" id="menu-searchBaidu">
<i class="iconfont icon-baidu"></i>
<i class="haofont hao-icon-baidu"></i>
<span>百度搜索</span>
</div>
<div class="rightMenu-item" id="menu-music-toggle" style="">
@ -86,17 +90,17 @@
</div>
<!-- <div class="rightMenu-group rightMenu-line">
<a class="rightMenu-item menu-link" href="cc/index.html">
<i class="iconfont icon-hand-holding"></i>
<i class="haofont icon-hand-holding"></i>
<span>隐私协议</span>
</a>
<a class="rightMenu-item menu-link" href="cc/index.html">
<i class="iconfont icon-closed-captioning"></i>
<i class="haofont icon-closed-captioning"></i>
<span>版权协议</span>
</a>
</div> -->
<div class="rightMenu-group rightMenu-line rightMenuOther">
<div class="rightMenu-item" id="menu-copy">
<i class="iconfont icon-link"></i>
<i class="haofont hao-icon-copy"></i>
<span>复制地址</span>
</div>
<div class="rightMenu-item" id="menu-commentBarrage"

View File

@ -10,7 +10,7 @@
<div class="sidebar-menu-item">
<a class="darkmode_switchbutton menu-child" href="javascript:void(0);" onclick="rm.switchDarkMode()"
rel="external nofollow" title="显示模式切换">
<i class="iconfont icon-moon" style="font-size: 0.9rem;"></i>
<i class="haofont hao-icon-moon" style="font-size: 0.9rem;"></i>
<span>显示模式</span>
</a>
</div>
@ -63,38 +63,10 @@
</div>
</div>
</th:block>
<!-- <div class="menus_items">
<div class="menus_item">
<a class="site-page" href="javascript:void(0);" rel="external nofollow">
<span>文章</span>
</a>
<ul class="menus_item_child">
<li>
<a class="site-page child" href="/archives">
<i class="iconfont icon-list-ul"></i>
<span>文章归档</span>
</a>
</li>
<li>
<a class="site-page child" href="/categories">
<i class="iconfont icon-folder-open"></i>
<span>全部分类</span>
</a>
</li>
<li>
<a class="site-page child" href="/tags">
<i class="iconfont icon-tags"></i>
<span>全部标签</span>
</a>
</li>
</ul>
</div>
</div> -->
<span class="sidebar-menu-item-title">标签</span>
<div class="card-widget card-tags card-archives card-webinfo card-allinfo"
th:with="tags = ${tagFinder.listAll()}">
<div class="item-headline"><i class="iconfont icon-tags"></i><span>标签</span></div>
<div class="item-headline"></div>
<div class="card-tag-cloud">
<a style="font-size:14.3px;color:#d3d3d3" th:each="tag : ${tags}"
th:href="@{${tag.status.permalink}}"

View File

@ -28,13 +28,14 @@
<div class="content-bottom">
<div class="tips">跟 [[${site.title}]] 一起欣赏更多音乐</div>
</div>
<!-- <div class="banner-button-group"><a class="banner-button"
onclick="pjax.loadUrl('/music')"
<div th:if="${not #strings.isEmpty(theme.config.about.music.music_link)}" class="banner-button-group">
<a class="banner-button"
th:href="${theme.config.about.music.music_link}"
target="_blank"
rel="noopener nofollow">
<i class="haofont hao-icon-arrow-circle-right"></i>
<span class="banner-button-text">更多推荐</span></a>
</div> -->
rel="noopener nofollow">
<i class="haofont hao-icon-arrow-circle-right"></i>
<span class="banner-button-text">更多推荐</span></a>
</div>
</div>
</div>

View File

@ -3,7 +3,7 @@
<!-- 目录 -->
<div class="card-widget card-categories" th:fragment="categories"
th:with="categories = ${categoryFinder.list(1, theme.config.sidebar.categoryQuantity)}">
<div class="item-headline"><i class="iconfont icon-folder-open"></i><span>分类</span></div>
<div class="item-headline"><i class="haofont hao-icon-folder-open"></i><span>分类</span></div>
<div class="aside-list">
<ul class="card-category-list">
<li class="card-category-list-item" th:each="category,iterStat : ${categories}">

View File

@ -2,7 +2,7 @@
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<!-- 最新评论 -->
<div class="card-widget card-recent-post" th:fragment="comments">
<div class="item-headline"><i class="iconfont icon-comment-dots"></i><span>最新评论</span></div>
<div class="item-headline"><i class="haofont hao-icon-comments"></i><span>最新评论</span></div>
<div class="aside-list" id="newcomm">
<th:block th:if="${#strings.equals(theme.config.comments.use, 'commentWidget') }">
<div class="aside-list-item" th:each="comment,iterStat : ${commentFinder.list(null, 1, 20)}"

View File

@ -4,34 +4,34 @@
<th:block th:fragment="stat-contain" th:with="stats = ${siteStatsFinder.getStats()}">
<div class="item-headline"><i class="iconfont icon-icon-sidebar-scxmtj"></i><span>统计</span></div>
<div class="item-headline"><i class="haofont icon-icon-sidebar-scxmtj"></i><span>统计</span></div>
<div class="webinfo">
<div class="webinfo-item">
<div class="webinfo-item-title"><i class="iconfont icon-file-alt"></i>
<div class="webinfo-item-title"><i class="haofont hao-icon-file-lines"></i>
<div class="item-name">文章数 :</div>
</div>
<div class="item-count" th:text="${stats.post}"></div>
</div>
<!-- <div class="webinfo-item">
<div class="webinfo-item-title"><i class="iconfont icon-sliders"></i>
<div class="webinfo-item-title"><i class="haofont icon-sliders"></i>
<div class="item-name">分类数 :</div>
</div>
<div class="item-count" th:text="${stats.category}"></div>
</div> -->
<!-- <div class="webinfo-item">
<div class="webinfo-item-title"><i class="iconfont icon-comment-alt"></i>
<div class="webinfo-item-title"><i class="haofont icon-comment-alt"></i>
<div class="item-name">评论数 :</div>
</div>
<div class="item-count" th:text="${stats.comment}"></div>
</div> -->
<div class="webinfo-item">
<div class="webinfo-item-title"><i class="iconfont icon-bullseye"></i>
<div class="webinfo-item-title"><i class="haofont hao-icon-bullseye"></i>
<div class="item-name">访问量 :</div>
</div>
<div class="item-count" th:text="${stats.visit}"></div>
</div>
<div class="webinfo-item">
<div class="webinfo-item-title"><i class="iconfont icon-icon-sidebar-scxmtj"></i>
<div class="webinfo-item-title"><i class="haofont hao-icon-stopwatch"></i>
<div class="item-name">建站天数 :</div>
</div>
<div class="item-count" th:text="${theme.config.basics.siteStartTime}" id="runtimeshow"></div>

View File

@ -4,7 +4,7 @@
<th:block th:fragment="tags-contain"
th:with="tags = ${tagFinder.listAll()}, tagQuantity = ${#conversions.convert(theme.config.sidebar.tagQuantity, 'java.lang.Integer')}">
<div class="item-headline"><i class="iconfont icon-tags"></i><span>标签</span></div>
<div class="item-headline"></div>
<div class="card-tag-cloud">
<a class="tag-item" style="font-size:1em" th:each="tag,iterStat : ${tags}"
th:href="@{${tag.status.permalink}}"

View File

@ -31,7 +31,7 @@
<!-- 跳转信息 -->
<div class="banner-button-group">
<a class="banner-button" href="/about">
<i class="iconfont icon-arrow-circle-right"></i>
<i class="haofont hao-icon-circle-arrow-right"></i>
<span class="banner-button-text">了解更多</span>
</a>
</div>
@ -42,7 +42,7 @@
<a class="social-icon" rel="external nofollow" target="_blank" th:each="socialMedia : ${socialMedias}"
th:href="${socialMedia.url}" th:title="${socialMedia.name}">
<i class="iconfont " th:classappend="${socialMedia.icon}"></i>
<i class="haofont " th:classappend="${socialMedia.icon}"></i>
</a>
</div>
@ -171,7 +171,7 @@
<a class="social-icon" rel="external nofollow" target="_blank"
th:each="socialMedia : ${socialMedias}" th:href="${socialMedia.url}"
th:title="${socialMedia.name}">
<i class="iconfont " th:classappend="${socialMedia.icon}"></i>
<i class="haofont " th:classappend="${socialMedia.icon}"></i>
</a>
</div>
</div>

View File

@ -2,7 +2,7 @@
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<div class="card-widget card-recent-post" th:fragment="recent-posts" th:with='posts = ${postFinder.list(1,theme.config.sidebar.recentPost)},
postRandomImg=${#strings.contains(theme.config.layout.postRandomImg,"?") ? theme.config.layout.postRandomImg+"," : theme.config.layout.postRandomImg+"?"}'>
<div class="item-headline"><i class="iconfont icon-listol"></i><span>最近发布</span></div>
<div class="item-headline"><i class="haofont hao-icon-eicon_map-2-line1"></i><span>最近发布</span></div>
<div class="aside-list">
<!-- 最新文章,用户可以自定义展示数量 -->
<div class="aside-list-item" th:each="post : ${posts}">

View File

@ -5,7 +5,7 @@
<th:block th:fragment="toc">
<div class="card-widget" id="card-toc">
<div class="item-headline">
<i class="iconfont icon-bars"></i>
<i class="haofont hao-icon-bars"></i>
<span>文章目录</span>
<span class="toc-percentage"></span>
</div>

View File

@ -305,7 +305,7 @@
<!-- 随机前往一篇文章 -->
<a id="banner-hover" onclick="toRandomPost()">
<span class="bannerText">随便逛逛</span>
<i class="iconfont icon-arrow-right banner-righticon"></i>
<i class="haofont hao-icon-arrow-right banner-righticon"></i>
</a>
</div>

View File

@ -116,7 +116,7 @@
<div class="console-btn-item">
<!-- 用到了 rightmenu.js 的功能,还需要调整 -->
<a class="darkmode_switchbutton" href="javascript:void(0);" onclick="navFn.switchDarkMode();" rel="external nofollow"
title="显示模式切换"><i class="iconfont icon-moon" style="font-size:1rem"></i>
title="显示模式切换"><i class="haofont hao-icon-moon" style="font-size:1rem"></i>
</a>
</div>
<div class="console-btn-item" id="consoleHideAside" onclick="heo.hideAsideBtn()" title="边栏显示控制"><a
@ -137,7 +137,7 @@
</div>
<div th:if="${theme.config.nav.right.console.consoleLink}" class="console-btn-item" id="consoleLink2Console" title="前往控制台">
<a class="console-link" data-pjax-state="" href="/console">
<i class="iconfont icon-a-theconsole-fill"></i>
<i class="haofont hao-icon-dashboard"></i>
</a>
</div>
</div>

View File

@ -10,7 +10,7 @@
<div class="back-home-button" tabindex="-1"
th:if="${not #lists.isEmpty(leftMenu)}">
<i class="back-home-button-icon iconfont icon-grip-vertical" style="font-size: 1rem"></i>
<i class="back-home-button-icon haofont hao-icon-grip-vertical" style="font-size: 1rem"></i>
<div class="back-menu-list-groups">
<div class="back-menu-list-group" th:each="menuItem : ${leftMenu.menuItems}">
<!-- 菜单必须有子项才会展示 -->

View File

@ -39,19 +39,19 @@
<div class="nav-button" id="nav-console">
<a class="console_switchbutton" href="javascript:void(0);"
onclick="heo.showConsole()" rel="external nofollow" title="显示中控台">
<i class="iconfont icon-a-theconsole-fill" style="font-size: 1rem;"></i>
<i class="haofont hao-icon-dashboard" style="font-size: 1.12rem;"></i>
</a>
</div>
<div class="nav-button" id="nav-totop" onclick="btf.scrollToDest(0,500)">
<a class="totopbtn">
<i class="iconfont icon-arrowup" style="font-size: 1rem;"></i><span id="percent">0</span>
<i class="haofont hao-icon-arrow-up" style="font-size: 1rem;"></i><span id="percent">0</span>
</a>
</div>
<div id="toggle-menu">
<a class="site-page">
<i class="iconfont icon-bars"></i>
<i class="haofont hao-icon-bars"></i>
</a>
</div>
</div>

View File

@ -73,7 +73,7 @@
</div>
<div class="banner-button-group">
<a class="banner-button" onclick="window.event.cancelBubble=!0;heo.hideTodayCard()">
<i class="iconfont icon-plus-circle"></i>
<i class="haofont hao-icon-circle-plus"></i>
<span class="banner-button-text">更多推荐</span>
</a>
</div>

View File

@ -38,7 +38,7 @@
<div id="post-meta">
<div class="meta-secondline">
<span class="post-meta-date">
<i class="iconfont icon-calendar-alt post-meta-icon"></i>
<i class="haofont hao-icon-calendar-days post-meta-icon"></i>
<time th:attr="datetime=${#dates.format(post.spec.publishTime, 'yyyy-MM-dd')}"
th:text="${#dates.format(post.spec.publishTime,'yyyy-MM-dd')}"
th:title="${#dates.format(post.spec.publishTime,'yyyy-MM-dd')}">
@ -47,11 +47,11 @@
<span class="post-meta-wordcount"
th:with="wordCount = ${#strings.length(post.content.content)}">
<i class="iconfont icon-file-word post-meta-icon" title="字数"></i>
<i class="haofont hao-icon-file-word post-meta-icon" title="字数"></i>
<span class="post-meta-label">字数:</span>
<span class="word-count" th:text="${{wordCount}}"></span>
<span class="post-meta-separator"></span>
<i class="iconfont icon-clock post-meta-icon" title="阅读耗时"></i>
<i class="haofont hao-icon-clock post-meta-icon" title="阅读耗时"></i>
<span class="post-meta-label">阅读耗时:</span>
<span>[[${wordCount / 400}]] 分钟</span>
</span>
@ -59,12 +59,12 @@
<!--<span class="post-meta-wechat" title="该文章已在公众号中更新"><i-->
<!-- class="fab fa-weixin post-meta-icon"></i>公众号同步</span>-->
<span class="post-meta-pv" data-flag-title="热度">
<i class="iconfont icon-hotjar post-meta-icon"></i>
<i class="haofont hao-icon-fire post-meta-icon"></i>
<span class="post-meta-label">热度:</span>
<span id="visit" th:text="${post.stats.visit}"></span>
</span>
<span th:if="${post.spec.allowComment}" class="post-meta-commentcount" onclick="heo.scrollTo('#post-comment');" title="评论数">
<i class="iconfont icon-comment-alt"></i>
<i class="haofont hao-icon-comments post-meta-icon"></i>
<span class="post-meta-label">评论:</span>
<a th:if="${#strings.equals(theme.config.comments.use, 'commentWidget')}"
href="#post-comment"><span id="comment-count"
@ -102,19 +102,8 @@
</article>
<!-- 文章ai摘要 -->
<script th:if="${theme.config.post.aiDescription.aiDescriptionEnable}" data-pjax >
new HaoPostAI({
ai: '[(${post.status.excerpt})]',
randomNum: [[${ theme.config.post.aiDescription.randomNum }]], //按钮最大的随机次数,也就是一篇文章最大随机出来几种
basicWordCount: [[${ theme.config.post.aiDescription.basicWordCount }]], // 最低获取字符数, 最小1000, 最大1999
btnLink: "[(${theme.config.post.aiDescription.btnLink})]",
gptName: "[(${theme.config.post.aiDescription.gptName})]",
modeName: "[[${ theme.config.post.aiDescription.mode }]]",
switchBtn: [[${ theme.config.post.aiDescription.switchBtn }]], //# 可以配置是否显示切换按钮 以切换tianli/local
keys: "[(${theme.config.post.aiDescription.key})]",
Referers: "[(${theme.config.post.aiDescription.Referer})]"
})
</script>
<script data-pjax th:if="${theme.config.post.aiDescription.aiDescriptionEnable}"
th:src="${assets_link + '/libs/gpt/post-ai.js'}"></script>
<!-- 版权声明 -->
<th:block th:replace="~{modules/post/copyright :: copyright}"></th:block>