项目结构
MootingAPP 的详细目录结构说明。
根目录
MootingAPP/
├── src/ # 源代码目录
├── assets/ # 静态资源
├── android/ # Android 原生代码
├── ios/ # iOS 原生代码
├── web/ # Web 构建配置
├── App.jsx # 根组件
├── index.js # 入口文件
├── package.json # 依赖配置
├── babel.config.js # Babel 配置
├── metro.config.js # Metro 配置
└── jest.config.js # Jest 配置src 目录
screens/ - 页面组件
src/screens/
├── FirstOpenScreen.jsx # 启动页
├── LoginScreen.jsx # 登录页
├── VerifyCodeScreen.jsx # 验证码页
├── HomeScreen.jsx # 首页
├── RecordingScreen.jsx # 录音页
├── RecordListScreen.jsx # 记录列表
├── RecordDetailScreen.jsx # 记录详情
├── SettingsScreen.jsx # 设置页
├── ProfileScreen.jsx # 个人中心
├── PersonalInfoScreen.jsx # 个人信息
├── AddDeviceScreen.jsx # 添加设备
├── AllDevicesScreen.jsx # 所有设备
├── BluetoothAuthScreen.jsx # 蓝牙授权
├── BluetoothScanScreen.jsx # 蓝牙扫描
├── ConnectSuccessScreen.jsx # 连接成功
├── TranscriptionSettingsScreen.jsx
├── AudioSettingsScreen.jsx
├── DisplaySettingsScreen.jsx
├── VoiceEngineScreen.jsx
├── AboutGlassesScreen.jsx
├── VersionUpdateScreen.jsx
└── ...components/ - 通用组件
src/components/
├── BottomNavBar.jsx # 底部导航栏
├── HomeHeader.jsx # 首页头部
├── RecordItem.jsx # 记录条目
├── SearchBar.jsx # 搜索栏
├── FilterTabs.jsx # 筛选标签
├── SegmentControl.jsx # 分段控制
├── CustomSwitch.jsx # 开关组件
├── RadioButton.jsx # 单选按钮
├── MenuItem.jsx # 菜单项
├── ConfirmModal.jsx # 确认弹窗
├── AppLanguageModal.jsx # 语言选择
├── FontSizeModal.jsx # 字号选择
└── AppImage.jsx # 图片组件context/ - 状态管理
src/context/
└── AppContext.jsx # 全局状态 Contextservices/ - API 服务
src/services/
├── api.js # HTTP 客户端
└── tencentCloud.js # 腾讯云 ASRconstants/ - 常量定义
src/constants/
├── theme.js # 主题配置
├── strings.js # 文本常量
└── assets.js # 资源引用utils/ - 工具函数
src/utils/
└── responsive.js # 响应式工具assets 目录
assets/images/
├── bottom-nav-bar/ # 导航图标
│ ├── record.svg
│ ├── record-active.svg
│ ├── voice.svg
│ ├── voice-active.svg
│ ├── mine.svg
│ └── mine-active.svg
├── home/ # 首页图标
├── setting/ # 设置图标
├── login/ # 登录页资源
├── note/ # 记录页图标
├── normal/ # 通用图标
└── addequipment/ # 设备页资源
├── blueauth1.gif
├── blueauth2.gif
└── blueauth3.gif平台目录
android/
Android 原生代码和 Gradle 配置。
ios/
iOS 原生代码和 Xcode 项目文件(需 macOS 构建)。
web/
Web 构建配置:
web/
├── vite.config.js # Vite 配置
└── mock-codegenNativeComponent.js