From e95b660761a4d153fcccfc0d05d15f5076325b49 Mon Sep 17 00:00:00 2001 From: chen-xin-zhi <3588068430@qq.com> Date: Wed, 12 Mar 2025 17:47:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=AE=8C=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/global.js | 8 +- pages.json | 18 +- pages/my-order/component/nav.vue | 32 +++ .../myGeneralOrderDetail.vue | 109 +++++++--- pages/my-order/myOrderList/myOrderList.vue | 194 +++++++++++++----- .../myServiceOrderDetail.vue | 97 ++++++--- .../order/product-waitpay/product-waitpay.vue | 41 ++-- pages/order/serviceWaitPay/serviceWaitPay.vue | 23 +-- .../order/singleGoodOrder/singleGoodOrder.vue | 42 +--- .../singleServiceWait/singleServiceWait.vue | 10 +- 10 files changed, 371 insertions(+), 203 deletions(-) create mode 100644 pages/my-order/component/nav.vue diff --git a/common/global.js b/common/global.js index 7812dec..9939914 100644 --- a/common/global.js +++ b/common/global.js @@ -26,13 +26,13 @@ export const stateList = [ }, { state: '交易成功', - img: '', + img: 'https://carbon2.obs.cn-north-4.myhuaweicloud.com:443/feiyi%2Ftest%2F0%2FaHDhacaI-dengdaifukuan.png', msg: '订单完成,感谢您的支持', tips: '感谢您的支持' }, { state: '交易关闭', - img: 'https://carbon2.obs.cn-north-4.myhuaweicloud.com:443/feiyi%2Ftest%2F0%2FaHDhacaI-dengdaifukuan.png', + img: 'https://carbon2.obs.cn-north-4.myhuaweicloud.com:443/feiyi%2Fuser_avatar%2F0%2FLPwbfbRj-cancel.png', msg: '您的订单已关闭', tips: '下次看好了之后再买哦' } @@ -62,13 +62,13 @@ export const serviceStateList = [ }, { state: '交易成功', - img: '', + img: 'https://carbon2.obs.cn-north-4.myhuaweicloud.com:443/feiyi%2Ftest%2F0%2FaHDhacaI-dengdaifukuan.png', msg: '订单完成,感谢您的支持', tips: '感谢您的支持' }, { state: '交易关闭', - img: 'https://carbon2.obs.cn-north-4.myhuaweicloud.com:443/feiyi%2Ftest%2F0%2FaHDhacaI-dengdaifukuan.png', + img: 'https://carbon2.obs.cn-north-4.myhuaweicloud.com:443/feiyi%2Fuser_avatar%2F0%2FLPwbfbRj-cancel.png', msg: '您的订单已关闭', tips: '下次看好了之后再买哦' } diff --git a/pages.json b/pages.json index f62dde3..7ca1059 100644 --- a/pages.json +++ b/pages.json @@ -1,5 +1,14 @@ { "pages": [ + { + "path" : "pages/home/home", + "style" : + { + "navigationBarTitleText" : "首页", + "enablePullDownRefresh":true, //开启下拉刷新 + "navigationBarBackgroundColor": "#ede8e7" + } + }, { "path" : "pages/my-order/myGeneralOrderDetail/myGeneralOrderDetail", "style" : @@ -28,15 +37,6 @@ "navigationBarTitleText" : "" } }, - { - "path" : "pages/home/home", - "style" : - { - "navigationBarTitleText" : "首页", - "enablePullDownRefresh":true, //开启下拉刷新 - "navigationBarBackgroundColor": "#ede8e7" - } - }, { "path" : "pages/workshop/searchResult/searchResult", "style" : diff --git a/pages/my-order/component/nav.vue b/pages/my-order/component/nav.vue new file mode 100644 index 0000000..b5a17e6 --- /dev/null +++ b/pages/my-order/component/nav.vue @@ -0,0 +1,32 @@ + + + + + \ No newline at end of file diff --git a/pages/my-order/myGeneralOrderDetail/myGeneralOrderDetail.vue b/pages/my-order/myGeneralOrderDetail/myGeneralOrderDetail.vue index db37cb6..933dc89 100644 --- a/pages/my-order/myGeneralOrderDetail/myGeneralOrderDetail.vue +++ b/pages/my-order/myGeneralOrderDetail/myGeneralOrderDetail.vue @@ -56,7 +56,7 @@ 买家留言 - + {{ order.note }} @@ -103,11 +103,11 @@ - + 去支付 - + 查看物流 @@ -115,8 +115,15 @@ 删除订单 + + + + + + +