修改皮肤bolo-fantastic最新评论

This commit is contained in:
LingZhaoHui 2020-08-31 23:02:49 +08:00
parent 93460f889c
commit cb5548d849
3 changed files with 66 additions and 22 deletions

View File

@ -144,6 +144,18 @@ function search(){
}
window.open("https://www.zeekling.cn/search?keyword=" + s);
}
function search_m(){
var s = $("#search-m").val();
if (s == ""){
layer.open({
title:"${blogTitle!}友情提示",
content:"搜索关键词不能为空!",
anim:4
});
return;
}
window.open("https://www.zeekling.cn/search?keyword=" + s);
}
</script>
<#include "../../common-template/label.ftl">

View File

@ -69,3 +69,20 @@
</div>
</div>
<div class="card widget">
<div class="card-content">
<div class="menu">
<h3 class="menu-label">${tagLabel}</h3>
<div class="field is-grouped is-grouped-multiline">
<#list mostUsedTags as tag>
<div class="control">
<a class="tags has-addons" href="${servePath}/tags/${tag.tagTitle?url('UTF-8')}">
<span class="tag">${tag.tagTitle}</span>
<span class="tag is-grey">${tag.tagPublishedRefCount!}</span>
</a>
</div>
</#list>
</div>
</div>
</div>
</div>

View File

@ -143,25 +143,6 @@ box-shadow: 0 1px 2px 0 rgba(0,0,0,0.1);">
</ul>
</div>
</div>
</div>
<div class="card widget">
<div class="card-content">
<div class="menu">
<h3 class="menu-label">
${tagLabel}
</h3>
<div class="field is-grouped is-grouped-multiline">
<#list mostUsedTags as tag>
<div class="control">
<a class="tags has-addons" href="${servePath}/tags/${tag.tagTitle?url('UTF-8')}">
<span class="tag">${tag.tagTitle}</span>
<span class="tag is-grey">${tag.tagPublishedRefCount!}</span>
</a>
</div>
</#list>
</div>
</div>
</div>
</div>
<div class="card widget">
<div class="card-content">
@ -171,15 +152,21 @@ box-shadow: 0 1px 2px 0 rgba(0,0,0,0.1);">
<#list recentComments as comment>
<article class="media">
<a href="${servePath}${comment.commentSharpURL}" class="media-left">
<p class="image is-64x64">
<img class="thumbnail" src="${adminUser.userAvatar!}" data-src="${comment.commentThumbnailURL}"
<p class="image is-48x48">
<img class="thumbnail" src="${adminUser.userAvatar!}"
data-src="${comment.commentThumbnailURL}"
alt="${comment.commentName}">
</p>
</a>
<div class="media-content">
<div class="content">
<div style="padding-top: 10px;">
<div class="has-text-grey is-size-7 is-uppercase">${comment.commentName}</div>
<div class="has-text-grey is-size-7 is-uppercase">
<a href="${comment.commentURL}" rel="nofollow" target="_black">
${comment.commentName}</a>
评论于
${comment.commentDate2?string("yyyy-MM-dd")}
</div>
</div>
<a href="${servePath}${comment.commentSharpURL}"
class="title has-link-black-ter is-size-6
@ -203,6 +190,15 @@ box-shadow: 0 1px 2px 0 rgba(0,0,0,0.1);">
</div>
</div>
</div>
<div class="card widget">
<div class="card-content" style="width:100%">
<div class="menu">
&nbsp;<input type="text" required="required" value="" name="s" id="search-m"
onkeydown="enterSearch(event)">&nbsp;
<input type="submit" id="searchsubmit" class="button" value="搜索" onclick="search_m()">
</div>
</div>
</div>
<div class="card widget">
<div class="card-content">
<h3 class="menu-label">
@ -235,6 +231,25 @@ box-shadow: 0 1px 2px 0 rgba(0,0,0,0.1);">
</div>
</div>
<div class="card widget">
<div class="card-content">
<div class="menu">
<h3 class="menu-label">
${tagLabel}
</h3>
<div class="field is-grouped is-grouped-multiline">
<#list mostUsedTags as tag>
<div class="control">
<a class="tags has-addons" href="${servePath}/tags/${tag.tagTitle?url('UTF-8')}">
<span class="tag">${tag.tagTitle}</span>
<span class="tag is-grey">${tag.tagPublishedRefCount!}</span>
</a>
</div>
</#list>
</div>
</div>
</div>
</div>
</div>