The shared VIP image style is block-level, so the hover-card title now uses explicit icon and label flex items to keep both vertically centered on one row.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Give the standalone promotion tab its own stylesheet and a task-priority
layout (成果概览 → 分享操作 → 奖励说明 → 邀请记录).
- assets/css/routes/user-center/promotion.css: new module owning all
uc-promotion-* rules; flattens #panel-promotion chrome, adds focus-visible
on the copy button + link input, and a ≤640px single-column layout with a
full-width copy button (no horizontal overflow)
- user-center.css: import the new promotion.css
- user-center/revenue.css: drop the now-migrated uc-promotion-* rules (keep
only the revenue-layout mobile rule)
- profile-invite.php: refresh doc header to describe the section priority
order; copy button stays a focusable <button>, credits.js keeps text-based
success/failure feedback via [data-invite-copy-feedback]
Register a dedicated `promotion` dashboard panel gated by the existing
invite switches (credits + invite reward + invite registration), and move
the invite card out of the revenue tab so 收益中心 is pure earnings/withdrawal.
- src/User/Center.php: register promotion panel; revenue no longer depends
on invite being on
- inc/helpers/user-center-renderers/profile-promotion.php: new panel body
hosting the existing [data-aksrt-invite] card
- profile-revenue.php: drop the invite section; aksrt-user-center.php: drop
unused show_invite_section context, add promotion to built-in tabs + view map
- repoint invite/promotion deep-link aliases from revenue to promotion across
tab-url builder, tab resolver, runtime tabAliases, urls.php, and the
revenue-JS enqueue gate
- sidebar-nav.php: add 推广中心 service entry; shell.css: entry icon color;
sidebar-creator.php: reword revenue card
- UserRuntime.php: allow promotion in configurable tabs
Remove level-specific gradients from the top membership summary while preserving icon accents and purchase cards.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Tone down the top membership summary to the existing VIP card language without changing purchase-card styles or behavior.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Restore the existing membership purchase cards and keep the UX refresh limited to the top membership summary.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Remove the shared dashboard card around the VIP panel and render membership details as title, level, intro, and expiry rows.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>