进行了一些小修复
This commit is contained in:
@@ -147,8 +147,7 @@
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.featured-edit .featured-video-placeholder,
|
||||
.featured-edit .featured-empty {
|
||||
.featured-edit .featured-video-placeholder {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
@@ -443,8 +443,6 @@
|
||||
? '<img src="' + d.pic + '" alt="">'
|
||||
: '<div class="featured-video-placeholder"><i class="fa fas fa-play"></i></div>') +
|
||||
'<span class="featured-type-badge"><i class="fa fas fa-video"></i></span>';
|
||||
} else {
|
||||
html = '<div class="featured-empty"><i class="fa fas fa-image"></i><span>设置文章封面</span></div>';
|
||||
}
|
||||
preview.innerHTML = html;
|
||||
var clearBtn = qs('[data-featured-action="close"]');
|
||||
|
||||
@@ -39,11 +39,6 @@ $can_video = !empty($ctx['can_cover_video']);
|
||||
<div class="featured-video-placeholder"><i class="fa fas fa-play"></i></div>
|
||||
<?php endif; ?>
|
||||
<span class="featured-type-badge"><i class="fa fas fa-video"></i></span>
|
||||
<?php else : ?>
|
||||
<div class="featured-empty">
|
||||
<i class="fa fas fa-image"></i>
|
||||
<span><?php esc_html_e('设置文章封面', 'aksrt'); ?></span>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="btns-full flex ac jc">
|
||||
|
||||
Reference in New Issue
Block a user