fuqj
2026-08-12 99d6fb0ad488e867b191f84afe676bb7fc5ac8ba
feat:修改选路线的UI
5个文件已修改
90 ■■■■■ 已修改文件
src/robotaxi/pages/begin-route/components/css-folder/release-route.less 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/begin-route/components/css-folder/route-selection-panel.less 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/begin-route/components/css-folder/service-route-change.less 29 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/begin-route/components/route-preference-popup/index.less 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/begin-route/index.tsx 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/begin-route/components/css-folder/release-route.less
@@ -70,9 +70,9 @@
            .route-select-content-item {
                flex: 1;
                padding: 16px 0 24px 24px;
                border-radius: 16px;
                background: #F5F6FA;
                border: 1px solid #F2F3F7;
                border-radius: 20px;
                background: @gary-theme;
                .route-select-content-item-title {
                    font-size: 20px;
@@ -115,28 +115,11 @@
            }
            .active-item {
                background: linear-gradient(97deg, rgba(255, 209, 129, 0.2) 0%, rgba(223, 179, 105, 0.2) 103%) !important;
                box-sizing: border-box;
                background: rgba(223, 179, 105, 0.2);
                position: relative;
                .route-select-content-item-title {
                    color: @gold-text;
                }
                &::after {
                    content: "";
                    position: absolute;
                    top: 0;
                    left: 0;
                    right: 0;
                    bottom: 0;
                    border-radius: 16px;
                    padding: 1px;
                    background: linear-gradient(180deg, @gold-light -10%, rgba(223, 179, 105, 0.0469) 108%, rgba(0, 0, 0, 0) 108%);
                    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
                    -webkit-mask-composite: xor;
                    mask-composite: exclude;
                    pointer-events: none;
                }
            }
        }
src/robotaxi/pages/begin-route/components/css-folder/route-selection-panel.less
@@ -48,14 +48,13 @@
    .route-select-content-item {
      flex: 1;
      padding: 16px 0 24px 24px;
      border-radius: 16px;
      border-radius: 20px;
      background: #F5F6FA;
      border: 1px solid #F2F3F7;
      .route-select-content-item-title {
        font-size: 20px;
        line-height: 20px;
        color: rgba(0, 0, 0, 0.9);
        color: @black-text-main;
      }
      .route-select-content-item-time {
@@ -63,7 +62,7 @@
        font-size: 28px;
        font-weight: 500;
        line-height: 40px;
        color: rgba(0, 0, 0, 0.9);
        color: @black-text-main;
      }
      .route-select-content-item-distance {
@@ -90,27 +89,11 @@
    }
    .active-item {
      background: linear-gradient(97deg, rgba(255, 209, 129, 0.2) 0%, rgba(223, 179, 105, 0.2) 103%) !important;
      background: rgba(223, 179, 105, 0.2);
      box-sizing: border-box;
      position: relative;
      .route-select-content-item-title {
        color: @gold-text;
      }
      &::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 16px;
        padding: 1px;
        background: linear-gradient(180deg, @gold-light -10%, rgba(223, 179, 105, 0.0469) 108%, rgba(0, 0, 0, 0) 108%);
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
      }
    }
  }
src/robotaxi/pages/begin-route/components/css-folder/service-route-change.less
@@ -12,7 +12,7 @@
            font-size: 28px;
            font-weight: 500;
            line-height: 40px;
            color: rgba(0, 0, 0, 0.9);
            color: @black-text-main;
        }
        .service-route-select-preference {
@@ -47,9 +47,8 @@
        .service-route-select-content-item {
            flex: 1;
            padding: 16px 24px 30px 24px;
            border-radius: 16px;
            border-radius: 20px;
            background: #F5F6FA;
            border: 1px solid #F2F3F7;
            .service-route-select-content-item-title {
                font-size: 20px;
@@ -62,7 +61,7 @@
                font-size: 28px;
                font-weight: 500;
                line-height: 40px;
                color: rgba(0, 0, 0, 0.9);
                color: @black-text-main;
            }
            .service-route-select-content-item-distance {
@@ -72,7 +71,7 @@
                margin-top: 12px;
                font-size: 20px;
                line-height: 20px;
                color: rgba(0, 0, 0, 0.9);
                color: @black-text-main;
                .service-traffic-signal-item {
                    display: flex;
@@ -96,28 +95,12 @@
        }
        .active {
            background: linear-gradient(97deg, rgba(255, 209, 129, 0.2) 0%, rgba(223, 179, 105, 0.2) 103%) !important;
            background: rgba(223, 179, 105, 0.2);
            box-sizing: border-box;
            position: relative;
            .service-route-select-content-item-title {
                color: @gold-text;
            }
            &::after {
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                border-radius: 16px;
                padding: 1px;
                background: linear-gradient(180deg, @gold-light -10%, rgba(223, 179, 105, 0.0469) 108%, rgba(0, 0, 0, 0) 108%);
                -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
                -webkit-mask-composite: xor;
                mask-composite: exclude;
                pointer-events: none;
            }
        }
    }
@@ -152,4 +135,4 @@
            background: #141E27;
        }
    }
}
}
src/robotaxi/pages/begin-route/components/route-preference-popup/index.less
@@ -28,12 +28,13 @@
    .popup-content {
        position: relative;
        z-index: 103;
        background: #FFFFFF;
        background: @gary-theme;
        border-radius: 40px 40px 0 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        transform: translateY(100%);
        min-height: 672px;
    }
    .popup-header {
@@ -48,7 +49,7 @@
            font-size: 32px;
            font-weight: 500;
            line-height: 32px;
            color: rgba(0, 0, 0, 0.9);
            color: @black-text-main;
        }
        .close-icon {
src/robotaxi/pages/begin-route/index.tsx
@@ -10,7 +10,7 @@
import CreditPayPopup from './components/credit-pay-popup';
import CouponSelectPopup from '../../components/coupon-select-popup';
// 调试面板:模拟完整行程流转(仅 dev 构建可见)
// import DebugOrderSimulatorPanel from './components/debug-order-simulator-panel';
import DebugOrderSimulatorPanel from './components/debug-order-simulator-panel';
// 弹窗状态管理
import usePopupManager from './hooks/use-popup-manager';
// WebSocket 事件编排
@@ -2690,7 +2690,7 @@
        onClose={handleCloseCreditPayPopup}
        onConfirm={handleConfirmCreditPayPopup}
      />
      {/* 模拟器入口已关闭,如需本地调试可取消下方注释
      <DebugOrderSimulatorPanel
        orderId={orderId}
        setOrderId={setOrderId}
@@ -2703,7 +2703,7 @@
        setShowModifyDestinationFailPopup={setShowModifyDestinationFailPopup}
        setModifyDestinationFailMessage={setModifyDestinationFailMessage}
      />
      */}
    </>
  )
}