更新央视

This commit is contained in:
LingZhaoHui 2022-02-06 00:17:31 +08:00
parent aa733e99cb
commit 5dd8f434a1
3 changed files with 30 additions and 12 deletions

View File

@ -56,16 +56,16 @@
href="/category/${article.categoryURI}">${article.articleCategory}</a></h1> href="/category/${article.categoryURI}">${article.articleCategory}</a></h1>
</#if> </#if>
</div> </div>
<h2 class="blog-slider__title "><a class="title is-5" <h2 class="blog-slider__title "><a class="title is-6"
href="${article.articlePermalink}">${article.articleTitle!}</a> href="${article.articlePermalink}">${article.articleTitle!}</a>
</h2> </h2>
<div class="blog-slider__text" content=""> <div class="blog-slider__text is-size-6" content="" >
<#if article.articleAbstractText!?length gt 40> <#if article.articleAbstractText!?length gt 48>
${article.articleAbstractText!?substring(0, 40)} ......<#else> ${article.articleAbstractText!?substring(0, 48)} <#else>
${article.articleAbstractText!}</#if> ${article.articleAbstractText!}</#if>
</div> </div>
<a href="${article.articlePermalink}" <a href="${article.articlePermalink}"
class="blog-slider__button">阅读更多</a> class="button is-size-7 is-light">阅读更多</a>
</div> </div>
</div> </div>
</div> </div>
@ -76,7 +76,7 @@
<div class="card"> <div class="card">
<div class="card-image"> <div class="card-image">
<a href="${article.articlePermalink}"> <a href="${article.articlePermalink}">
<img class="thumbnail" src="${adminUser.userAvatar!}" height="250" width="150" <img class="thumbnail" src="${adminUser.userAvatar!}" height="200" width="100"
data-src="${article.articleImg1URL}" alt="${article.articleTitle!}" data-src="${article.articleImg1URL}" alt="${article.articleTitle!}"
referrerpolicy="origin"> referrerpolicy="origin">
</a> </a>
@ -107,11 +107,11 @@
href="${article.articlePermalink}">${article.articleTitle!}</a> href="${article.articlePermalink}">${article.articleTitle!}</a>
</h2> </h2>
<div id="is-hidden-touch" class="content is-hidden-touch"> <div id="is-hidden-touch" class="content is-hidden-touch is-size-6">
<#if article.articleAbstractText!?length gt 128> <#if article.articleAbstractText!?length gt 128>
${article.articleAbstractText!?substring(0, 128)} ......<#else> ${article.articleAbstractText!?substring(0, 110)} <#else>
${article.articleAbstractText!}</#if> ${article.articleAbstractText!}</#if>
<#-- ${article.articleAbstractText!?substring(0, 128)} ...... --> <#-- ${article.articleAbstractText!?substring(0, 110)} ...... -->
</div> </div>
<div class="level is-mobile"> <div class="level is-mobile">
@ -166,3 +166,11 @@
</nav> </nav>
</div> </div>
</div> </div>
<style type="text/css">
.blog-slider__img {
margin-left: 20px;
width: 240px;
height: 150px;
}
</style>

View File

@ -48,7 +48,11 @@
<script src='https://www.zeekling.cn/cdn/js/swiper.min.js'></script> <script src='https://www.zeekling.cn/cdn/js/swiper.min.js'></script>
</@head> </@head>
<style type="text/css"> <style type="text/css">
.columns {
margin-left: 3.25rem;
margin-right: -0.75rem;
margin-top: -0.75rem;
}
</style> </style>
<#-- <#include "style.theme.ftl"> --> <#-- <#include "style.theme.ftl"> -->
</head> </head>
@ -101,8 +105,7 @@
height: 25px !important; height: 25px !important;
} }
</style> </style>
<div id="post-article" class="content post-article" <div id="post-article" class="content post-article" >
data-img="${article.articleImg1URL}">
${article.articleContent} ${article.articleContent}
</div> </div>
<div class="level is-size-7 is-uppercase"> <div class="level is-size-7 is-uppercase">

View File

@ -17,6 +17,13 @@
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
--> -->
<style type="text/css">
.container {
max-width: 1280px;
}
</style>
<footer class="footer"> <footer class="footer">
<div class="container"> <div class="container">
<div class="level footer_main"> <div class="level footer_main">