hejianhao
2026-05-07 04b6737a6121b4ec8aeadf783a55f9031caf8d0b
chore: 将本地图片资源替换为远程CDN链接

移除本地图片文件,将相关图片的引用改为使用远程CDN地址,以减少打包体积并统一资源管理
11个文件已删除
7个文件已修改
41 ■■■■■ 已修改文件
src/pages/robotaxi/home/index.tsx 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/assets/active-bad.png 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/assets/active-good.png 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/assets/active-normal.png 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/assets/bad.png 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/assets/car-icon.png 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/assets/coupon-bg.png 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/assets/coverImage.png 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/assets/good.png 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/assets/normal.png 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/assets/select-route.png 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/assets/walk-icon.png 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/components/coupon-select-popup/index.less 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/begin-route/components/calling-car-modules/evaluation-card.tsx 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/begin-route/components/evaluate-popup.tsx 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/begin-route/index.tsx 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/coupon/index.less 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/order/detail/index.tsx 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/robotaxi/home/index.tsx
@@ -12,7 +12,6 @@
import personalCenter from '../../../robotaxi/assets/personal-center.png'
import coupon from '../../../robotaxi/assets/coupon.png'
import contactService from '../../../robotaxi/assets/contact-service.png'
import floatDefaultImg from '../../../robotaxi/assets/coverImage.png'
import {
  convertTemperatureByUnit,
  DEFAULT_TEMPERATURE_UNIT,
@@ -91,7 +90,7 @@
      </>
    );
  };
  const floatDefaultImg = 'https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/coverImage.png';
  const [showMarketing, setShowMarketing] = useState(false); // 营销弹窗是否显示
  const [marketingData, setMarketingData] = useState({}); // 营销弹窗数据
  const [showFloatActivity, setShowFloatActivity] = useState(false); // 活动悬浮窗是否显示
src/robotaxi/assets/active-bad.png
Binary files differ
src/robotaxi/assets/active-good.png
Binary files differ
src/robotaxi/assets/active-normal.png
Binary files differ
src/robotaxi/assets/bad.png
Binary files differ
src/robotaxi/assets/car-icon.png
Binary files differ
src/robotaxi/assets/coupon-bg.png
Binary files differ
src/robotaxi/assets/coverImage.png
Binary files differ
src/robotaxi/assets/good.png
Binary files differ
src/robotaxi/assets/normal.png
Binary files differ
src/robotaxi/assets/select-route.png
Binary files differ
src/robotaxi/assets/walk-icon.png
Binary files differ
src/robotaxi/components/coupon-select-popup/index.less
@@ -278,7 +278,7 @@
      width: 100%;
      min-height: 184px;
      border-radius: 24px;
      background: url("../../assets/coupon-bg.png") center center / 100% 100%
      background: url("https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/coupon-bg.png") center center / 100% 100%
        no-repeat;
      padding: 28px 24px 28px 28px;
      margin-bottom: 0;
src/robotaxi/pages/begin-route/components/calling-car-modules/evaluation-card.tsx
@@ -2,12 +2,6 @@
import { View, Image, Text } from "@tarojs/components";
import { useState, useEffect, useRef } from "react";
import { submitOrderComment } from '../../../../api/begin-route';
import good from '../../../../assets/good.png'
import normal from '../../../../assets/normal.png'
import bad from '../../../../assets/bad.png'
import activeGood from '../../../../assets/active-good.png'
import activeBad from '../../../../assets/active-bad.png'
import activeNormal from '../../../../assets/active-normal.png'
import { TripStatus } from '../../constants/trip-status';
type Props = {
@@ -25,6 +19,12 @@
    evaluateSubmitVersion,
    evaluateCloseVersion
}: Props) {
    const good = 'https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/good.png';
    const normal = 'https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/normal.png';
    const bad = 'https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/bad.png';
    const activeGood = 'https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/active-good.png';
    const activeBad = 'https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/active-bad.png';
    const activeNormal = 'https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/active-normal.png';
    const [activeIndex, setActiveIndex] = useState(0); // 当前选中的满意度
    const [isEvaluated, setIsEvaluated] = useState(false); // 是否已完成评价
    const skipEvaluateResetRef = useRef(false); // 跳过关闭重置的一次性标记
src/robotaxi/pages/begin-route/components/evaluate-popup.tsx
@@ -15,6 +15,7 @@
}
export default function EvaluatePopup({ show = false, onClose, onConfirm, orderId, orderRating, submitMode = 'comment' }: Props) {
    const activeBad = 'https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/active-bad.png';
    const [visible, setVisible] = useState(false); // 弹窗显示状态
    const [animationData, setAnimationData] = useState<any>(); // 弹窗进出场动画
    const [selectedTypeId, setSelectedTypeId] = useState<number | null>(null); // 当前选择的问题类型
@@ -269,7 +270,7 @@
                    <Image onClick={onClose} src={require('../../../assets/close-icon.png')} />
                </View>
                <View className='evaluate-content-title'>
                    <Image src={require('../../../assets/active-bad.png')} />
                    <Image src={activeBad} />
                    <View>“不满意,我要吐槽”</View>
                </View>
                <View className='content-box'>
src/robotaxi/pages/begin-route/index.tsx
@@ -46,9 +46,7 @@
import coupon from '../../../robotaxi/assets/coupon.png'
import contactService from '../../../robotaxi/assets/contact-service.png'
import originIcon from '../../../robotaxi/assets/origin-icon.png'
import selectRouteIcon from '../../../robotaxi/assets/select-route.png'
import packUpIcon from '../../../robotaxi/assets/pack-up.png'
import walkIcon from '../../../robotaxi/assets/walk-icon.png'
import { _ROBOTAXI_WS_HOST } from '../../../constants/api';
const ROUTE_SUMMARY_MARKER_ID = 999001;
@@ -917,12 +915,12 @@
        toOrigin={toOrigin}
        handleWalkNavigation={handleWalkNavigation}
        showWalkNavigationButton={showWalkNavigationButton}
        selectRouteIcon={selectRouteIcon}
        selectRouteIcon={'https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/select-route.png'}
        packUpIcon={packUpIcon}
        onSelectRouteClick={() => setIsRouteSelectExpanded(!isRouteSelectExpanded)}
        isRouteSelectExpanded={isRouteSelectExpanded}
        canToggleRouteSelect={canToggleRouteSelect}
        walkIcon={walkIcon}
        walkIcon={'https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/walk-icon.png'}
        originIcon={originIcon}
        renderTripCard={renderTripCard}
        showCustomerService={showCustomerService}
src/robotaxi/pages/coupon/index.less
@@ -56,7 +56,7 @@
      width: 100%;
      min-height: 184px;
      border-radius: 24px;
      background: url("../../assets/coupon-bg.png") center center / 100% 100%
      background: url("https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/coupon-bg.png") center center / 100% 100%
        no-repeat;
      padding: 28px 24px 28px 28px;
      margin-bottom: 24px;
src/robotaxi/pages/order/detail/index.tsx
@@ -2,12 +2,6 @@
import { useState, useEffect, useRef } from 'react';
import { View, Text, Image, Map } from '@tarojs/components';
import './index.less';
import good from '../../../assets/good.png'
import normal from '../../../assets/normal.png'
import bad from '../../../assets/bad.png'
import activeGood from '../../../assets/active-good.png'
import activeBad from '../../../assets/active-bad.png'
import activeNormal from '../../../assets/active-normal.png'
import right from '../../../assets/right.png'
import lineRight from '../../../assets/line-right.png'
import { getOrderDetail } from '../../../api/order';
@@ -19,6 +13,13 @@
  const router = useRouter();
  const { orderId } = router.params;
  const good = 'https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/good.png';
  const normal = 'https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/normal.png';
  const bad = 'https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/bad.png';
  const activeGood = 'https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/active-good.png';
  const activeBad = 'https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/active-bad.png';
  const activeNormal = 'https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/active-normal.png';
  const [activeIndex, setActiveIndex] = useState<number | null>(null) // 默认选中"非常满意"
  const [orderData, setOrderData] = useState<any>(null);
  const [showEvaluatePopup, setShowEvaluatePopup] = useState(false);