进行了一些小修复
This commit is contained in:
1 parent
2cb78edabb
commit
b80ac46147
3 files changed
+1
-9
No files matched your search
@@ -147,8 +147,7 @@
|
|||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
|
|
||||||
.featured-edit .featured-video-placeholder,
|
.featured-edit .featured-video-placeholder {
|
||||||
.featured-edit .featured-empty {
|
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|||||||
@@ -443,8 +443,6 @@
|
|||||||
? '<img src="' + d.pic + '" alt="">'
|
? '<img src="' + d.pic + '" alt="">'
|
||||||
: '<div class="featured-video-placeholder"><i class="fa fas fa-play"></i></div>') +
|
: '<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>';
|
'<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;
|
preview.innerHTML = html;
|
||||||
var clearBtn = qs('[data-featured-action="close"]');
|
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>
|
<div class="featured-video-placeholder"><i class="fa fas fa-play"></i></div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<span class="featured-type-badge"><i class="fa fas fa-video"></i></span>
|
<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; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="btns-full flex ac jc">
|
<div class="btns-full flex ac jc">
|
||||||
|
|||||||
Reference in new issue
Block a user