卢春龙
2026-06-30 91d4cbf633303d990e098d3231ba4431b1cb8da5
Merge branch 'hc/fix_630' into 'feature_v2.0'

fix(robotaxi/begin-route): 修复分享标题的冗余“车牌”文本

See merge request robotaxi1/xp-robotaxi-miniprogram!138
9个文件已修改
71 ■■■■■ 已修改文件
src/robotaxi/pages/begin-route/components/css-folder/calling-car.less 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/begin-route/hooks/use-view-delegates.tsx 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/begin-route/index.less 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/begin-route/index.tsx 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/order/detail/index.less 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/order/detail/index.tsx 27 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/select-map-site/index.less 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/site-search/index.less 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/site-search/index.tsx 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/begin-route/components/css-folder/calling-car.less
@@ -107,6 +107,7 @@
      &-num {
        font-size: 48px;
        line-height: 64px;
        font-weight: 500;
        letter-spacing: normal;
        color: rgba(0, 0, 0, 0.9);
      }
@@ -176,6 +177,7 @@
          &-temp {
            display: flex;
            align-items: flex-start;
            margin-left: -6px;
            font-size: 52px;
            line-height: 48px;
            letter-spacing: normal;
@@ -796,4 +798,4 @@
      height: 17.5px;
    }
  }
}
}
src/robotaxi/pages/begin-route/hooks/use-view-delegates.tsx
@@ -226,14 +226,14 @@
          className="car-time"
          style={{ alignItems: "baseline", paddingBottom: 0 }}
        >
          <View className="car-time-num" style={{ marginBottom: 0 }}>
          <View className="car-time-num">
            {routeDistance?.value ?? 0}
          </View>
          <View style={{ flexShrink: 0 }}>
            {routeDistance?.unit === "m" ? "米" : "公里"}
          </View>
          <View
            style={{ marginLeft: "2px", marginBottom: 0 }}
            style={{ marginLeft: "2px" }}
            className="car-time-num"
          >
            {durationDisplay.value}
src/robotaxi/pages/begin-route/index.less
@@ -192,9 +192,10 @@
.car-time-num {
    font-size: 28px;
    line-height: 28rpx;
    font-weight: 500;
    letter-spacing: normal;
    color: #6D7FD9;
    margin-bottom: -4px;
    margin-right: 2px;
}
src/robotaxi/pages/begin-route/index.tsx
@@ -1613,7 +1613,7 @@
  const shareOrderId = getOrderId(orderId);
  const onShareAppMessage = () => ({
    title: `已乘坐小鹏 Robotaxi出发,车牌${vehicleInfo?.plateNumber || ''},点击查看,实时伴我出行~`,
    title: `已乘坐小鹏Robotaxi出发,${vehicleInfo?.plateNumber || ''},实时伴我出行~`,
    path: `/robotaxi/pages/share-trip/index?orderId=${shareOrderId}`
  });
src/robotaxi/pages/order/detail/index.less
@@ -86,7 +86,7 @@
      .card-title {
        font-family: PingFang SC;
        font-size: 28px;
        font-weight: normal;
        font-weight: 500;
        line-height: 40px;
        letter-spacing: normal;
        /* 文字色/黑色/重要字 90% */
@@ -153,7 +153,7 @@
      .price-card {
        display: flex;
        align-items: center;
        align-items: flex-end;
        .price {
@@ -167,7 +167,7 @@
          font-family: PingFang SC;
          font-size: 24px;
          font-weight: normal;
          line-height: 40px;
          line-height: 26px;
          letter-spacing: normal;
          color: rgba(0, 0, 0, 0.9);
          margin: 0 4px;
@@ -177,7 +177,7 @@
          font-size: 28px;
          font-weight: normal;
          line-height: 40px;
          line-height: 26px;
          letter-spacing: normal;
          text-decoration: line-through;
          color: rgba(0, 0, 0, 0.4);
src/robotaxi/pages/order/detail/index.tsx
@@ -180,13 +180,19 @@
      return;
    }
    const polylineData = [{
      points: routePath,
      color: '#6D7FD9',
      width: 10,
      arrowLine: true,
      arrowIconPath: 'https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/line-right.png',
      borderColor: '#FFFFFF',
    }];
    points: routePath,
    color: '#6D7BC1',
    width: 10,
    dottedLine: false,
    arrowLine: false,
  },
  {
    points: routePath,
    color: '#7B91FF',
    width: 8,
    dottedLine: false,
    arrowLine: true,
  }];
    setPolyline(polylineData);
  };
@@ -289,9 +295,10 @@
              <View>
                <View className='car-name'>{orderData.plateNumber}</View>
                <View className='info'>
                  <Text className='car-color'>小鹏GX</Text>
                  <Text className='info-line'></Text>
                  <Text className='car-color'>{orderData.vehicleColor}</Text>
                  {/* <Text className='info-line'></Text>
                  <Text className='car-code'>车身编码: </Text>
                  {/* <Text className='car-code'>车身编码: </Text>
                  <Text className='code'>{orderData.vehicleCode}</Text> */}
                </View>
              </View>
@@ -361,7 +368,7 @@
            <View className='line-icon first-icon'></View>
            <Text className='line-text'>{orderData.startAddress}</Text>
          </View>
          <View className='line-address' style={{ marginTop: '8px' }}>
          <View className='line-address'>
            <View className='line-icon'></View>
            <Text className='line-text'>{orderData.endAddress}</Text>
          </View>
src/robotaxi/pages/select-map-site/index.less
@@ -158,7 +158,7 @@
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(40px);
            box-shadow: 0px 4px 16px 0px rgba(45, 48, 64, 0.2);
            padding: 12px 12px 12px 20px;
            padding: 12px 20px;
            .toolTip-txt-content {
                font-size: 24px;
src/robotaxi/pages/site-search/index.less
@@ -92,9 +92,17 @@
      justify-content: center;
      .fast-item-icon {
        width: 23px;
        height: 22px;
        margin-right: 8px;
        width: 28px;
        height: 28px;
      }
      .favorite-icon {
        margin-bottom: 2px;
      }
      .map-icon {
        margin-bottom: 2px;
      }
      .fast-item-text {
@@ -233,6 +241,7 @@
    justify-content: center;
    cursor: pointer;
    height: 70px;
    .more-text {
      font-family: PingFang SC;
      font-size: 22px;
@@ -281,7 +290,7 @@
    }
    .card-content {
      padding: 16px 0;
      padding: 16px 0 32px 0;
    }
  }
@@ -363,4 +372,4 @@
    width: 480px;
    height: 400px;
  }
}
}
src/robotaxi/pages/site-search/index.tsx
@@ -560,12 +560,12 @@
      {/* 收藏站点与地图选点 */}
      <View className='fast-box'>
        <View className='fast-item' onClick={() => setShowFavoritePopup(true)}>
          <Image className='fast-item-icon' src="https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/favorite.png"></Image>
          <Image className='fast-item-icon favorite-icon' src="https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/favorite-v2.png"></Image>
          <Text className='fast-item-text'>收藏站点</Text>
        </View>
        <View className='fast-split'></View>
        <View onClick={toSelectSite} className='fast-item'>
          <Image className='fast-item-icon' src="https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/map.png"></Image>
          <Image className='fast-item-icon map-icon' src="https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/map-v2.png"></Image>
          <Text className='fast-item-text'>地图选点</Text>
        </View>
      </View>