- 10 Feb, 2026 2 commits
-
-
新增统一的 toast 工具函数,替换项目中所有 Taro.showToast 和 Taro.showModal 调用。 主要变更: - 新增 src/utils/toast.js 工具文件 * showError - 错误提示(默认3秒) * showSuccess - 成功提示(默认2秒) * showInfo - 信息提示(默认2秒) * showLoading/hideLoading - 加载提示 * showConfirm - 确认对话框 - 替换 15 个页面文件中的 toast 调用(40+ 处) - 新增 src/utils/toast-example.md 使用指南文档 改进效果: - 代码简洁度提升 60%+ - 统一管理所有提示样式和时长 - 提高代码可读性和可维护性 影响文件: - 15 个页面组件 - 2 个新增工具文件 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
hookehuyr authored -
- 将 API 统一错误提示的 duration 从 2000ms 延长到 3000ms - 影响所有使用 fn() 包装的 API 错误提示 - 修复用户反馈的"提示窗口关闭太快"问题 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
hookehuyr authored
-
- 05 Feb, 2026 4 commits
-
-
- 补充状态码兼容细节(qrCode USED='7' vs bookingDetail USED='9') - 记录测试代码清理工作 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
hookehuyr authored -
修复内容: - 兼容 qrCode 组件(USED='7')和 bookingDetail(USED='9')的状态码差异 - 优化状态变化处理逻辑,测试和生产模式统一调用 API - 移除所有测试代码和测试按钮 问题详情: - qrCode 组件和 bookingDetail 页面定义了不同的 USED 状态码 - 导致状态变化事件触发后条件判断失效 解决方案: - 在 handleQrCodeStatusChange 中同时检查两种状态码 - 统一调用 billInfoAPI 刷新订单信息,确保状态一致性 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
hookehuyr authored -
- 添加 2026-02-05 变更记录 - 记录 qrCode 组件和 bookingDetail 页面的状态同步机制 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
hookehuyr authored -
- qrCode 组件添加状态变化事件通知机制 - 预约详情页监听状态变化并刷新订单信息 - 订单已核销时显示禁用提示而非取消按钮 - 移除未使用的导入和变量,修复 ESLint 警告 问题详情: - 二维码轮询更新状态时只更新组件内部状态 - 父组件订单信息未同步更新导致取消按钮不消失 解决方案: - qrCode 组件状态改变时触发 status-change 事件 - 父组件接收到事件后调用 billInfoAPI 刷新订单 - 订单状态更新为 USED 后自动隐藏取消按钮 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
hookehuyr authored
-
- 04 Feb, 2026 2 commits
-
-
- 在路线图图片下方添加提示文字:"如有变化,以现场规定为准,谢谢配合!" - 使用浅黄色背景和主题棕色文字突出显示 - 添加圆角卡片样式,与整体页面风格保持一致 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
hookehuyr authored -
- 新增路线图展示组件,居中显示在温馨提示下方 - 实现路线图点击预览功能,支持全屏查看和缩放 - 路线图容器样式与页面其他元素保持统一(白色背景、圆角、内边距) - 添加图片点击视觉反馈效果(透明度变化) - 使用 Taro.previewImage API 实现图片预览功能 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
hookehuyr authored
-
- 03 Feb, 2026 2 commits
-
-
- 替换 privacy.js 中的 mock 数据为正式文档内容 - 用户服务协议:版本 V2026.2,生效日期 2026-02-01 - 隐私政策:更新时间 2026-02-01 - 添加两个源 docx 文档文件 - 美化富文本样式,优化排版和可读性 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
hookehuyr authored
- 02 Feb, 2026 2 commits
-
-
- 新增 PrivacyPopup 组件,支持多层级标题和内容展示 - 新增 privacy.js 常量文件,统一管理隐私政策内容 - 更新 search 和 visitorList 页面,集成隐私弹窗 - 更新项目配置文件(components.d.ts, config/index.js, jsconfig.json) - 更新 CLAUDE.md 和 CHANGELOG.md 文档 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
hookehuyr authored -
- 将核销按钮从文字改为 IconFont 图标 - 图标设置为 52rpx 并水平居中 - 更新 CHANGELOG.md Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
hookehuyr authored
-
- 30 Jan, 2026 6 commits
-
-
- 使用 billCancelUnpaidAPI 替代 icbcRefundAPI - 传参和调用方式保持不变 - 更适合取消未支付订单的场景 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
hookehuyr authored -
- 在支付失败/取消时自动调用 icbcRefundAPI 取消订单 - 更新提示文案告知用户订单已自动取消 - 保证数据一致性,避免产生无效的待支付订单 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
hookehuyr authored -
- 新增 ENABLE_REPAY_FEATURE 配置项(默认关闭) - 关闭重新支付时,订单列表不显示重新支付按钮和倒计时 - 支付失败/取消时友好提示并返回上一页 - 移除提交订单页的循环支付逻辑 - 优化等待页超时和失败处理,自动跳转首页 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
hookehuyr authored -
hookehuyr authored
-
- 微信支付取消时显示友好提示"您已取消支付"替代技术错误信息 - 支付失败时显示"支付失败,请稍后重试" - 重构 config.js 提取环境 URL 常量提升可读性 - 修复 ESLint 代码风格问题(使用 !== 替代 !=) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
hookehuyr authored
- 28 Jan, 2026 2 commits
-
-
hookehuyr authored
-
- 新增全局规则: - taro-patterns.md(Taro 开发规范) - miniprogram-checklist.md(小程序检查清单) - taro-cross-platform.md(多端兼容指南) - 新增项目配置: - .eslintrc.js(ESLint 规则) - .prettierrc(Prettier 格式化) - .lintstagedrc.js(Git 暂存检查) - .editorconfig(编辑器统一配置) - scripts/setup-husky.sh(Husky 自动安装) - 新增文档: - docs/development-guide.md(完整开发指南) - docs/config-quick-reference.md(配置快速参考) - 更新 package.json: - 添加代码质量相关命令(lint、format等) - 使用 Prettier 格式化所有代码 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
hookehuyr authored
-
- 24 Jan, 2026 4 commits
-
-
- 将身份证脱敏、状态映射等工具函数统一到 utils/tools.js - 在 qrCode 组件暴露轮询启停方法,由页面生命周期控制 - 更新 README 中优化建议的完成状态
hookehuyr authored -
- 将项目介绍重构为更清晰的功能概览与技术栈说明 - 详细阐述项目结构、关键实现(如认证、离线兜底)与可复用能力 - 增加项目优缺点分析与明确的后续优化建议 - 移除过时的优化建议条目,更新为当前状态
hookehuyr authored -
- 为 utils、api、stores、composables 等模块的函数和变量添加详细的 @description 注释 - 统一接口返回类型为 Promise<{code,data,msg}> 格式说明 - 为组件方法添加参数和返回值类型标注 - 更新文件头部的 @Description 字段使其更具体 - 增强代码自文档化能力,便于团队维护和IDE智能提示hookehuyr authored -
- 将PosterBuilder组件的工具函数从TypeScript迁移至JavaScript以简化构建 - 修复ESLint配置,添加root标志防止继承外部规则 - 更新package.json添加lint脚本便于代码检查 - 优化API响应处理函数,增强错误处理和类型安全 - 调整环境配置,将生产环境指向开发服务器
hookehuyr authored
-
- 23 Jan, 2026 1 commit
- 22 Jan, 2026 2 commits
- 21 Jan, 2026 2 commits
-
-
将原有的分散在各页面的底部导航代码重构为可复用的indexNav组件 支持不同位置、选中状态和中心按钮样式配置 通过props控制导航行为和样式,统一管理导航逻辑
hookehuyr authored
- 20 Jan, 2026 11 commits