feat(vip): Batch 3 dedicated user-center VIP tab
Register 我的会员 panel, zibll-style status/equity cards, sidebar deep-link, and slim credits-tab entry so VIP is no longer nested only under assets.
This commit is contained in:
1 parent
965032f2e9
commit
1f87ab3b1b
8 files changed
+209
-5
No files matched your search
@@ -39,7 +39,15 @@ if ($show_wallet || $show_credits) :
|
||||
endif;
|
||||
|
||||
if (!empty($show_vip)) {
|
||||
require $dir . '/credits-vip.php';
|
||||
// Slim entry to dedicated VIP tab (full shop lives under tab=vip).
|
||||
$vip_url = function_exists('aksrt_get_user_center_tab_url')
|
||||
? aksrt_get_user_center_tab_url('vip')
|
||||
: '#';
|
||||
echo '<div class="zib-widget flex ac jsb padding-15 mb15 uc-vip-assets-entry">';
|
||||
echo '<div class="flex ac gap10"><i class="fas fa-crown c-yellow"></i><div><div class="font-bold">' . esc_html__('我的会员', 'aksrt') . '</div>';
|
||||
echo '<div class="muted-2-color em09">' . esc_html__('查看权益、续费与升级', 'aksrt') . '</div></div></div>';
|
||||
echo '<a class="but jb-yellow radius" href="' . esc_url($vip_url) . '">' . esc_html__('进入会员中心', 'aksrt') . '</a>';
|
||||
echo '</div>';
|
||||
}
|
||||
if ($show_credits) {
|
||||
require $dir . '/credits-signin.php';
|
||||
|
||||
Reference in new issue
Block a user