diff --git a/pages.json b/pages.json index 30f2813..e3978f7 100644 --- a/pages.json +++ b/pages.json @@ -8,6 +8,15 @@ }, "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages + { + "path": "pages/order/list", + "style": { + "navigationBarTitleText": "订单" + }, + "meta": { + "auth": true + } + }, { "path": "pages/index/my", "style": { @@ -63,7 +72,7 @@ "pagePath": "pages/index/product" }, { - "pagePath": "pages/index/icons" + "pagePath": "pages/order/list" }, { "pagePath": "pages/index/my" diff --git a/pages/order/detail.vue b/pages/order/detail.vue new file mode 100644 index 0000000..0afeca7 --- /dev/null +++ b/pages/order/detail.vue @@ -0,0 +1,616 @@ + + + + + + diff --git a/pages/order/list.vue b/pages/order/list.vue new file mode 100644 index 0000000..f528425 --- /dev/null +++ b/pages/order/list.vue @@ -0,0 +1,213 @@ + + + diff --git a/pages/user/wallet/money.vue b/pages/user/wallet/money.vue new file mode 100644 index 0000000..5c4e324 --- /dev/null +++ b/pages/user/wallet/money.vue @@ -0,0 +1,370 @@ + + + + + + diff --git a/peach/components/p-goods-item/p-goods-item.vue b/peach/components/p-goods-item/p-goods-item.vue new file mode 100644 index 0000000..f4926c9 --- /dev/null +++ b/peach/components/p-goods-item/p-goods-item.vue @@ -0,0 +1,181 @@ + + + + + diff --git a/peach/store/app.js b/peach/store/app.js index 1309b11..2b13618 100644 --- a/peach/store/app.js +++ b/peach/store/app.js @@ -72,8 +72,8 @@ const useAppStore = defineStore( { activeIconUrl: 'http://mall.yudao.iocoder.cn/static/images/3-002.png', iconUrl: 'http://mall.yudao.iocoder.cn/static/images/3-001.png', - text: '购物车', - url: '/pages/index/icons', + text: '订单', + url: '/pages/order/list', }, { activeIconUrl: 'http://mall.yudao.iocoder.cn/static/images/4-002.png', diff --git a/peach/ui/pb-sticky/pb-sticky.vue b/peach/ui/pb-sticky/pb-sticky.vue new file mode 100644 index 0000000..d6ff272 --- /dev/null +++ b/peach/ui/pb-sticky/pb-sticky.vue @@ -0,0 +1,264 @@ + + + + + diff --git a/peach/ui/pb-tabs/pb-tabs.vue b/peach/ui/pb-tabs/pb-tabs.vue new file mode 100644 index 0000000..a222b40 --- /dev/null +++ b/peach/ui/pb-tabs/pb-tabs.vue @@ -0,0 +1,432 @@ + + + + + diff --git a/static/order-empty.png b/static/order-empty.png new file mode 100644 index 0000000..a7b46fe Binary files /dev/null and b/static/order-empty.png differ