Align forum shop and user page shells

This commit is contained in:
kate522 committed 2026-07-06 11:49:31 +08:00
1 parent 4043de2473
commit 1284ebc63e
14 files changed
+348 -44

No files matched your search

+7 -2
View File
@@ -49,7 +49,7 @@ $author = $author_id > 0 ? get_userdata($author_id) : null;
>
<div class="aksrt-product-page__layout">
<!-- Gallery -->
<section class="aksrt-product-page__gallery">
<section class="aksrt-product-page__gallery aksrt-product-page__panel">
<?php if (!empty($product['image'])) : ?>
<div class="aksrt-product-page__primary-image" data-aksrt-main-image>
<img src="<?php echo esc_url((string) $product['image']); ?>" alt="<?php echo esc_attr((string) ($product['title'] ?? '')); ?>" id="product-main-img">
@@ -81,7 +81,7 @@ $author = $author_id > 0 ? get_userdata($author_id) : null;
</section>
<!-- Summary -->
<section class="aksrt-product-page__summary">
<section class="aksrt-product-page__summary aksrt-product-page__panel">
<div class="aksrt-product-page__badges">
<?php if ($pay_modo === 'points') : ?>
<span class="aksrt-product-page__badge aksrt-product-page__badge--points"><?php esc_html_e('积分商品', 'aksrt'); ?></span>
@@ -119,6 +119,11 @@ $author = $author_id > 0 ? get_userdata($author_id) : null;
<p class="aksrt-product-page__excerpt"><?php echo esc_html((string) $product['excerpt']); ?></p>
<?php endif; ?>
<div class="aksrt-product-page__service-strip">
<span><i class="fas fa-shield-alt"></i> <?php esc_html_e('主站统一交易保障', 'aksrt'); ?></span>
<span><i class="fas fa-box-open"></i> <?php esc_html_e('与内容主线共用卡片与购买节奏', 'aksrt'); ?></span>
</div>
<!-- Product options selector -->
<?php if ($has_options) : ?>
<div class="aksrt-product-page__options" data-aksrt-options-selector>