feat(submit): fold slide cover into multi-select image picker
Match the featured cover buttons row to the reference theme: drop the dedicated slide button, let the icon-only image picker select multiple images into a slide cover (single pick stays an image cover), and align the loaded-state visibility matrix.
This commit is contained in:
@@ -41,9 +41,11 @@ $can_video = !empty($ctx['can_cover_video']);
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="btns-full flex ac jc">
|
||||
<?php if ($can_image) : ?>
|
||||
<button type="button" class="but btn-image" data-featured-action="image">
|
||||
<i class="fa fas fa-image"></i> <?php esc_html_e('图片', 'aksrt'); ?>
|
||||
<?php if ($can_image || $can_slide) : ?>
|
||||
<button type="button" class="but btn-image" data-featured-action="image"
|
||||
title="<?php esc_attr_e('图片', 'aksrt'); ?>"
|
||||
aria-label="<?php esc_attr_e('图片', 'aksrt'); ?>">
|
||||
<i class="fa fas fa-image"></i>
|
||||
</button>
|
||||
<?php endif; ?>
|
||||
<?php if ($can_video) : ?>
|
||||
@@ -53,11 +55,6 @@ $can_video = !empty($ctx['can_cover_video']);
|
||||
<i class="fa fas fa-image"></i>
|
||||
</button>
|
||||
<?php endif; ?>
|
||||
<?php if ($can_slide) : ?>
|
||||
<button type="button" class="but btn-slide" data-featured-action="slide">
|
||||
<i class="fa fas fa-image"></i> <?php esc_html_e('幻灯片', 'aksrt'); ?>
|
||||
</button>
|
||||
<?php endif; ?>
|
||||
<?php if ($can_video) : ?>
|
||||
<button type="button" class="but btn-video" data-featured-action="video"
|
||||
title="<?php esc_attr_e('视频', 'aksrt'); ?>"
|
||||
|
||||
Reference in New Issue
Block a user