feat(storefront): 新增 PC 订单中心与订单操作
This commit is contained in:
@@ -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: '退出登录',
|
||||
|
||||
Reference in New Issue
Block a user