diff --git a/src/components/order/ComboCard.vue b/src/components/order/ComboCard.vue index 5d9bed0..37efc34 100644 --- a/src/components/order/ComboCard.vue +++ b/src/components/order/ComboCard.vue @@ -16,6 +16,7 @@ 待使用 已使用 已退款 + 已退款 @@ -39,16 +40,16 @@ - + class="w-178rpx h-70rpx leading-70rpx rounded-8rpx border-[2rpx] border-[#9CA3AF] text-[#303133]" + :class="order.operation_type === StoreType.Direct ? ' mr-28rpx' : ''"> 申请退款 - + @@ -311,8 +312,9 @@ /** * 使用套餐 */ - handleUsePackage: () => { - router.navigateTo(`/bundle/tea-room/choose-room?groupCouponId=${props.order.group_id}&groupCouponOrderId=${props.order.id}&teaRoomId=${props.order.store_id}`) + handleUsePackage: (store_id: number, operation_type: number) => { + router.navigateTo(`/bundle/tea-room/room?id=${store_id}&type=${operation_type}`) + // router.navigateTo(`/bundle/tea-room/choose-room?groupCouponId=${props.order.group_id}&groupCouponOrderId=${props.order.id}&teaRoomId=${props.order.store_id}`) }, /**