fix(escort): 预约时间改为整点/半点档位,所有服务可选到 23:30

This commit is contained in:
lik
2026-11-05 22:36:48 +08:00
parent 4834827504
commit 19156ae35e
7 changed files with 71 additions and 111 deletions
+2 -6
View File
@@ -108,14 +108,10 @@
</picker>
</view>
<!-- 预约时间:整点/半点一档,所有服务统一可选到 23:30 -->
<view class="order-row">
<text class="order-label">预约时间</text>
<picker wx:if="{{fixedTime}}" class="order-picker" mode="selector" range="{{timeOptions}}" value="{{sessionIndex}}" bindchange="onTimeChange">
<view class="picker-value {{appointmentTime ? '' : 'placeholder'}}">
{{appointmentTime ? timeOptions[sessionIndex] : '请选择服务班次'}}
</view>
</picker>
<picker wx:else class="order-picker" mode="time" value="{{appointmentTime}}" start="{{timeStart}}" end="{{timeEnd}}" bindchange="onTimeChange">
<picker class="order-picker" mode="selector" range="{{timeSlots}}" value="{{timeSlotIndex}}" bindchange="onTimeChange">
<view class="picker-value {{appointmentTime ? '' : 'placeholder'}}">{{appointmentTime || '请选择预约时间'}}</view>
</picker>
</view>