lucl
2026-08-13 677ebbd953588d89f26ada652c8ac732b5ec56c1
fix: 修复合并代码导致的动效异常问题
2个文件已修改
36 ■■■■■ 已修改文件
src/robotaxi/pages/begin-route/components/calling-car.tsx 32 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/begin-route/components/css-folder/calling-car.less 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/begin-route/components/calling-car.tsx
@@ -350,22 +350,6 @@
            />
            {
                /* 行程操作栏:紧跟行程状态之下、蓝牙卡片之上(对齐设计稿)。
                   到达终点/已支付状态下 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}
@@ -432,6 +416,22 @@
                </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 无此问题)。
src/robotaxi/pages/begin-route/components/css-folder/calling-car.less
@@ -186,13 +186,13 @@
// 动效完成后移除 .dispatch-defer-content,随 opacity 过渡淡入。用 opacity 而非 visibility,保证淡入过渡生效。
.calling-car {
  .bluetooth-operate-card,
  .temp-fragrance-scroll,
  .temp-fragrance-control,
  .trip-action-bar {
    transition: opacity 0.3s ease;
  }
  &.dispatch-defer-content {
    .bluetooth-operate-card,
    .temp-fragrance-scroll,
    .temp-fragrance-control,
    .trip-action-bar {
      opacity: 0;
      pointer-events: none;