[CMS-VISUAL] D-8 补提交: 三保留主题 home.html 挂载骨架共享动效脚本(animation=off 可关)
build / build-push (push) Successful in 1m0s
build / build-push (push) Successful in 1m0s
This commit is contained in:
@@ -31,6 +31,8 @@
|
|||||||
<th:block th:if="${layoutBlocks != null}">
|
<th:block th:if="${layoutBlocks != null}">
|
||||||
<th:block th:replace="~{'themes/common/fragments/home-blocks' :: style}" />
|
<th:block th:replace="~{'themes/common/fragments/home-blocks' :: style}" />
|
||||||
<th:block th:replace="~{'themes/common/fragments/home-blocks' :: previewScript}" />
|
<th:block th:replace="~{'themes/common/fragments/home-blocks' :: previewScript}" />
|
||||||
|
<!-- D-8(docs/20):骨架共享入场动效 + count-up;主题参数 animation=off 关闭 -->
|
||||||
|
<th:block th:if="${themeParams == null or themeParams['animation'] != 'off'}" th:replace="~{'themes/common/fragments/home-blocks' :: motionScript}" />
|
||||||
<th:block th:each="block : ${layoutBlocks}">
|
<th:block th:each="block : ${layoutBlocks}">
|
||||||
<div class="plb-anchor" th:attr="data-plb-id=${block['id']}" style="display:contents">
|
<div class="plb-anchor" th:attr="data-plb-id=${block['id']}" style="display:contents">
|
||||||
<th:block th:switch="${block.type}">
|
<th:block th:switch="${block.type}">
|
||||||
|
|||||||
@@ -27,6 +27,8 @@
|
|||||||
<th:block th:if="${layoutBlocks != null}">
|
<th:block th:if="${layoutBlocks != null}">
|
||||||
<th:block th:replace="~{'themes/common/fragments/home-blocks' :: style}" />
|
<th:block th:replace="~{'themes/common/fragments/home-blocks' :: style}" />
|
||||||
<th:block th:replace="~{'themes/common/fragments/home-blocks' :: previewScript}" />
|
<th:block th:replace="~{'themes/common/fragments/home-blocks' :: previewScript}" />
|
||||||
|
<!-- D-8(docs/20):骨架共享入场动效 + count-up;主题参数 animation=off 关闭 -->
|
||||||
|
<th:block th:if="${themeParams == null or themeParams['animation'] != 'off'}" th:replace="~{'themes/common/fragments/home-blocks' :: motionScript}" />
|
||||||
<!-- F2:data-plb-id 锚点(display:contents)供编辑器实时预览 postMessage 重排 -->
|
<!-- F2:data-plb-id 锚点(display:contents)供编辑器实时预览 postMessage 重排 -->
|
||||||
<th:block th:each="block : ${layoutBlocks}">
|
<th:block th:each="block : ${layoutBlocks}">
|
||||||
<div class="plb-anchor" th:attr="data-plb-id=${block['id']}" style="display:contents">
|
<div class="plb-anchor" th:attr="data-plb-id=${block['id']}" style="display:contents">
|
||||||
|
|||||||
@@ -31,6 +31,8 @@
|
|||||||
<th:block th:if="${layoutBlocks != null}">
|
<th:block th:if="${layoutBlocks != null}">
|
||||||
<th:block th:replace="~{'themes/common/fragments/home-blocks' :: style}" />
|
<th:block th:replace="~{'themes/common/fragments/home-blocks' :: style}" />
|
||||||
<th:block th:replace="~{'themes/common/fragments/home-blocks' :: previewScript}" />
|
<th:block th:replace="~{'themes/common/fragments/home-blocks' :: previewScript}" />
|
||||||
|
<!-- D-8(docs/20):骨架共享入场动效 + count-up;主题参数 animation=off 关闭 -->
|
||||||
|
<th:block th:if="${themeParams == null or themeParams['animation'] != 'off'}" th:replace="~{'themes/common/fragments/home-blocks' :: motionScript}" />
|
||||||
<th:block th:each="block : ${layoutBlocks}">
|
<th:block th:each="block : ${layoutBlocks}">
|
||||||
<div class="plb-anchor" th:attr="data-plb-id=${block['id']}" style="display:contents">
|
<div class="plb-anchor" th:attr="data-plb-id=${block['id']}" style="display:contents">
|
||||||
<th:block th:switch="${block.type}">
|
<th:block th:switch="${block.type}">
|
||||||
|
|||||||
Reference in New Issue
Block a user