图库-图片左上角标签加控制按钮
This commit is contained in:
parent
d1080007f7
commit
6e16f21be7
|
@ -1534,6 +1534,16 @@ spec:
|
||||||
name: detail
|
name: detail
|
||||||
label: 描述
|
label: 描述
|
||||||
value: 每一张照片都是一次美好的记忆。
|
value: 每一张照片都是一次美好的记忆。
|
||||||
|
- $formkit: radio
|
||||||
|
name: tagEnable
|
||||||
|
label: 图片标签
|
||||||
|
value: false
|
||||||
|
help: 图片左上角标签
|
||||||
|
options:
|
||||||
|
- label: 显示
|
||||||
|
value: true
|
||||||
|
- label: 隐藏
|
||||||
|
value: false
|
||||||
|
|
||||||
- group: todo
|
- group: todo
|
||||||
label: 待办清单
|
label: 待办清单
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
<div class="recent-post-item"
|
<div class="recent-post-item"
|
||||||
th:each="cuscomPost : ${theme.config.top.BannerRight.recommendPostCustom}"
|
th:each="cuscomPost : ${theme.config.top.BannerRight.recommendPostCustom}"
|
||||||
th:if="${#strings.equals(theme.config.top.BannerRight.recommendPost, 'custom')}">
|
th:if="${#strings.equals(theme.config.top.BannerRight.recommendPost, 'custom')}">
|
||||||
<th:block th:with="post = ${postFinder.getByName(cuscomPost.post)}">
|
<th:block th:if="${not #strings.isEmpty(cuscomPost.post)}" th:with="post = ${postFinder.getByName(cuscomPost.post)}">
|
||||||
<div class="post_cover">
|
<div class="post_cover">
|
||||||
<a th:href="@{${post.status.permalink}}" th:title="${post.spec.title}">
|
<a th:href="@{${post.status.permalink}}" th:title="${post.spec.title}">
|
||||||
<span class="recent-post-top-text"
|
<span class="recent-post-top-text"
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
<div class="gallery">
|
<div class="gallery">
|
||||||
<div class="fj-gallery-item"
|
<div class="fj-gallery-item"
|
||||||
th:each="photo : ${photoFinder.listBy(param.photo_group_name)}">
|
th:each="photo : ${photoFinder.listBy(param.photo_group_name)}">
|
||||||
<div class="tag-address">[[${photo.spec.displayName}]]</div>
|
<div th:if="${theme.config.photos.tagEnable}" class="tag-address">[[${photo.spec.displayName}]]</div>
|
||||||
<img th:src="${photo.spec.url}" th:alt="${photo.spec.description}"
|
<img th:src="${photo.spec.url}" th:alt="${photo.spec.description}"
|
||||||
th:title="${photo.spec.description}">
|
th:title="${photo.spec.description}">
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@
|
||||||
<div class="gallery">
|
<div class="gallery">
|
||||||
<div class="fj-gallery-item"
|
<div class="fj-gallery-item"
|
||||||
th:each="photo : ${photoFinder.listBy(param.photo_group_name)}">
|
th:each="photo : ${photoFinder.listBy(param.photo_group_name)}">
|
||||||
<div class="tag-address">[[${photo.spec.displayName}]]</div>
|
<div th:if="${theme.config.photos.tagEnable}" class="tag-address">[[${photo.spec.displayName}]]</div>
|
||||||
<img th:src="${photo.spec.url}" th:alt="${photo.spec.description}"
|
<img th:src="${photo.spec.url}" th:alt="${photo.spec.description}"
|
||||||
th:title="${photo.spec.description}">
|
th:title="${photo.spec.description}">
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue