feat(orders): embed My Orders inside user center (zibll-style)

Register UC panel tab=orders with full order list/actions UI; route
aksrt_get_orders_page_url and /orders template to profile?tab=orders;
enqueue order assets when the UC orders tab is active.
This commit is contained in:
2026-07-25 13:54:08 +08:00
parent dae85f0198
commit 354a1072ef
8 changed files with 598 additions and 464 deletions
+20
View File
@@ -498,3 +498,23 @@ html.dark .aksrt-orders-page__filter-chip.is-active {
grid-template-columns: 1fr;
}
}
/* User-center embedded orders panel */
.uc-orders-panel.aksrt-orders-page {
padding: 0;
}
.uc-orders-panel .aksrt-orders-page__tab-badge {
display: inline-block;
min-width: 1.1em;
margin-left: 4px;
padding: 0 5px;
border-radius: 999px;
background: var(--color-danger, #e5484d);
color: #fff;
font-size: 11px;
line-height: 1.4;
vertical-align: middle;
}
.uc-orders-panel__head {
gap: 12px;
}