| | |
| | | /> |
| | | |
| | | { |
| | | /* 行程操作栏:紧跟行程状态之下、蓝牙卡片之上(对齐设计稿)。 |
| | | 到达终点/已支付状态下 TripActionBar 内部按钮集合为空、自动返回 null,不占位。 */ |
| | | [TripStatus.VehicleApproaching, TripStatus.VehicleArrivedPickup, TripStatus.InService, TripStatus.TripFinished, TripStatus.PaymentSuccess].includes(tripStatus) && |
| | | <TripActionBar |
| | | tripStatus={tripStatus} |
| | | handleCancelTrip={handleCancelTrip} |
| | | showCancelTrip={showCancelTrip} |
| | | showShareTrip={showShareTrip} |
| | | handleModifyDestination={handleModifyDestination} |
| | | handleModifyDestinationDisabledClick={handleModifyDestinationDisabledClick} |
| | | showModifyDestination={showModifyDestination} |
| | | handleShareTrip={handleShareTrip} |
| | | /> |
| | | } |
| | | |
| | | { |
| | | [TripStatus.VehicleApproaching, TripStatus.VehicleArrivedPickup].includes(tripStatus) && |
| | | <BluetoothOperateCard |
| | | ready={bluetoothStatusReady} |
| | |
| | | </View> |
| | | } |
| | | |
| | | { |
| | | /* 行程操作栏:位于车控卡片之后、门箱控制之前(对齐设计稿)。 |
| | | 到达终点/已支付状态下 TripActionBar 内部按钮集合为空、自动返回 null,不占位。 */ |
| | | [TripStatus.VehicleApproaching, TripStatus.VehicleArrivedPickup, TripStatus.InService, TripStatus.TripFinished, TripStatus.PaymentSuccess].includes(tripStatus) && |
| | | <TripActionBar |
| | | tripStatus={tripStatus} |
| | | handleCancelTrip={handleCancelTrip} |
| | | showCancelTrip={showCancelTrip} |
| | | showShareTrip={showShareTrip} |
| | | handleModifyDestination={handleModifyDestination} |
| | | handleModifyDestinationDisabledClick={handleModifyDestinationDisabledClick} |
| | | showModifyDestination={showModifyDestination} |
| | | handleShareTrip={handleShareTrip} |
| | | /> |
| | | } |
| | | |
| | | {/* 车控弹窗(空调 / 音乐 / 香氛):必须挂在横向滑动 ScrollView 之外。 |
| | | iOS(WKWebView)下 scroll-view 的滚动容器会成为 fixed 子元素的包含块, |
| | | 弹窗若留在 ScrollView 内会被限制、裁切在卡片滑动区里(Android 无此问题)。 |