fuqj
2026-07-24 babde901f95112b8eb642bc065030ce932ffb6d3
feat:修改打车页地图气泡和选站点等样式
7个文件已修改
30 ■■■■■ 已修改文件
src/pages/robotaxi/home/index.less 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/begin-route/components/css-folder/cancel-popup.less 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/begin-route/components/release-route.tsx 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/begin-route/hooks/use-view-delegates.tsx 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/begin-route/index.less 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/select-map-site/components/select-map-site-view.tsx 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/select-map-site/index.less 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/robotaxi/home/index.less
@@ -287,7 +287,7 @@
      display: flex;
      flex-direction: row;
      align-items: flex-start;
      padding: 3px 40px 32px 20px;
      padding: 3px 20px 32px 20px;
      height: 80px;
      box-sizing: border-box;
      min-width: 186px;
@@ -312,6 +312,7 @@
        letter-spacing: normal;
        color: #ffffff;
        line-height: 48px;
        padding-right: 20px;
      }
    }
src/robotaxi/pages/begin-route/components/css-folder/cancel-popup.less
@@ -139,7 +139,7 @@
                flex: 1;
                text-align: center;
                border-radius: 1000px;
                border: 1px solid #141E27;
                border: 2px solid #141E27;
                font-size: 32px;
                line-height: 104px;
                text-align: center;
src/robotaxi/pages/begin-route/components/release-route.tsx
@@ -41,7 +41,7 @@
        if (!Number.isFinite(discountAmount) || discountAmount <= 0) {
            return '0元';
        }
        return `${parseFloat(discountAmount.toFixed(2))}元`;
        return `-${parseFloat(discountAmount.toFixed(2))}元`;
    };
    useEffect(() => {
src/robotaxi/pages/begin-route/hooks/use-view-delegates.tsx
@@ -628,11 +628,15 @@
                        全程
                      </CoverView>
                      <CoverView className="endpoint-summary-value">
                        {deps.routeDistance.value}
                        <CoverView className="endpoint-summary-golden-value">
                          {deps.routeDistance.value}
                        </CoverView>
                        {deps.routeDistance.unit === "m" ? "米" : "公里"}
                      </CoverView>
                      <CoverView className="endpoint-summary-value">
                        {vehicleMetricDurationDisplay.value}
                        <CoverView className="endpoint-summary-golden-value">
                          {vehicleMetricDurationDisplay.value}
                        </CoverView>
                        {vehicleMetricDurationDisplay.unit}
                      </CoverView>
                    </CoverView>
src/robotaxi/pages/begin-route/index.less
@@ -289,8 +289,13 @@
}
.endpoint-summary-value {
  display: flex;
  align-items: center;
  font-weight: 500;
  .endpoint-summary-golden-value {
    margin: 0 4px;
    color: rgba(255, 209, 129, 1);
    font-weight: 500;
  }
}
.endpoint-summary-icon {
@@ -309,7 +314,7 @@
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    padding: 3px 40px 32px 20px;
    padding: 3px 20px 32px 20px;
    height: 80px;
    min-width: 186px;
    max-width: 400px;
@@ -346,6 +351,7 @@
    color: #FFFFFF;
    line-height: 48px;
    white-space: nowrap;
    padding-right: 20px;
}
.route-summary-callout {
src/robotaxi/pages/select-map-site/components/select-map-site-view.tsx
@@ -152,7 +152,7 @@
                <View className="content-box-coantainer">
                  <View className="content-box-item">
                    <View className='content-box-item-title'>
                      <View className="content-title">{shouldShowStationSelection ? deps.selectedStation?.name : (deps.pageType === 'start' ? '确认上车站点' : '确认目的地')}</View>
                      <View className="content-title">{shouldShowStationSelection ? deps.selectedStation?.name : (deps.pageType === 'start' ? '确认上车点' : '确认目的地')}</View>
                      {deps.pageType === 'start' && deps.walkingDuration !== null && deps.walkingDistance !== null && (
                        <View className="limit-tip">
                          从当前位置出发步行{formatTripDurationFromSeconds(deps.walkingDuration)}({formatTripDistance(deps.walkingDistance)})上车
src/robotaxi/pages/select-map-site/index.less
@@ -132,7 +132,7 @@
            display: flex;
            flex-direction: row;
            align-items: flex-start;
            padding: 3px 40px 32px 20px;
            padding: 3px 20px 32px 20px;
            height: 80px;
            box-sizing: border-box;
            min-width: 186px;
@@ -165,6 +165,7 @@
                letter-spacing: normal;
                color: #FFFFFF;
                line-height: 48px;
                padding-right: 20px;
            }
        }