修复失效图标

This commit is contained in:
1152958806@qq.com 2023-08-23 01:46:16 +08:00
parent 5773af0f74
commit 618769478e
5 changed files with 11 additions and 6 deletions

View File

@ -4752,6 +4752,7 @@ blockquote.pullquote.right {
.note.success:not(.no-icon)::before { .note.success:not(.no-icon)::before {
content: "\e66c"; content: "\e66c";
font-family: haofont!important;
} }
.note.success:not(.no-icon):not(.modern)::before { .note.success:not(.no-icon):not(.modern)::before {
@ -4790,6 +4791,7 @@ blockquote.pullquote.right {
.note.warning:not(.no-icon)::before { .note.warning:not(.no-icon)::before {
content: "\e61a"; content: "\e61a";
font-family: haofont!important;
} }
.note.warning:not(.no-icon):not(.modern)::before { .note.warning:not(.no-icon):not(.modern)::before {

View File

@ -49,7 +49,7 @@
<a class="bber-reply" <a class="bber-reply"
th:onclick="rightMenuCommentText([['&quot;'+${equipment.name}+' '+${equipment.model}+' '+${equipment.description}+'&quot;']]);" th:onclick="rightMenuCommentText([['&quot;'+${equipment.name}+' '+${equipment.model}+' '+${equipment.description}+'&quot;']]);"
data-pjax-state=""> data-pjax-state="">
<i class="fa-solid fa-message" style="font-size: 18px;"></i> <i class="haofont hao-icon-message" style="font-size: 18px;"></i>
</a> </a>
</div> </div>
</div> </div>

View File

@ -3,10 +3,10 @@
<!-- 动态标题 --> <!-- 动态标题 -->
<script th:fragment="diytitle" <script th:fragment="diytitle"
th:if="${theme.config.other.diytitle.diytitleEnable}"> th:if="${theme.config.other.diytitle.diytitleEnable}">
let leaveTitle = '[[${theme.config.other.diytitle.leaveTitle}]]'; var leaveTitle = '[[${theme.config.other.diytitle.leaveTitle}]]';
let backTitle = '[[${theme.config.other.diytitle.backTitle}]]'; var backTitle = '[[${theme.config.other.diytitle.backTitle}]]';
let OriginTitile = "[(${title})]" var OriginTitile = "[(${title})]"
let titleTime var titleTime
document.addEventListener('visibilitychange', function () { document.addEventListener('visibilitychange', function () {
if (document.hidden) { if (document.hidden) {
//离开当前页面时标签显示内容 //离开当前页面时标签显示内容

View File

@ -180,6 +180,9 @@
<!-- icon图标 --> <!-- icon图标 -->
<link rel="stylesheet" th:href="'https://cdn.cbd.int/hao-theme-static@1.3.2/icon/iconfont.css'"> <link rel="stylesheet" th:href="'https://cdn.cbd.int/hao-theme-static@1.3.2/icon/iconfont.css'">
<link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/6.2.0/css/all.min.css" media="all" onload="this.media='all'">
<!-- 声明一些公共信息 --> <!-- 声明一些公共信息 -->
<script id="site-config" th:inline="javascript"> <script id="site-config" th:inline="javascript">
var GLOBAL_CONFIG = { var GLOBAL_CONFIG = {

View File

@ -53,7 +53,7 @@
</div> </div>
<a class="bber-reply" <a class="bber-reply"
th:onclick="rightMenuCommentText([[${content.html}]]);" th:onclick="rightMenuCommentText([[${content.html}]]);"
data-pjax-state=""> <i class="fa-solid fa-message"></i> data-pjax-state=""> <i class="haofont hao-icon-message"></i>
</a> </a>
</div> </div>
</li> </li>