From 0b649e3f5ba2fd7b7e7c2bca0f781d4b2f9ee577 Mon Sep 17 00:00:00 2001 From: paulGao Date: Thu, 24 Mar 2022 16:02:31 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dapp=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E9=94=99=E8=AF=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/message.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/message.js b/api/message.js index bd949b9..c6e7dd8 100644 --- a/api/message.js +++ b/api/message.js @@ -73,7 +73,7 @@ export function getLogisticsMessages(params) { */ export function getAppVersion(appType) { return http.request({ - url: `/appVersion/${appType}`, + url: `/other/appVersion/${appType}`, method: Method.GET, type:"manager" }); @@ -86,7 +86,7 @@ export function getLogisticsMessages(params) { */ export function getAppVersionList(type,data) { return http.request({ - url: `/appVersion/appVersion/${type}`, + url: `/other/appVersion/appVersion/${type}`, method: Method.GET, type:"manager", data From 79f737404ed81b13f3a80f9236cb3ef6f0b73ba7 Mon Sep 17 00:00:00 2001 From: paulGao Date: Thu, 31 Mar 2022 15:23:31 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=E5=88=B7=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/order/myOrder.vue | 184 +++++++++++++++++++++++++++++++++------- 1 file changed, 152 insertions(+), 32 deletions(-) diff --git a/pages/order/myOrder.vue b/pages/order/myOrder.vue index 0f996f1..103595a 100644 --- a/pages/order/myOrder.vue +++ b/pages/order/myOrder.vue @@ -1,15 +1,43 @@ @@ -203,10 +318,21 @@ export default { } }, onPullDownRefresh() { + if (this.tabCurrentIndex) { + this.initData(this.tabCurrentIndex); + } else { + this.initData(0); + } + this.loadData(this.status); + }, + onShow() { + if (this.tabCurrentIndex) { + this.initData(this.tabCurrentIndex); + } else { + this.initData(0); + } this.loadData(this.status); }, - - onLoad(options) { /** @@ -219,7 +345,6 @@ export default { if (status == 0) { this.loadData(status); } - }, watch: { @@ -236,16 +361,11 @@ export default { }, }, methods: { - - // 售后 - applyService(order){ - - + applyService(order) { uni.navigateTo({ - url: `/pages/order/afterSales/afterSales?orderSn=${order.sn}` + url: `/pages/order/afterSales/afterSales?orderSn=${order.sn}`, }); - }, // 店铺详情