From f7de85f3a03576f1ee96a3396f243985622ace31 Mon Sep 17 00:00:00 2001 From: fanfan Date: Sat, 24 Feb 2024 21:14:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=91=E7=9A=84=E8=AE=A2=E5=8D=95=E5=94=AE?= =?UTF-8?q?=E5=90=8E=E7=AD=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/order/index.vue | 32 +++++- pages/order/refund/freight.vue | 12 +-- pages/order/refund/refund.vue | 1 - pages/order/refund/refundDetail1.vue | 147 ++++++++++++++++++++------- pages/refund/detail.vue | 17 ++-- pages/refund/index.vue | 6 +- static/daichu.png | Bin 0 -> 3061 bytes 7 files changed, 160 insertions(+), 55 deletions(-) create mode 100644 static/daichu.png diff --git a/pages/order/index.vue b/pages/order/index.vue index a5a3c10..a7fadc1 100644 --- a/pages/order/index.vue +++ b/pages/order/index.vue @@ -9,8 +9,9 @@ - + @@ -163,6 +164,9 @@ // tab栏数据 const tabs = [{ + name: `全部`, + value: 'all' + }, { name: `待付款`, value: 'pay' }, { @@ -174,6 +178,12 @@ }, { name: `已完成`, value: 'complete' + }, { + name: `已取消`, + value: 'cancel' + }, { + name: `退货/售后`, + value: 'refund' }, ] export default { @@ -332,8 +342,15 @@ const app = this // 设置当前选中的标签 app.curTab = index - // 刷新订单列表 - app.getOrderList() + if (index == 6) { + uni.navigateTo({ + url: '/pages/refund/index' + }) + } else { + // 刷新订单列表 + app.getOrderList() + } + }, // 刷新订单列表 @@ -492,6 +509,11 @@ padding: 100rpx 0; } + ::v-deep .u-tab-bar { + bottom: 12rpx !important; + background-color: rgb(255, 98, 87) !important; + } + .order { .receive { width: 100%; @@ -824,7 +846,7 @@ font-family: PingFang SC, PingFang SC; font-weight: 400; color: #727272; - line-height: 33rpx; + line-height: 38rpx; margin-left: 48rpx; margin-top: 28rpx; } diff --git a/pages/order/refund/freight.vue b/pages/order/refund/freight.vue index d44e683..9e3345c 100644 --- a/pages/order/refund/freight.vue +++ b/pages/order/refund/freight.vue @@ -18,17 +18,17 @@ - + + @@ -73,8 +73,8 @@ &-hd { padding: 40rpx; box-sizing: border-box; - margin-top: 20rpx; - background: linear-gradient(180deg, #FFE0E0 0%, #FFFFFF 100%); + margin-top: 12rpx; + background: linear-gradient(180deg, #FFE0E0 0%, #FFFFFF 30%); border-radius: 0px 0px 0px 0px; .a { diff --git a/pages/order/refund/refund.vue b/pages/order/refund/refund.vue index ee3f72f..a3f32a9 100644 --- a/pages/order/refund/refund.vue +++ b/pages/order/refund/refund.vue @@ -195,7 +195,6 @@ }, // 获取当前订单信息 toDetail(canReset = false) { - this.uploadFile() const app = this if (app.logisticsIndex == -1) { uni.showToast({ diff --git a/pages/order/refund/refundDetail1.vue b/pages/order/refund/refundDetail1.vue index 5ba72c3..4b83aaa 100644 --- a/pages/order/refund/refundDetail1.vue +++ b/pages/order/refund/refundDetail1.vue @@ -1,46 +1,63 @@