修复首次加载文章详情时会弹出打赏图片的问题

This commit is contained in:
j m 2024-04-23 14:02:18 +08:00
parent d02bbf84e1
commit 5e46269187
4 changed files with 5 additions and 4 deletions

View File

@ -28,6 +28,7 @@
margin-right: 10px;
&-list {
display: block !important;
position: absolute;
bottom: 40px;
right: 50%;

File diff suppressed because one or more lines are too long

View File

@ -5,7 +5,7 @@
<button th:if="${donate}" class="donate" type="button">
<i class="ri-bank-card-line"></i>
<span>打赏</span>
<div class="donate-list" th:if="${theme.config.post.post_donate_style == 'donate_style_poster'}">
<div class="donate-list" style="display: none;" th:if="${theme.config.post.post_donate_style == 'donate_style_poster'}">
<ol>
<li th:if="${!#strings.isEmpty(theme.config.post.donate_wechat)}"><img
th:src="${theme.config.post.donate_wechat}" alt="微信捐赠"></li>
@ -14,7 +14,7 @@
</ol>
</div>
<div class="donate-list" th:if="${theme.config.post.post_donate_style == 'donate_style_qr'}">
<div class="donate-list" style="display: none;" th:if="${theme.config.post.post_donate_style == 'donate_style_qr'}">
<ol>
<li th:if="${!#strings.isEmpty(theme.config.post.donate_wechat)}">
<div class="qr-code">

View File

@ -28,6 +28,6 @@ spec:
settingName: theme-dream2-plus-setting
configMapName: theme-dream2-plus-configMap
# 版本号
version: 1.1.0
version: 1.1.0.0001
# 最低支持的 Halo 版本
require: ">=2.12.0"