fix:修复bug

This commit is contained in:
2026-03-17 12:05:08 +08:00
parent e855ecde78
commit bb5da5d963
7 changed files with 27 additions and 42 deletions
+5 -15
View File
@@ -397,8 +397,8 @@ function rejectStartOrder() {
</view>
</template>
<!-- 自取订单 -->
<template v-if="orderDetail?.receiveMethod === 2">
<!-- 自取已隐藏自取订单信息卡片 -->
<template v-if="false">
<view class="bg-white rounded-16rpx p-24rpx mb-20rpx flex-center-sb">
<view class="flex items-center text-28rpx text-#333">
<text>{{ t('pages-user.order.pickUp') }}:</text>
@@ -413,14 +413,7 @@ function rejectStartOrder() {
<!-- 送达时间 -->
<view
class="mb-20rpx bg-white px-24rpx h-160rpx rounded-16rpx flex flex-col items-start justify-center text-28rpx text-#333333">
<text class="mb-32rpx">
<template v-if="orderDetail?.receiveMethod === 1">
{{ t('pages-user.order.deliveryTime') }}
</template>
<template v-else>
{{ t('pages-user.order.mealPickupTime:') }}:
</template>
</text>
<text class="mb-32rpx">{{ t('pages-user.order.deliveryTime') }}</text>
<text class="">{{ formatDateTimeRange(orderDetail?.startScheduledTime, orderDetail?.endScheduledTime) }}</text>
</view>
@@ -644,10 +637,8 @@ function rejectStartOrder() {
</view>
</template>
</template>
<!-- ------------------------------------------------------ -->
<!-- 自取订单 -->
<template v-if="orderDetail?.receiveMethod === 2">
<!-- 待接单 -->
<!-- 自取已隐藏自取订单底部操作按钮 -->
<template v-if="false">
<template v-if="orderStatus === OrderStatus.HAS_PENDING_PAYMENT">
<view class="">
<view :style="[configStore.iosSafeBottomPlaceholder]" class="h-118rpx"></view>
@@ -674,7 +665,6 @@ function rejectStartOrder() {
</view>
</view>
</template>
<!-- 已接单 -->
<template v-if="orderStatus === OrderStatus.MERCHANT_ACCEPTED">
<fixed-bottom-large-btn
:text="t('pages-user.order.writeOff')"