refactor(app): 重构用户中心和订单相关页面
-调整了 app.config.ts 中的页面路径和顺序 - 移除了 article 页面 - 重构了 cart、find、order 和 user 页面的布局和功能 - 优化了导航栏和订单状态的显示逻辑 - 统一了页面样式和图标使用
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
export default defineAppConfig({
|
||||
pages: [
|
||||
'pages/index/index',
|
||||
'pages/order/order',
|
||||
'pages/cart/cart',
|
||||
// 'pages/find/find',
|
||||
'pages/find/find',
|
||||
'pages/user/user'
|
||||
],
|
||||
"subpackages": [
|
||||
@@ -28,6 +27,7 @@ export default defineAppConfig({
|
||||
{
|
||||
"root": "user",
|
||||
"pages": [
|
||||
"order/order",
|
||||
"company/company",
|
||||
"profile/profile",
|
||||
"setting/setting",
|
||||
@@ -82,17 +82,17 @@ export default defineAppConfig({
|
||||
selectedIconPath: "assets/tabbar/home-active.png",
|
||||
text: "首页",
|
||||
},
|
||||
// {
|
||||
// pagePath: "pages/find/find",
|
||||
// iconPath: "assets/tabbar/find.png",
|
||||
// selectedIconPath: "assets/tabbar/find-active.png",
|
||||
// text: "发现",
|
||||
// },
|
||||
{
|
||||
pagePath: "pages/order/order",
|
||||
iconPath: "assets/tabbar/order.png",
|
||||
selectedIconPath: "assets/tabbar/order-active.png",
|
||||
text: "订单",
|
||||
pagePath: "pages/find/find",
|
||||
iconPath: "assets/tabbar/find.png",
|
||||
selectedIconPath: "assets/tabbar/find-active.png",
|
||||
text: "发现",
|
||||
},
|
||||
{
|
||||
pagePath: "pages/cart/cart",
|
||||
iconPath: "assets/tabbar/cart.png",
|
||||
selectedIconPath: "assets/tabbar/cart-active.png",
|
||||
text: "购物车",
|
||||
},
|
||||
{
|
||||
pagePath: "pages/user/user",
|
||||
|
||||
Reference in New Issue
Block a user