parent
65bd9ae324
commit
f3fc01ef54
|
@ -8803,10 +8803,8 @@ a.categoryButton:hover {
|
|||
/* 主页哔哔bb */
|
||||
#bber-talk {
|
||||
width: 100%;
|
||||
/* height: 25px; */
|
||||
/* line-height: 25px; */
|
||||
height: 31px;
|
||||
line-height: 0px;
|
||||
height: 25px;
|
||||
line-height: 25px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
|
|
@ -1,12 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" xmlns:th="http://www.thymeleaf.org">
|
||||
<div class="bbTimeList container" id="bbTimeList" th:fragment="moment" th:if="${theme.config.top.moment}">
|
||||
|
||||
<div class="bbTimeList container" id="bbTimeList" th:fragment="moment" th:if="not ${momentFinder}">
|
||||
<!-- 未安装插件 -->
|
||||
<i class="iconfont icon-logo-moment" onclick="" style="font-size: 1.3rem;" title="瞬间"></i>
|
||||
<div class="swiper-container swiper-no-swiping" id="bbtalk" tabindex="-1">
|
||||
<div class="swiper-wrapper" id="bber-talk" onclick="location.href=location.href='https\:\/\/github.com/halo-sigs/plugin-moments'">
|
||||
<div class="li-style swiper-slide">这里需要安装瞬间的插件</div>
|
||||
<div class="li-style swiper-slide">去安装吧!</div>
|
||||
</div>
|
||||
</div>
|
||||
<i class="bber-gotobb fas fa-arrow-circle-right" onclick="location.href=location.href='https\:\/\/github.com/halo-sigs/plugin-moments'" title="下载插件"></i>
|
||||
</div>
|
||||
|
||||
<div class="bbTimeList container" id="bbTimeList" th:fragment="moment" th:if="${theme.config.top.moment} and ${momentFinder}">
|
||||
<!-- 瞬间插件 -->
|
||||
<i class="iconfont icon-logo-moment" onclick="" style="font-size: 1.3rem;" title="瞬间"></i>
|
||||
<div class="swiper-container swiper-no-swiping" id="bbtalk" tabindex="-1">
|
||||
<div class="swiper-wrapper" id="bber-talk" onclick="location.href='/moments'">
|
||||
<div class="swiper-wrapper" id="bber-talk" onclick="location.href='/moments'" th:if="${momentFinder}">
|
||||
<th:block th:each="moment : ${momentFinder.listAll()}" th:with="content=${moment.spec.content}">
|
||||
<div class="li-style swiper-slide" th:if="${not #strings.isEmpty(content.html)}" th:utext="${content.html}"></div>
|
||||
<div class="li-style swiper-slide" th:if="${not #strings.isEmpty(content.raw)}" th:text="${#strings.substringBefore(#strings.substringAfter(content.raw,'<p>'),'</p>')}"></div>
|
||||
</th:block>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue