From f9bca4f474c0ada173cd829a46f6e73f5366db24 Mon Sep 17 00:00:00 2001 From: tianyi <13521030702@163.com> Date: Sun, 19 Apr 2026 15:19:07 +0800 Subject: [PATCH] 11 --- package2/login/login.vue | 2 +- package2/shop/merchantRegister.vue | 520 ++++++++++++++++++++++++- package2/shop/orderDetail.vue | 93 +++-- package2/shop/shopOrderList.vue | 16 +- package2/shop/shopSettlementDetail.vue | 2 +- 5 files changed, 582 insertions(+), 51 deletions(-) diff --git a/package2/login/login.vue b/package2/login/login.vue index e75feb0..189ba36 100644 --- a/package2/login/login.vue +++ b/package2/login/login.vue @@ -613,7 +613,7 @@ .popup-container { margin-top: 20rpx; height: 100rpx; - border-radius: 10px; + border-radius: 20rpx; background: #088FEB; line-height: 100rpx; text-align: center; diff --git a/package2/shop/merchantRegister.vue b/package2/shop/merchantRegister.vue index 237f36c..de0135f 100644 --- a/package2/shop/merchantRegister.vue +++ b/package2/shop/merchantRegister.vue @@ -1,9 +1,527 @@ \ No newline at end of file diff --git a/package2/shop/orderDetail.vue b/package2/shop/orderDetail.vue index 8b64cf0..15150a6 100644 --- a/package2/shop/orderDetail.vue +++ b/package2/shop/orderDetail.vue @@ -12,57 +12,57 @@ - + {{'#'+data.numberCode}} - 期望送达 + 期望送达 明天 06:30 {{data.status == 0?'待支付':data.status == 2?'待配送员接单':(data.status == 3 && data.deliveryType == 1 && data.shopMakeTime == null) || (data.status == 3 && data.deliveryType == 2 && data.userRequireMake == 1)?'待出餐':(data.status == 3 && data.deliveryType == 1 && data.shopMakeTime != null)?'待取货':(data.status == 3 && data.deliveryType == 2)?'待消费':data.status == 4?'待送达':data.status == 5?'已完成':data.status == 7?'待同意退款':data.status == 8?'已退款':data.status == 6?'已取消':data.status == 11?'售后中':data.status == 12?'已售后':""}} - - + + {{data.deliveryType == 2?'自取订单':'配送订单'}} - + 配送员:{{data.deliveryInfo.workerName}} - + - + 收货人:{{data.deliveryInfo.receiverName}} - + {{data.deliveryInfo.receiverAddress}} - + - - - 商品 共{{data.goodsNum}}件 + + + 商品 共{{data.goodsNum}}件 - + {{item.productName}} - + {{'x'+ item.quantity}} - + {{'¥'+ item.price}} - + 商品金额 @@ -70,7 +70,7 @@ {{'¥' + data.goodsAmount}} - + 配送费 @@ -78,7 +78,7 @@ {{'¥' + data.deliveryFee}} - + 客户实际支付 @@ -86,7 +86,7 @@ {{'¥'+ data.totalAmount}} - + 平台服务费 @@ -98,32 +98,32 @@ - - + + 订单编号 {{data.id}} - - + + 下单时间 {{data.createTime | formatISOTime}} - - + + 用户账号 {{data.receiverPhone}} - - + + 团购信息 @@ -134,7 +134,7 @@ - + 预计收入 @@ -142,7 +142,7 @@ ¥{{(data.yujishouru).toFixed(2)}} - + 打印小票 @@ -154,12 +154,22 @@ - + {{data.groupInfo.targetMembers}}人团/已拼{{data.groupInfo.currentMembers}}人 - + + + + + + + {{item | lastFour}} + + + + @@ -167,7 +177,7 @@ - + 点击头像可查看拼团订单详情 @@ -193,6 +203,9 @@ const minutes = date.getMinutes().toString().padStart(2, '0'); const seconds = date.getSeconds().toString().padStart(2, '0'); return `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`; + }, + lastFour(str){ + return str.slice(-4); } }, onShow() { @@ -338,27 +351,27 @@ .bottom{ position: fixed; bottom: 0; - height: 90px; + height: 180rpx; width: 100%; background: #fff; - padding: 0 10px; + padding: 0 20rpx; } .btn{ - height: 25px; - width: 65px; - line-height: 25px; + height: 50rpx; + width: 130rpx; + line-height: 50rpx; background: linear-gradient(90deg, #e3ff96, #a6ffea); text-align: center; - border-radius: 7px; + border-radius: 14rpx; font-weight: 700; float: right; - margin-left: 10px; + margin-left: 20rpx; } .group-content{ background: #fff; width: 300px; height: auto; - border-radius: 10px; + border-radius: 20rpx; } .weipincheng { width: 90rpx; diff --git a/package2/shop/shopOrderList.vue b/package2/shop/shopOrderList.vue index ac93773..d3159e3 100644 --- a/package2/shop/shopOrderList.vue +++ b/package2/shop/shopOrderList.vue @@ -52,10 +52,10 @@ - - + + - + 已出餐 @@ -365,12 +365,12 @@ } .btn{ background: linear-gradient(90deg, rgba(227, 255, 150, 1), rgba(166, 255, 234, 1)); - padding:0 5px; - height: 25px; - border-radius: 7px; - line-height: 25px; + padding:0 10rpx; + height: 50rpx; + border-radius: 14rpx; + line-height: 50rpx; text-align: center; font-weight: 700; - margin-top: 10px; + margin-top: 20rpx; } \ No newline at end of file diff --git a/package2/shop/shopSettlementDetail.vue b/package2/shop/shopSettlementDetail.vue index bb45358..d56e9ec 100644 --- a/package2/shop/shopSettlementDetail.vue +++ b/package2/shop/shopSettlementDetail.vue @@ -13,7 +13,7 @@ - + 2026-04-09