From 03ea40f81025d4f7682267c1a0cbe07ebd0b5642 Mon Sep 17 00:00:00 2001 From: tianyi <13521030702@163.com> Date: Mon, 20 Apr 2026 18:02:12 +0800 Subject: [PATCH] 11 --- pages/shop/orderDetail.vue | 79 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) diff --git a/pages/shop/orderDetail.vue b/pages/shop/orderDetail.vue index 010b267..85dcb85 100644 --- a/pages/shop/orderDetail.vue +++ b/pages/shop/orderDetail.vue @@ -122,6 +122,14 @@ {{data.receiverPhone}} + + + 团购信息 + + + 查看 > + + @@ -143,6 +151,37 @@ + + + + + {{data.groupInfo.targetMembers}}人团/已拼{{data.groupInfo.currentMembers}}人 + + + + + + + + + + {{item | lastFour}} + + + + + + + + + + + + + + 点击头像可查看拼团订单详情 + + + @@ -188,6 +227,9 @@ that.data.chouyong = price/100 * uni.getStorageSync('shopTakeaway').commissionRateMore that.data.yujishouru = price - that.data.chouyong } + if(that.data.groupInfo != null){ + that.data.groupInfo.groupIdList = that.data.groupInfo.groupOrderIds.split(','); + } that.data.goodsNum = 0 for(let m=0;m {}); }, + goDetail(id){ + this.shopId = id + this.getDetail() + this.$refs.groupPopup.close() + }, + checkGroup(){ + this.$refs.groupPopup.open() + }, mealServing(item){ let that = this uni.showModal({ @@ -307,4 +357,33 @@ float: right; margin-left: 10px; } + .group-content{ + background: #fff; + width: 300px; + height: auto; + border-radius: 20rpx; + } + .weipincheng { + width: 90rpx; + height: 90rpx; + background: #a6ffea; + border-radius: 90rpx; + text-align: center; + font-size: 60rpx; + font-weight: 700; + margin-left: -6rpx; + z-index: 97; + color: #02fbdd; + border: 1px solid #a6ffea; + line-height: 80rpx; + margin: 0 auto; + } + .kaituan2{ + display: flex; + width: 90%; + margin: 40rpx auto; + } + .kaituan22{ + flex: 1; + } \ No newline at end of file