feat(shop): 交易中心壳层 1:1 统一购物车/订单/收益

抽出 commerce header 与二级导航,购物车/订单/收益共用主站交易中心壳层;收益 stats 轻量化,降低独立电商后台观感。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
kate522andClaude Fable 5 committed 2026-07-12 11:32:04 +08:00
1 parent 578f4da9ae
commit 663c0bb53e
7 files changed
+241 -12

No files matched your search

+12 -3
View File
@@ -56,10 +56,19 @@ $tabs = [
?>
<main id="main-content" class="site-main content-shell" tabindex="-1">
<?php if (function_exists('aksrt_breadcrumbs')) { aksrt_breadcrumbs(); } ?>
<div class="container aksrt-orders-page" data-aksrt-order-center>
<div class="aksrt-orders-page__header">
<h1><?php esc_html_e('我的订单', 'aksrt'); ?></h1>
</div>
<?php
if (function_exists('aksrt_render_commerce_page_header')) {
aksrt_render_commerce_page_header([
'title' => __('我的订单', 'aksrt'),
'subtitle' => __('查看订单状态、物流进度与售后处理。', 'aksrt'),
'active' => 'orders',
]);
} else {
echo '<div class="aksrt-orders-page__header"><h1>' . esc_html__('我的订单', 'aksrt') . '</h1></div>';
}
?>
<!-- 5-tab navigation -->
<div class="aksrt-orders-page__tabs">