用户中心 PHP 整包减层:修复 profile 面板映射并模块化上下文组装

This commit is contained in:
kate522 committed 2026-07-10 22:34:00 +08:00
1 parent e97654aab3
commit f43519b1df
9 files changed
+215 -190

No files matched your search

+1 -1
View File
@@ -63,7 +63,7 @@ get_header();
<?php endif; ?>
<?php get_template_part('templates/parts/user-center/mobile-tabs', null, ['context' => $render_context]); ?>
<?php foreach ($render_context['panels'] as $panel) : ?>
<?php get_template_part('templates/parts/user-center/panel', $panel['key'], ['panel' => $panel]); ?>
<?php get_template_part('templates/parts/user-center/panel', null, ['panel' => $panel]); ?>
<?php endforeach; ?>
<?php get_template_part('templates/parts/user-center/account-modals', null, ['context' => $render_context]); ?>
</div>