Merge pull request 'fix(user-center): make rebate details full width' (#393) from fix-revenue-center into main
Reviewed-on: CYL/wordpress-theme-aksrt#393
This commit is contained in:
commit
99f5c5e834
2 files changed
+5
-5
No files matched your search
@@ -301,6 +301,10 @@
|
|||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.uc-reward-block--details {
|
||||||
|
grid-column: 1 / -1;
|
||||||
|
}
|
||||||
|
|
||||||
.uc-reward-richtext {
|
.uc-reward-richtext {
|
||||||
color: var(--color-ink-3);
|
color: var(--color-ink-3);
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
|
|||||||
@@ -146,11 +146,7 @@ $status_labels = [
|
|||||||
<div><dt>VIP 2</dt><dd><?php echo esc_html((string) ($vip_ratios['vip2'] ?? 0)); ?>%</dd></div>
|
<div><dt>VIP 2</dt><dd><?php echo esc_html((string) ($vip_ratios['vip2'] ?? 0)); ?>%</dd></div>
|
||||||
</dl>
|
</dl>
|
||||||
</section>
|
</section>
|
||||||
<section class="uc-reward-block" aria-labelledby="uc-total-title">
|
<section class="uc-reward-block uc-reward-block--details" aria-labelledby="uc-details-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">
|
|
||||||
<div class="uc-reward-block__heading"><h4 id="uc-details-title"><?php esc_html_e('返佣详解', 'aksrt'); ?></h4></div>
|
<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>
|
<div class="uc-reward-richtext"><?php echo wp_kses_post(wpautop($details_text)); ?></div>
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
Reference in new issue
Block a user