icon图标修改
This commit is contained in:
parent
c817445ab5
commit
98f5a318d8
|
@ -364,8 +364,8 @@ var heo = {
|
|||
heo.musicBindEvent();
|
||||
heo_musicFirst = true;
|
||||
}
|
||||
let msgPlay = '<i class="anzhiyufont anzhiyu-icon-play"></i><span>播放音乐</span>';
|
||||
let msgPause = '<i class="anzhiyufont anzhiyu-icon-pause"></i><span>暂停音乐</span>';
|
||||
let msgPlay = '<i class="haofont hao-icon-play"></i><span>播放音乐</span>';
|
||||
let msgPause = '<i class="haofont hao-icon-pause"></i><span>暂停音乐</span>';
|
||||
if (heo_musicPlaying) {
|
||||
navMusicEl.classList.remove("playing");
|
||||
document.getElementById("menu-music-toggle").innerHTML = msgPlay;
|
||||
|
|
|
@ -94,7 +94,7 @@ function popCommentBarrage(data) {
|
|||
<a class="barrageTitle" href="#post-comment">热评</a>
|
||||
<div class="barrageNick">${data.nick}</div>
|
||||
<img class="barrageAvatar" src="https://cravatar.cn/avatar/${data.mailMd5}"/>
|
||||
<a class="comment-barrage-close" href="javascript:heo.switchCommentBarrage()"><i class="anzhiyufont anzhiyu-icon-xmark"></i></a>
|
||||
<a class="comment-barrage-close" href="javascript:heo.switchCommentBarrage()"><i class="haofont hao-icon-xmark"></i></a>
|
||||
</div>
|
||||
<a class="barrageContent" href="#${data.id}">${data.comment}</a>
|
||||
`
|
||||
|
|
|
@ -9235,7 +9235,7 @@ li {
|
|||
font-size: 20px;
|
||||
line-height: 20px;
|
||||
}
|
||||
.ai-title .anzhiyufont.anzhiyu-icon-arrow-rotate-right {
|
||||
.ai-title .haofont.hao-icon-arrow-rotate-right {
|
||||
font-size: 14px;
|
||||
margin-left: 4px;
|
||||
cursor: pointer;
|
||||
|
@ -14136,8 +14136,8 @@ span.tags-punctuation {
|
|||
}
|
||||
|
||||
span.tags-punctuation::before {
|
||||
content: "\e608";
|
||||
font-family: "anzhiyufont" !important;
|
||||
content: "\e663";
|
||||
font-family: "haofont" !important;
|
||||
opacity: 0.4;
|
||||
margin-right: 2px;
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
<div class="title-h2-a-left">
|
||||
<h2 style="padding-top:0;margin:.6rem 0 .6rem">🎣 钓鱼</h2><a class="random-post-start"
|
||||
href="javascript:fetchRandomPost();"><i
|
||||
class="anzhiyufont anzhiyu-icon-arrow-rotate-right"></i></a>
|
||||
class="haofont hao-icon-arrow-rotate-right"></i></a>
|
||||
</div>
|
||||
<div class="title-h2-a-right"><a class="random-post-all" href="/links">全部友链</a></div>
|
||||
</div>
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
</div>
|
||||
<div class="banner-button-group">
|
||||
<a class="banner-button secondary" data-pjax-state="" onclick="travelling()">
|
||||
<i class="anzhiyufont anzhiyu-icon-paper-plane1"></i>
|
||||
<i class="haofont hao-icon-paper-plane1"></i>
|
||||
<span class="banner-button-text">随机访问</span>
|
||||
</a>
|
||||
<a class="banner-button" href="#post-comment" rel="external nofollow">
|
||||
|
@ -57,7 +57,7 @@
|
|||
<div class="title-h2-a">
|
||||
<div class="title-h2-a-left">
|
||||
<h2 style="padding-top:0;margin:.6rem 0 .6rem">🎣 钓鱼</h2><a class="random-post-start"
|
||||
href="javascript:fetchRandomPost();"><i class="anzhiyufont anzhiyu-icon-arrow-rotate-right"></i></a>
|
||||
href="javascript:fetchRandomPost();"><i class="haofont hao-icon-arrow-rotate-right"></i></a>
|
||||
</div>
|
||||
<div class="title-h2-a-right"><a class="random-post-all" href="/fcircle" data-pjax-state="">查看鱼塘</a></div>
|
||||
</div>
|
||||
|
|
|
@ -110,7 +110,7 @@
|
|||
</a>
|
||||
<div class="barrageNick">${data.nick}</div>
|
||||
<img class="barrageAvatar" src="https://cravatar.cn/avatar/${data.mailMd5}"/>
|
||||
<a class="comment-barrage-close" href="javascript:heo.switchCommentBarrage()"><i class="anzhiyufont anzhiyu-icon-xmark"></i></a>
|
||||
<a class="comment-barrage-close" href="javascript:heo.switchCommentBarrage()"><i class="haofont hao-icon-xmark"></i></a>
|
||||
</div>
|
||||
<a class="barrageContent" href="#${data.id}">${data.comment}</a>
|
||||
`
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
href="javascript:link.addFriendLinksInFooter();"
|
||||
rel="external nofollow" title="换一批友情链接"
|
||||
data-pjax-state="external"><i
|
||||
class="anzhiyufont anzhiyu-icon-arrow-rotate-right"></i></a>
|
||||
class="haofont hao-icon-arrow-rotate-right"></i></a>
|
||||
</div>
|
||||
<div class="footer-links" id="friend-links-in-footer"></div>
|
||||
</div>
|
||||
|
|
|
@ -157,7 +157,7 @@
|
|||
|
||||
|
||||
<!-- icon图标 -->
|
||||
<link rel="stylesheet" href="https://npm.elemecdn.com/anzhiyu-theme-static@1.1.0/icon/ali_iconfont_css.css">
|
||||
<link rel="stylesheet" href="https://npm.elemecdn.com/hao-theme-static@1.1.7/icon/iconfont.css">
|
||||
|
||||
<!-- 声明一些公共信息 -->
|
||||
<script id="site-config" th:inline="javascript">
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
let refreshNum = 0
|
||||
// 记录上一次传递给aiAbstract的参数
|
||||
let prevParam;
|
||||
const aiTitleRefreshIcon = document.querySelector(".ai-title .anzhiyufont.anzhiyu-icon-arrow-rotate-right")
|
||||
const aiTitleRefreshIcon = document.querySelector(".ai-title .haofont.hao-icon-arrow-rotate-right")
|
||||
const explanation = document.querySelector(".ai-explanation");
|
||||
const post_ai = document.querySelector(".post-ai");
|
||||
let ai_str = "";
|
||||
|
|
|
@ -48,25 +48,25 @@
|
|||
<span>百度搜索</span>
|
||||
</div>
|
||||
<div class="rightMenu-item" id="menu-music-toggle" style="">
|
||||
<i class="anzhiyufont anzhiyu-icon-play"></i>
|
||||
<i class="haofont hao-icon-play"></i>
|
||||
<span>播放音乐</span>
|
||||
</div>
|
||||
<div class="rightMenu-item" id="menu-music-back" style="">
|
||||
<i class="anzhiyufont anzhiyu-icon-backward"></i>
|
||||
<i class="haofont hao-icon-backward"></i>
|
||||
<span>切换到上一首</span>
|
||||
</div>
|
||||
<div class="rightMenu-item" id="menu-music-forward" style="">
|
||||
<i class="anzhiyufont anzhiyu-icon-forward"></i>
|
||||
<i class="haofont hao-icon-forward"></i>
|
||||
<span>切换到下一首</span>
|
||||
</div>
|
||||
<div class="rightMenu-item" id="menu-music-playlist"
|
||||
th:attr="onclick='javascript:window.open(\''+ ${theme.config.tool.nav_music.all_playlist} +'\')'"
|
||||
style="">
|
||||
<i class="anzhiyufont anzhiyu-icon-radio"></i>
|
||||
<i class="haofont hao-icon-radio"></i>
|
||||
<span>查看所有歌曲</span>
|
||||
</div>
|
||||
<div class="rightMenu-item" id="menu-music-copyMusicName" style="">
|
||||
<i class="anzhiyufont anzhiyu-icon-copy"></i>
|
||||
<i class="haofont hao-icon-copy"></i>
|
||||
<span>复制歌名</span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<!-- 导航栏菜单栏 -->
|
||||
<div id="post-comment" th:fragment="twikoo">
|
||||
<div class="comment-head">
|
||||
<div class="comment-headline"><i class="anzhiyufont anzhiyu-icon-comments"></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>
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
onclick="pjax.loadUrl('/music')"
|
||||
target="_blank"
|
||||
rel="noopener nofollow">
|
||||
<i class="anzhiyufont anzhiyu-icon-arrow-circle-right"></i>
|
||||
<i class="haofont hao-icon-arrow-circle-right"></i>
|
||||
<span class="banner-button-text">更多推荐</span></a>
|
||||
</div> -->
|
||||
</div>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<div class="post-tips">统计信息来自 <a href="https://invite.51.la/1NzKqTeb?target=V6" rel="noopener nofollow"
|
||||
target="_blank">51la网站统计</a></div>
|
||||
<div class="banner-button-group"><a class="banner-button" onclick="pjax.loadUrl('/archives')"
|
||||
data-pjax-state=""><i class="anzhiyufont anzhiyu-icon-arrow-circle-right"></i><span
|
||||
data-pjax-state=""><i class="haofont hao-icon-arrow-circle-right"></i><span
|
||||
class="banner-button-text">文章隧道</span></a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<!-- TODO 控制台功能 -->
|
||||
<div id="console" th:fragment="console">
|
||||
<div class="close-btn" onclick="heo.hideConsole()" href="javascript:void(0);">
|
||||
<i class="anzhiyufont anzhiyu-icon-circle-xmark"></i>
|
||||
<i class="haofont hao-icon-circle-xmark"></i>
|
||||
</div>
|
||||
<div class="console-card-group">
|
||||
<!-- 评论,需要使用评论插件,获取最近评论 -->
|
||||
|
@ -88,9 +88,9 @@
|
|||
</a>
|
||||
</div>
|
||||
<div class="console-btn-item" id="consoleHideAside" onclick="heo.hideAsideBtn()" title="边栏显示控制"><a
|
||||
class="asideSwitch" data-pjax-state=""><i class="anzhiyufont anzhiyu-icon-arrows-left-right"></i></a></div>
|
||||
class="asideSwitch" data-pjax-state=""><i class="haofont hao-icon-arrows-left-right"></i></a></div>
|
||||
<div class="console-btn-item on" id="consoleCommentBarrage" onclick="heo.switchCommentBarrage()" title="热评开关"><a
|
||||
class="commentBarrage" data-pjax-state=""><i class="anzhiyufont anzhiyu-icon-message"></i></a></div>
|
||||
class="commentBarrage" data-pjax-state=""><i class="haofont hao-icon-message"></i></a></div>
|
||||
|
||||
<!--<div class="console-btn-item" id="consoleKeyboard" onclick="heo.keyboardToggle()" title="快捷键开关"><a-->
|
||||
<!-- class="keyboard-switch"><i class="fa-duotone fa-keyboard"></i></a>-->
|
||||
|
@ -100,7 +100,7 @@
|
|||
<!--</div>-->
|
||||
<div th:if="${theme.config.tool.nav_music.nav_musicEnable}" class="console-btn-item" id="consoleMusic" onclick="heo.musicToggle()" title="音乐开关">
|
||||
<a class="music-switch" data-pjax-state="">
|
||||
<i class="anzhiyufont anzhiyu-icon-music"></i>
|
||||
<i class="haofont hao-icon-music"></i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -10,13 +10,13 @@
|
|||
<div class="nav-button only-home" id="travellings_button" th:if="${theme.config.nav.right.travelling}">
|
||||
<a class="site-page" th:href="@{${theme.config.nav.right.travellingUrl}}" target="_blank" rel="external nofollow"
|
||||
title="随机前往一个开往项目网站">
|
||||
<i class="anzhiyufont anzhiyu-icon-train" style="font-size: 1rem; font-weight: 700; "></i>
|
||||
<i class="haofont hao-icon-train" style="font-size: 1rem; font-weight: 700; "></i>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="nav-button only-home" th:if="${theme.config.nav.right.article}">
|
||||
<a class="site-page" href="javascript:void(0);" onclick="toRandomPost()" title="随机文章">
|
||||
<i class="anzhiyufont anzhiyu-icon-dice" style="font-size: 1rem; font-weight: 700;"></i>
|
||||
<i class="haofont hao-icon-dice" style="font-size: 1rem; font-weight: 700;"></i>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
|||
<div class="nav-button" id="search-button" th:if="${pluginFinder.available('PluginSearchWidget')}">
|
||||
<a class="site-page social-icon search" href="javascript:SearchWidget.open();" rel="external nofollow"
|
||||
title="站内搜索">
|
||||
<i class="anzhiyufont anzhiyu-icon-magnifying-glass" style="font-size: 1rem; font-weight: 700;"></i>
|
||||
<i class="haofont hao-icon-magnifying-glass" style="font-size: 1rem; font-weight: 700;"></i>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
@ -32,7 +32,7 @@
|
|||
<!-- <div class="nav-button" th:if="${theme.config.nav.enableChangeColorScheme}">
|
||||
<a class="console_switchbutton" href="javascript:void(0);" onclick="rm.switchDarkMode()" rel="external nofollow"
|
||||
title="切换模式 - 日夜交替,黑白互换。">
|
||||
<i class="anzhiyufont anzhiyu-icon-circle-half-stroke" style="font-size: 1rem; font-weight: 700;"></i>
|
||||
<i class="haofont hao-icon-circle-half-stroke" style="font-size: 1rem; font-weight: 700;"></i>
|
||||
</a>
|
||||
</div> -->
|
||||
|
||||
|
|
|
@ -100,10 +100,10 @@
|
|||
|
||||
<!-- 文章ai摘要 -->
|
||||
<div class="post-ai" th:if="${theme.config.post.aiDescription.aiDescriptionEnable}">
|
||||
<div class="ai-title"><i class="anzhiyufont anzhiyu-icon-bilibili"></i>
|
||||
<div class="ai-title"><i class="haofont hao-icon-bilibili"></i>
|
||||
<div class="ai-title-text">AI-摘要</div>
|
||||
<div th:if="${theme.config.post.aiDescription.switchBtn}" id="ai-Toggle">切换</div>
|
||||
<i class="anzhiyufont anzhiyu-icon-arrow-rotate-right"></i>
|
||||
<i class="haofont hao-icon-arrow-rotate-right"></i>
|
||||
|
||||
<div th:if="${#strings.equals(theme.config.post.aiDescription.mode, 'local')}" class="ai-tag" id="ai-tag">[[${theme.config.post.aiDescription.gptName}]] GPT</div>
|
||||
<div th:if="${#strings.equals(theme.config.post.aiDescription.mode, 'tianli')}" class="ai-tag" id="ai-tag">Tianli GPT</div>
|
||||
|
|
Loading…
Reference in New Issue