图库页面添加分页

This commit is contained in:
1152958806@qq.com 2023-10-18 22:56:34 +08:00
parent 9d735b1831
commit 74387d0eb3
2 changed files with 14 additions and 4 deletions

View File

@ -72,6 +72,11 @@
<script type="text/javascript" th:src="${assets_link + '/libs/moments/bundle.js'}"></script>
<style>
/*修复友链朋友圈管理面板显示太大导致无法关闭的bug*/
.cf-manage-pannel[data-v-34921c7c] {
width: 80% !important;
height: 80% !important;
}
.cf-article-author:hover {
color: var(--heo-card-bg)!important
}

View File

@ -77,6 +77,10 @@
</div>
</section>
</div>
<!-- 分页 -->
<th:block th:with="param_group = ${not #strings.isEmpty(param.group) ? '?group='+param.group : ''}">
<div th:replace="~{modules/widgets/page :: page('/photos',${photos},false,${param_group})}"></div>
</th:block>
</th:block>
<div class="gallery-groups" th:if="${#strings.equals(theme.config.photos.photosStyle, 'one')}">
@ -103,11 +107,12 @@
</div>
</section>
</div>
<!-- 分页 -->
<th:block th:with="param_group = ${not #strings.isEmpty(param.group) ? '?group='+param.group : ''}">
<div th:replace="~{modules/widgets/page :: page('/photos',${photos},false,${param_group})}"></div>
</th:block>
</div>
<!-- 分页 -->
<th:block th:with="param_group = ${not #strings.isEmpty(param.group) ? '?group='+param.group : ''}">
<div th:replace="~{modules/widgets/page :: page('/photos',${photos},false,${param_group})}"></div>
</th:block>
<style>
.gallery-groups {
box-shadow: var(--heo-shadow-border);