ai-coding
2026-07-22 051c0e6d19e71bbf11080c482e9718438f3cc77b
feat(personal-center): 新增反馈提交入口

Co-Authored-By: 何宏文 <hehw@xiaopeng.com>
2个文件已添加
2个文件已修改
20 ■■■■■ 已修改文件
src/app.config.ts 1 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/feedback/index.config.ts 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/feedback/index.tsx 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/personal-center/index.tsx 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/app.config.ts
@@ -40,6 +40,7 @@
        'pages/operating-area/index',
        'pages/share-trip/index',
        'pages/personal-center/index',
        'pages/feedback/index',
        'pages/favorite-sites/index',
        'pages/payment-setting/index',
        'pages/payment-setting-detail/index',
src/robotaxi/pages/feedback/index.config.ts
New file
@@ -0,0 +1,3 @@
export default {
  navigationBarTitleText: '评价反馈'
};
src/robotaxi/pages/feedback/index.tsx
New file
@@ -0,0 +1,8 @@
import { View } from '@tarojs/components';
import { withRobotaxiWhitelist } from '../../../utils/whitelist';
function FeedbackPage() {
  return <View className='feedback-page' />;
}
export default withRobotaxiWhitelist(FeedbackPage);
src/robotaxi/pages/personal-center/index.tsx
@@ -35,7 +35,8 @@
  { key: "service", label: "联系客服" },
  // { key: "invoice", label: "开发票" }, // 暂未上线,屏蔽入口
  { key: "payment", label: "支付设置" },
  { key: "favorite", label: "收藏站点" }
  { key: "favorite", label: "收藏站点" },
  { key: "feedback", label: "评价反馈" }
];
import { withRobotaxiWhitelist } from '../../../utils/whitelist';
@@ -137,6 +138,11 @@
      return;
    }
    if (key === "feedback") {
      Taro.navigateTo({ url: "/robotaxi/pages/feedback/index?source=mine" });
      return;
    }
    Taro.showToast({ title: "功能建设中", icon: "none" });
  };