fix(user-center): make rebate details full width

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-06 13:03:30 +08:00
co-authored by Claude Fable 5
parent 6897ddca4b
commit 7bb429bcb9
2 changed files with 5 additions and 5 deletions
@@ -146,11 +146,7 @@ $status_labels = [
<div><dt>VIP 2</dt><dd><?php echo esc_html((string) ($vip_ratios['vip2'] ?? 0)); ?>%</dd></div>
</dl>
</section>
<section class="uc-reward-block" aria-labelledby="uc-total-title">
<div class="uc-reward-block__heading"><h4 id="uc-total-title"><?php esc_html_e('累计佣金', 'aksrt'); ?></h4><p><?php esc_html_e('按已创建的返佣记录汇总。', 'aksrt'); ?></p></div>
<div class="uc-total-commission"><strong><?php echo esc_html($format_amount($commission_stats['total_amount'] ?? 0)); ?></strong><span><?php printf(esc_html__('%d 笔佣金记录', 'aksrt'), (int) ($commission_stats['total'] ?? 0)); ?></span></div>
</section>
<section class="uc-reward-block" aria-labelledby="uc-details-title">
<section class="uc-reward-block uc-reward-block--details" aria-labelledby="uc-details-title">
<div class="uc-reward-block__heading"><h4 id="uc-details-title"><?php esc_html_e('返佣详解', 'aksrt'); ?></h4></div>
<div class="uc-reward-richtext"><?php echo wp_kses_post(wpautop($details_text)); ?></div>
</section>