forked from itwanger/paicoding
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
137 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
forum-ui/src/main/resources/templates/views/article-detail/article/list.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<!-- 文章列表 --> | ||
<div th:each="article : ${vo.articles.list}"> | ||
<div th:replace="components/article/article-card :: article_card(${article})">正文</div> | ||
</div> |
4 changes: 4 additions & 0 deletions
4
forum-ui/src/main/resources/templates/views/article-search-list/article/list.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<!-- 文章列表 --> | ||
<div th:each="article : ${vo.articles.list}"> | ||
<div th:replace="components/article/article-card :: article_card(${article})">正文</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
forum-ui/src/main/resources/templates/views/article-tag-list/article/list.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<!-- 文章列表 --> | ||
<div th:each="article : ${vo.articles.list}"> | ||
<div th:replace="components/article/article-card :: article_card(${article})">正文</div> | ||
</div> |
68 changes: 35 additions & 33 deletions
68
forum-ui/src/main/resources/templates/views/article-tag-list/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,51 @@ | ||
<!DOCTYPE html> | ||
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org"> | ||
<div th:replace="components/layout/header :: head(~{::title}, ~{}, ~{})"> | ||
<div th:replace="components/layout/header :: head(~{::title}, ~{}, ~{})"> | ||
<title th:text="${global.siteInfo.websiteName}">技术派</title> | ||
</div> | ||
<style> | ||
</div> | ||
<style> | ||
.tag-wrap-out { | ||
height: calc(100vh - 60px); | ||
overflow-y: auto; | ||
height: calc(100vh - 60px); | ||
overflow-y: auto; | ||
} | ||
|
||
.tag-wrap { | ||
width: 1200px; | ||
margin: 0 auto; | ||
padding: 20px; | ||
width: 1200px; | ||
margin: 0 auto; | ||
padding: 20px; | ||
} | ||
|
||
.tag-list { | ||
padding: 20px; | ||
background-color: #fff; | ||
border-radius: 8px; | ||
padding: 20px; | ||
background-color: #fff; | ||
border-radius: 8px; | ||
} | ||
</style> | ||
</style> | ||
|
||
<body id="body"> | ||
<!-- 导航栏 --> | ||
<div th:replace="components/layout/navbar :: navbar"></div> | ||
<body id="body"> | ||
<!-- 导航栏 --> | ||
<div th:replace="components/layout/navbar :: navbar"></div> | ||
|
||
<!-- 正文内容 --> | ||
<div class="tag-wrap-out"> | ||
<div class="tag-wrap"> | ||
<!-- 正文内容 --> | ||
<div class="tag-wrap-out"> | ||
<div class="tag-wrap"> | ||
<!-- 文章列表 --> | ||
<div class="tag-list"> | ||
<div id="articleList"> | ||
<div th:replace="components/article/list">文章列表</div> | ||
</div> | ||
<div id="articleList"> | ||
<div th:replace="views/article-tag-list/article/list">文章列表</div> | ||
</div> | ||
</div> | ||
</div> | ||
<!-- 底部信息 --> | ||
<!-- <div th:replace="layout/footer :: footer"></div> --> | ||
</div> | ||
<script src="/js/biz/loadMore.js"></script> | ||
<script th:inline="javascript"> | ||
const archiveId = [[${ vo.archiveId }]] | ||
const params = { | ||
"page": 2 | ||
} | ||
loadMore(".tag-wrap-out", '/article/api/list/tag/' + archiveId, params, "articleList"); | ||
</script> | ||
</body> | ||
<!-- 底部信息 --> | ||
<!-- <div th:replace="layout/footer :: footer"></div> --> | ||
</div> | ||
<script src="/js/biz/loadMore.js"></script> | ||
<script th:inline="javascript"> | ||
const archiveId = [[${ vo.archiveId }]] | ||
const params = { | ||
"page": 2 | ||
} | ||
loadMore(".tag-wrap-out", '/article/api/list/tag/' + archiveId, params, "articleList"); | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters