From 5f3893fe77867bfa27150514caffdef76ec21157 Mon Sep 17 00:00:00 2001 From: zhangdongxue Date: Thu, 16 Sep 2021 15:48:07 +0800 Subject: [PATCH] =?UTF-8?q?['=E6=88=91=E7=9A=84=E6=8F=90=E8=B4=A7=E5=8D=95?= =?UTF-8?q?=EF=BC=8C=E5=90=88=E5=B9=B6=E9=80=80=E8=B4=A7=E5=8D=95=E5=BF=AB?= =?UTF-8?q?=E9=80=92=E5=8D=95=E8=87=AA=E6=8F=90=E5=8D=95']?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mall-refunds-template.vue | 175 ++++ .../mall-shipments-template.vue | 171 ++++ pages.json | 36 +- pages/property/index.vue | 6 +- pages/property/order/logistics.vue | 6 +- pages/property/order/mallRefundsInfo.vue | 8 +- pages/property/order/mallShipments.vue | 798 ++++++++++-------- pages/property/order/mallShipmentsInfo.vue | 9 +- pages/property/order/mallShipmentsRefund.vue | 21 +- 9 files changed, 861 insertions(+), 369 deletions(-) create mode 100644 components/mall-refunds-template/mall-refunds-template.vue create mode 100644 components/mall-shipments-template/mall-shipments-template.vue diff --git a/components/mall-refunds-template/mall-refunds-template.vue b/components/mall-refunds-template/mall-refunds-template.vue new file mode 100644 index 0000000..9b623c2 --- /dev/null +++ b/components/mall-refunds-template/mall-refunds-template.vue @@ -0,0 +1,175 @@ + + + + + diff --git a/components/mall-shipments-template/mall-shipments-template.vue b/components/mall-shipments-template/mall-shipments-template.vue new file mode 100644 index 0000000..d8cfe95 --- /dev/null +++ b/components/mall-shipments-template/mall-shipments-template.vue @@ -0,0 +1,171 @@ + + + + + diff --git a/pages.json b/pages.json index 5f28bb9..c4bb810 100644 --- a/pages.json +++ b/pages.json @@ -67,7 +67,7 @@ "path": "pages/property/order/numberWeightInfo", "name": "NumberWeightInfo", "style": { - "navigationBarTitleText": "我的详情", + "navigationBarTitleText": "权证详情", "navigationBarTextStyle": "white", "navigationBarBackgroundColor": "#e93340" } @@ -75,7 +75,39 @@ "path": "pages/property/order/mallShipments", "name": "MallShipments", "style": { - "navigationBarTitleText": "已提货列表", + "navigationBarTitleText": "已经提货", + "navigationBarTextStyle": "white", + "navigationBarBackgroundColor": "#e93340" + } + },{ + "path": "pages/property/order/logistics", + "name": "Orderlogistics", + "style": { + "navigationBarTitleText": "查看物流", + "navigationBarTextStyle": "white", + "navigationBarBackgroundColor": "#e93340" + } + },{ + "path": "pages/property/order/mallShipmentsInfo", + "name": "MallShipmentsInfo", + "style": { + "navigationBarTitleText": "提货单详情页面", + "navigationBarTextStyle": "white", + "navigationBarBackgroundColor": "#e93340" + } + },{ + "path": "pages/property/order/mallRefundsInfo", + "name": "MallRefundsInfo", + "style": { + "navigationBarTitleText": "退货单详情", + "navigationBarTextStyle": "white", + "navigationBarBackgroundColor": "#e93340" + } + },{ + "path": "pages/property/order/mallShipmentsRefund", + "name": "MallShipmentsRefund", + "style": { + "navigationBarTitleText": "申请退货", "navigationBarTextStyle": "white", "navigationBarBackgroundColor": "#e93340" } diff --git a/pages/property/index.vue b/pages/property/index.vue index c24c245..10f0b87 100644 --- a/pages/property/index.vue +++ b/pages/property/index.vue @@ -66,15 +66,15 @@ 0 权证持有 - + 0 权证转让 - + 0 已使用 - + 0 已提货 diff --git a/pages/property/order/logistics.vue b/pages/property/order/logistics.vue index bdab6f9..67b4833 100644 --- a/pages/property/order/logistics.vue +++ b/pages/property/order/logistics.vue @@ -39,7 +39,7 @@ } }, onLoad(e) { - this.no = e.no + this.no = this.$route.params.no this.getLogistic(this.no) }, methods: { @@ -78,7 +78,7 @@ .LogisticsIndex { font-size: $title-size; - color: $text-color-333; + color: #333; margin-top: 20rpx; // 物流名称 @@ -155,7 +155,7 @@ margin-left: 60rpx; // padding: 10rpx 0; font-size: $title-size * 0.9; - color: $text-color-666; + color: #666; position: relative; top: -10rpx; diff --git a/pages/property/order/mallRefundsInfo.vue b/pages/property/order/mallRefundsInfo.vue index 4b7f8f5..5155638 100644 --- a/pages/property/order/mallRefundsInfo.vue +++ b/pages/property/order/mallRefundsInfo.vue @@ -6,7 +6,7 @@ {{info.state.text}} {{info.state.remark}} - + @@ -109,8 +109,8 @@ }; }, onLoad(e) { - this.refund_id = e.no - this.getInfo(e.no) + this.refund_id = this.$route.params.no + this.getInfo(this.refund_id) }, onShow() { if (uni.getStorageSync('refresh')) { @@ -693,7 +693,7 @@ margin-left: 60rpx; // padding: 10rpx 0; font-size: $title-size * 0.9; - color: $text-color-666; + color: #666; position: relative; top: -10rpx; diff --git a/pages/property/order/mallShipments.vue b/pages/property/order/mallShipments.vue index 37d865c..818b807 100644 --- a/pages/property/order/mallShipments.vue +++ b/pages/property/order/mallShipments.vue @@ -1,372 +1,486 @@ diff --git a/pages/property/order/mallShipmentsInfo.vue b/pages/property/order/mallShipmentsInfo.vue index 309582c..a7fbf2d 100644 --- a/pages/property/order/mallShipmentsInfo.vue +++ b/pages/property/order/mallShipmentsInfo.vue @@ -6,7 +6,7 @@ {{info.state_text}} 您的快递正在坐着火箭朝您飞来 - + @@ -109,11 +109,8 @@ }; }, onLoad(e) { - console.log(e) - this.shipment_no = e.no - this.getInfo(e.no) - console.log(this.shipment_no) - // this.getInfo('2021081817410747800300000004') + this.shipment_no = this.$route.params.no + this.getInfo(this.$route.params.no) }, onShow() { if(uni.getStorageSync('refresh')){ diff --git a/pages/property/order/mallShipmentsRefund.vue b/pages/property/order/mallShipmentsRefund.vue index 9962d78..0a5cafe 100644 --- a/pages/property/order/mallShipmentsRefund.vue +++ b/pages/property/order/mallShipmentsRefund.vue @@ -25,7 +25,7 @@ - +