fix(credits): align asset actions and withdrawal settings

Use matching outlined controls on the points card and manage the
balance-withdrawal switch exclusively from the withdrawal settings page.
This commit is contained in:
2026-08-13 15:35:01 +08:00
parent 1247f9bf4e
commit 179d577d28
4 changed files with 14 additions and 23 deletions
@@ -50,7 +50,7 @@ $currency = (string) ($currency_name ?? __('积分', 'aksrt'));
<button type="button" class="but c-green mr6 hollow" data-aksrt-transfer-open="points" data-aksrt-transfer-min="<?php echo esc_attr((string) $points_transfer_min); ?>"><?php esc_html_e('转账', 'aksrt'); ?></button>
<?php endif; ?>
<?php if ($points_exchange_on) : ?>
<button type="button" class="but c-green" data-aksrt-points-exchange-open><?php esc_html_e('购买积分', 'aksrt'); ?></button>
<button type="button" class="but c-green hollow" data-aksrt-points-exchange-open><?php esc_html_e('购买积分', 'aksrt'); ?></button>
<?php endif; ?>
</div>
</div>