feat(storefront): 新增 PC 订单中心与订单操作

This commit is contained in:
yml2213
2026-10-30 13:56:44 +08:00
parent 55e914edd1
commit e13eda20a2
13 changed files with 1668 additions and 101 deletions
+9 -3
View File
@@ -22,9 +22,10 @@ export function StorefrontLayout() {
<nav className="site-nav" aria-label="主导航">
<Link to="/">首页</Link>
<a href="#listings">商品</a>
<a href="#process">流程</a>
<a href="#rules">规则</a>
<a href="/#listings">商品</a>
<Link to="/orders">我的订单</Link>
<a href="/#process">流程</a>
<a href="/#rules">规则</a>
</nav>
<Space size={12}>
@@ -33,6 +34,11 @@ export function StorefrontLayout() {
menu={{
items: [
{ key: 'phone', label: `已登录:${user.phone}`, disabled: true },
{
key: 'orders',
label: '我的订单',
onClick: () => navigate('/orders'),
},
{
key: 'logout',
label: '退出登录',