页面卡片顶部气泡升起效果优化

This commit is contained in:
1152958806@qq.com 2023-07-22 17:10:20 +08:00
parent 52bf70fedd
commit ced724e366
3 changed files with 18 additions and 5 deletions

View File

@ -2183,9 +2183,9 @@ spec:
key: loadingBoxEnable key: loadingBoxEnable
value: true value: true
options: options:
- label: 打开 - label: 启用
value: true value: true
- label: 关闭 - label: 禁用
value: false value: false
- $formkit: attachment - $formkit: attachment
name: loadingBoxImg name: loadingBoxImg
@ -2198,9 +2198,9 @@ spec:
label: 加载进度条 label: 加载进度条
value: true value: true
options: options:
- label: - label:
value: true value: true
- label: 关闭 - label: 禁用
value: false value: false
- $formkit: group - $formkit: group
name: error_404 name: error_404
@ -2217,3 +2217,13 @@ spec:
name: background name: background
label: 背景 label: 背景
value: /themes/theme-hao/assets/images/404s.gif value: /themes/theme-hao/assets/images/404s.gif
- $formkit: radio
name: bubbleEnable
label: 页面卡片顶部气泡升起效果
help: 已有页面(友链鱼塘,瞬间)
value: false
options:
- label: 启用
value: true
- label: 禁用
value: false

View File

@ -82,6 +82,8 @@
</main> </main>
<!-- 底部 --> <!-- 底部 -->
<footer th:replace="~{modules/footer :: footer}"></footer> <footer th:replace="~{modules/footer :: footer}"></footer>
<!-- 卡片顶部气泡效果 -->
<script th:if="${theme.config.other.bubbleEnable}" async data-pjax th:src="${assets_link + '/libs/canvas/bubble.js'}"></script>
</div> </div>
</th:block> </th:block>

View File

@ -84,7 +84,8 @@
</main> </main>
<!-- 底部 --> <!-- 底部 -->
<footer th:replace="~{modules/footer :: footer}"></footer> <footer th:replace="~{modules/footer :: footer}"></footer>
<script async data-pjax th:src="${assets_link + '/libs/canvas/bubble.js'}"></script> <!-- 卡片顶部气泡效果 -->
<script th:if="${theme.config.other.bubbleEnable}" async data-pjax th:src="${assets_link + '/libs/canvas/bubble.js'}"></script>
</div> </div>
</th:block> </th:block>