zjk
2026-06-25 7617385b68439ca39954952938bd41f28b5db9c3
fix: 修改异常停靠弹窗样式
3个文件已修改
38570 ■■■■■ 已修改文件
package-lock.json 38508 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/begin-route/components/css-folder/pickup-exception-popup.less 48 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/begin-route/components/pickup-exception-popup.tsx 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
package-lock.json
Diff too large
src/robotaxi/pages/begin-route/components/css-folder/pickup-exception-popup.less
@@ -16,29 +16,50 @@
  right: 0;
  bottom: 0;
  background: #ffffff;
  border-radius: 16px 16px 0 0;
  padding: 120px 72px 50px;
  border-radius: 32px 32px 0 0;
  padding: 48px 40px 80px;
  box-sizing: border-box;
}
.pickup-exception-close {
  position: absolute;
  top: 52px;
  top: 32px;
  right: 32px;
  z-index: 10;
}
.pickup-exception-close-icon {
  width: 40px;
  height: 40px;
  width: 44px;
  height: 44px;
}
.pickup-exception-title {
  font-family: PingFang SC;
  font-size: 32px;
  font-weight: 500;
  line-height: 44px;
  letter-spacing: normal;
  color: rgba(0, 0, 0, 0.9);
}
.pickup-exception-desc {
  font-family: PingFang SC;
  font-size: 28px;
  font-weight: normal;
  letter-spacing: normal;
  /* 文字色/黑色/辅助文字 40% */
  color: rgba(0, 0, 0, 0.4);
  margin-top: 8px;
}
.pickup-exception-map-wrapper {
  position: relative;
  width: 100%;
  height: 378px;
  height: 358px;
  border-radius: 16px;
  overflow: hidden;
  background: #f5f7fa;
  background: #D8D8D8;
  margin-top: 48px;
}
.pickup-exception-map {
@@ -72,13 +93,16 @@
}
.pickup-exception-confirm {
  margin-top: 48px;
  height: 96px;
  line-height: 96px;
  margin: 0 auto;
  margin-top: 76px;
  width: 634px;
  height: 88px;
  line-height: 88px;
  text-align: center;
  color: #ffffff;
  font-size: 30px;
  border-radius: 16px;
  background: linear-gradient(96deg, #8475FF 1%, #7DD6FF 103%);
  font-size: 28px;
  font-weight: 500;
  background: #181916;
  border-radius: 16px;
}
src/robotaxi/pages/begin-route/components/pickup-exception-popup.tsx
@@ -272,6 +272,12 @@
            src='https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/close-icon.png'
          />
        </View>
        <View className='pickup-exception-title'>
          为确保行车安全,已为您调整新的上车点
        </View>
        <View className='pickup-exception-desc'>
          当前距离车的位置{distanceToVehicle}米,请步行导航至上车位置
        </View>
        {mapCenter && (
          <View className='pickup-exception-map-wrapper'>
            <Map
@@ -289,16 +295,8 @@
              enableTraffic={false}
              showLocation={false}
            />
            {typeof distanceToVehicle === 'number' && (
              <View className='pickup-exception-distance'>
                当前距离车辆位置 {distanceToVehicle} 米
              </View>
            )}
          </View>
        )}
        <View className='pickup-exception-message'>
          {pickupExceptionInfo?.message || '为确保行车安全,已为您调整新的上车点,请步行导航至车辆位置'}
        </View>
        <View className='pickup-exception-confirm' onClick={onConfirm}>
          开始步行导航
        </View>