From 1bc7895ca583d9d716d04c07a997d0aafcc4bcdd Mon Sep 17 00:00:00 2001 From: fanfan Date: Sun, 25 Feb 2024 21:36:10 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/news/recycling/order.vue | 2 +- pages/news/recycling/orderList.vue | 20 ++++++------ pages/news3/ManualEntry.vue | 1 - pages/order/detail.vue | 20 ++++++++---- pages/order/index.vue | 49 ++++++++++++------------------ pages/order/refund/refund.vue | 33 +++++++++++++------- pages/user/index.vue | 14 ++------- 7 files changed, 71 insertions(+), 68 deletions(-) diff --git a/pages/news/recycling/order.vue b/pages/news/recycling/order.vue index dbbaaac..fabdd3b 100644 --- a/pages/news/recycling/order.vue +++ b/pages/news/recycling/order.vue @@ -129,7 +129,7 @@ 联系商家 - + 立即预约 diff --git a/pages/news/recycling/orderList.vue b/pages/news/recycling/orderList.vue index 7aca16f..be8186f 100644 --- a/pages/news/recycling/orderList.vue +++ b/pages/news/recycling/orderList.vue @@ -31,7 +31,7 @@ 名称:{{item.recovery_name}} - 品牌:{{item.brand}} + 品牌:{{item.brand}} @@ -54,8 +54,8 @@ @click.stop="openPage(3,index,item)">修改订单 取消订单 - 完成 + 完成 @@ -123,12 +123,13 @@ } if (i == 2) { uni.navigateTo({ - url: '/pages/news/recycling/order?recovery_id=' + a.recovery_id+'&order_id='+a.order_id + url: '/pages/news/recycling/order?recovery_id=' + a.recovery_id + '&order_id=' + a.order_id }) } if (i == 3) { uni.navigateTo({ - url: '/pages/news/recycling/confirm1?order_id=' + a.order_id+'&tabIndex='+(a.recovery_type==10?1:a.recovery_type==20?0:2)+'&source=2' + url: '/pages/news/recycling/confirm1?order_id=' + a.order_id + '&tabIndex=' + (a + .recovery_type == 10 ? 1 : a.recovery_type == 20 ? 0 : 2) + '&source=2' }) } if (i == 4) { @@ -173,7 +174,7 @@ uni.showToast({ title: "取消成功" }) - this.classifyShow=2 + this.classifyShow = 2 this.getOrderList(1) } }, @@ -209,7 +210,7 @@ } = await newFunApi.orderList({ order_no: this.order_no, page: this.pageNum, - order_status: this.classList.length > 0 ? (this.classifyShow >= 0 ? this.classList[this + order_status: (this.classList.length > 0) ? (this.classifyShow >= 0 ? this.classList[this .classifyShow].value : '') : "" }); if (status == 200) { @@ -270,7 +271,7 @@ border-radius: 80rpx; ::v-deep .uni-input-placeholder { - margin-left: 90upx; + margin-left: 20upx; z-index: 10; } @@ -297,7 +298,7 @@ background: #FFFFFF; border-radius: 30px 30px 30px 30px; opacity: 1; - padding-left: 80upx; + padding-left: 20upx; width: calc(100% - 80upx); } @@ -379,6 +380,7 @@ .shopContent { overflow: hidden; + .shopItem { margin-bottom: 14upx; padding: 36upx; diff --git a/pages/news3/ManualEntry.vue b/pages/news3/ManualEntry.vue index 2a8a998..39631d0 100644 --- a/pages/news3/ManualEntry.vue +++ b/pages/news3/ManualEntry.vue @@ -298,7 +298,6 @@ }, //接受上传返回的数据 transferSuccess(list) { - console.log(list) if (list.length > 0) { const { response diff --git a/pages/order/detail.vue b/pages/order/detail.vue index a0d5025..d94e42d 100644 --- a/pages/order/detail.vue +++ b/pages/order/detail.vue @@ -118,11 +118,15 @@ x{{ goods.total_num }} - + 退款 + + 退款 - 换货 @@ -142,7 +146,7 @@ - 订单编号: + 订单编号: {{ order.order_no }} @@ -274,7 +278,7 @@ - 继续付款 + 立即支付 @@ -293,10 +297,10 @@ v-if="order.pay_status == PayStatusEnum.SUCCESS.value && order.delivery_status == DeliveryStatusEnum.NOT_DELIVERED.value"> 催发货 - 取消订单 - + --> @@ -228,6 +224,7 @@ onShow() { // 注册全局事件订阅: 是否刷新订单列表 uni.$on('syncRefresh', canReset => { + this.list=[] this.getOrderList() }) }, @@ -248,9 +245,14 @@ methods: { confirm() { // 刷新订单列表 + this.list=[] app.getOrderList() }, changeMenu(index) { + this.list.forEach(item => { + item.menushow=false; + idList.push(item.response.data.fileInfo.file_id) + }); this.list[index].menushow = !this.list[index].menushow }, toggleImage() { @@ -265,7 +267,7 @@ } }, - /** + /** * 获取列表 */ async getOrderList() { @@ -296,7 +298,7 @@ // 切换标签项 onChangeTab(index) { const app = this - app.list=[] + app.list = [] // 设置当前选中的标签 app.curTab = index if (index == 6) { @@ -595,23 +597,10 @@ height: 40rpx; margin-right: 24rpx; } - - &::after { - content: ""; - width: 16rpx; - height: 16rpx; - border-top: 1px solid #818181; - border-left: 1px solid #818181; - position: absolute; - right: 0; - top: 14rpx; - z-index: 1; - transform: rotate(135deg); - } } .b { - font-size: 24rpx; + font-size: 28rpx; font-weight: 400; color: #F21A1C; } @@ -624,9 +613,10 @@ margin-bottom: 30rpx; .pic { - width: 145rpx; - height: 135rpx; - margin-right: 20rpx; + width: 162rpx; + height: 148rpx; + border-radius: 0px 0px 0px 0px; + margin-right: 30rpx; image { width: 100%; @@ -656,6 +646,7 @@ font-weight: 600; } + margin-top: 12rpx; font-size: 24rpx; color: #F21A1C; } diff --git a/pages/order/refund/refund.vue b/pages/order/refund/refund.vue index a3f32a9..e103fc5 100644 --- a/pages/order/refund/refund.vue +++ b/pages/order/refund/refund.vue @@ -66,8 +66,8 @@ - +