Commit Graph
28 Commits
Author SHA1 Message Date
lcj 4ed72056a9 绑卡 2026-09-04 16:20:56 +08:00
jacobxu666andClaude Opus 4.8 08e2f6888b feat: 客服热线弹窗、取消预约文案与旅游卡页布局优化
- 客服热线改为弹窗拉取 mpContent/queryList 客服信息(SERVICE_INFO),富文本电话可点击拨号
- 取消预约确认弹窗展示具体预约日期与景区名称,取消后隐藏取消按钮
- makePhoneCall 用户取消时静默处理,不再上报异常
- 景区列表搜索图标改为 OSS 图片
- 旅游卡页:人脸头像方形竖版、信息单行靠右、入园提示移至持卡人信息下方等布局优化
- project.config.json appid 同步为 wxae3b39ac443fedc3

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-08-07 18:29:12 +08:00
lcj f0911c67a0 feat: 抖音核销接入小泥人API、公告详情页、景区预约人选人等多处优化
抖音核销(douyin-verify):
- 对接小泥人 OAuth2 token 与 voucher-list 券码接口,按 code 分组展示订单券号及可激活次数
- 支持手动输入券码验证券码;核销流程改为先调后端 sendAndBind 发卡绑定,再验证券码
- 购卡须知改为富文本渲染,新增无可核销订单提示弹窗、客服电话拨打
- 增加 product_id 过滤与 per-page=100,验证券码命中后仅展示不弹提示

公告模块:
- 首页/公告列表点击跳转到新增公告详情页(notice-detail),展示标题、发布时间、富文本内容及视频
- 公告列表卡片改为标题+发布时间+查看详情按钮,时间与按钮同排
- 富文本支持内嵌 video 解析播放;content 为空不显示分隔线;标题取公告 title 而非类型

首页与价格:
- 首页大卡价格/划线价/立省改为商品详情接口动态获取
- 热门景区列表扩展至8条,支持优惠/折扣标签与默认占位图

预约/景区:
- 预约页改为选择预约人(可选/已预约置灰),预约参数改用预约人信息
- 景区列表与详情支持优惠类型、折扣、特惠价展示,富文本图片防溢出
- 景区列表移除自定义导航改用原生导航

订单/绑卡:
- 订单列表/详情增加抖音核销单号(thirdOrderNo)展示,核销订单隐藏金额与退款入口
- 绑卡页移除人脸可选开关,照片必传改为拍照
- 其他:图片域名统一为 hn12301,tabBar'旅游卡'改名,登录页支持 redirect 回跳
2026-08-07 10:45:53 +08:00
jacobxu666 40cebaa3a5 Merge branch 'xuchao' 2026-07-30 11:17:59 +08:00
jacobxu666andClaude Opus 4.8 d1bff755d9 feat: 新增抖音核销功能(首页入口+核销页+购卡须知弹窗)
- 首页金刚区新增「抖音核销」入口,未登录拦截跳转登录页
- 新增核销页:按手机号查券(有券单选 / 无券手输券号并校验纯数字)、绑卡信息、人脸上传、证件类型选择
- 购卡须知弹窗(单图 aspx.png),确认核销后模拟成功并跳转旅游卡页
- 核销页背景对齐设计稿改为白底,原生窗口底色同步置白
- 接口层 DOUYIN_BACKEND_READY 开关,后端未就绪时返回模拟数据
- 修正金刚区图标域名 hntgov.net -> hn12301.net

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-30 11:12:16 +08:00
lcj cdb23eea01 7月29号 2026-07-29 13:53:24 +08:00
lcj ee0825c1e6 1232 2026-07-13 11:15:59 +08:00
jacobxu666 45a74578fc fix:优化入园码的显示和无预约时去预约的调整 2026-07-07 11:47:29 +08:00
lcj 6d89d1049f 123 2026-07-07 09:00:53 +08:00
lcj 203d129ffb 第一个版本 2026-07-06 09:17:41 +08:00
jacobxu666andClaude Haiku 4.5 f10a1896e7 fix: comply with F2E Spec — filename naming, any types, JSDoc
- Rename PascalCase component files to kebab-case (AnnouncementModal →
  announcement-modal, McGlass → mc-glass)
- Replace any types with proper uni-app/WeChat callback types
  (RequestSuccessCallbackResult, LoginRes, ShowModalRes, etc.)
- Add JSDoc documentation comments to all exported/important functions

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-06-26 14:45:49 +08:00
jacobxu666andClaude Sonnet 4.6 77c177bfa9 fix(scenic-detail): 自定义轮播圆点修复层叠遮挡问题
微信原生 swiper 组件为独立渲染层,内置 indicator-dots 无法通过
z-index 突破到外部元素上方。改为在 swiper 外渲染自定义圆点:
- hero-container z-index:4(低于 info-card)
- info-card z-index:5(遮住 swiper 底部)
- hero-dots z-index:6(显示在 info-card 上方 12px)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-26 13:52:41 +08:00
jacobxu666andClaude 03a72825bb fix(scenic-detail): swiper dots covered by info-card
Add position:relative + z-index:6 to hero-swiper so it sits above
the info-card (z-index:5) which overlaps the bottom 40rpx via
negative margin. Dots are now visible above the overlap zone.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-26 13:12:07 +08:00
jacobxu666andClaude 289291f195 fix: remove mock/order.js from main package
- Move mock/order.ts to packages/user/mock/ (subpackage-relative import)
- Delete unused api/order.ts, api/reserve.ts, api/scenic.ts (no page imports them)
- Delete unused mock/store.ts, mock/reserve.ts (dead code)
- order-list.vue now uses relative import ../../mock/order

Main package mock/ now only contains: images.js, notice.js, scenic.js
(all used by main package pages)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-26 12:43:02 +08:00
jacobxu666andClaude f89e26cc57 fix(order-detail): restore divider between pay amount and bind/refund time
Remove detail-row--last from pay amount row so the border appears
when activatedTime or refundedTime rows are conditionally shown.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-26 12:22:42 +08:00
jacobxu666 4acb2e6a9c refactor: move pages to subpackages to reduce main package size 2026-06-26 11:59:59 +08:00
jacobxu666andClaude 455b865931 fix: cleanup remaining font-weight:bold, remove stale scenic-spots.ts
- Replace font-weight: bold with 700 (plain CSS) or $font-weight-bold (SCSS)
  in qrcode.vue, card-item.vue, bind.vue, activate.vue
- Remove src/data/scenic-spots.ts (replaced by mock/scenic.ts)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-26 11:15:08 +08:00
jacobxu666 72f435f7b3 refactor(buy-flow): migrate hardcoded colors and spacing to design tokens 2026-06-26 10:54:45 +08:00
jacobxu666 f2b8ad9604 refactor(card/detail): migrate hardcoded colors and spacing to design tokens 2026-06-26 10:51:54 +08:00
jacobxu666andClaude 4ad874adf9 refactor: 全项目 UI/UX 标准化修复
- P0: uni.scss 全局 Token 修正(字体SourceHanSerifCN、色彩#111/#333/#666/#999/#eeeeee、删除600字重)
- P0: 分包6页面色彩迁移(#4A90D9→#3c9cff、#E74C3C→#e53935、圆角统一24rpx)
- P1: qrcode页面全量SCSS迁移(12个硬编码色值替换、emoji图标替换、圆角统一)
- P1: index页面价格色修正(#f9ae3d→#e53935、按钮主色统一、硬编码字号对齐)
- P2: 10个页面字号/圆角/字体统一(notice-list/scenic/login/profile/faq/card-bind等)
- P3: 全局 font-weight:600 替换为500/700(5处),删除semibold变量和工具类
- 新增 -size-title: 38rpx Token
- 构建验证通过

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-26 02:50:21 +08:00
jacobxu666andClaude 5524d78229 feat: 景区详情页优化 + 代码质量修复 + 首页适配
- 详情页:地图按钮改为复制地址,电话点击直接拨号
- 详情页:移除免X次/年徽章,增加信息卡片与卡种卡片间距
- 详情页:运营状态实时判断(根据营业时间自动显示营业中/已闭园)
- 详情页:轮播圆点仅多图时显示,加大尺寸+投影,z-index置顶
- 详情页:景区电话箭头靠右对齐
- 首页:热门景点两列布局改用padding方案,修复小屏手机单列显示
- 代码质量:card/order API移入分包,消除主包未使用JS文件
- 代码质量:manifest启用minified和lazyCodeLoading
- 构建:vite配置静默Sass弃用警告

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-25 19:19:40 +08:00
jacobxu666andClaude 4be01b1c75 feat: 旅游卡页面功能入口改为SVG图标 + 图标资源优化
- 旅游卡页面(qrcode/index)功能入口:我要入园/我要预约/使用记录/景区权益
- 卡片详情页(detail)新增4宫格功能入口
- SVG图标(4.3MB)转为PNG(99KB)解决主包4MB限制
- tabBar图标从1024x1024缩至81x81修复模拟器启动失败
- 统一各页面区域间距为24rpx

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-25 14:07:45 +08:00
jacobxu666andClaude 5f1ab737e9 feat: UI redesign with uv-ui color system and landscape imagery
- Replace all colors with uv-ui design tokens (primary #3c9cff, warning #f9ae3d, etc.)
- Hero section: Wugong Mountain landscape photo with dark overlay
- Super Player card: photo background, large typography, warning-color price/CTA, value comparison (¥198 vs ¥3800+)
- Spots section: landscape thumbnails instead of CSS gradients, warning-color prices
- Profile page: landscape hero header, CSS menu icons, floating card layout
- Card list page: landscape hero header, filter pills, empty state design
- TabBar: rename '入园码' to '旅游卡', Lucide-style PNG icons (home/card/profile)
- Typography: corrected font weights (semibold for prices, medium for labels)
- Remove broken font-loader (lxgw-wen-kai CDN 404)
- Skip wx.getPrivacySetting in devtools to avoid framework timeout
- Replace all inline SVG with CSS-only icons for mini-program compatibility
- Add design system files (styles/, components/, animations)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-25 01:07:21 +08:00
jacobxu666 332808648d refactor: 项目架构清理 — 删除调试页面/冗余store/H5降级代码/无用文件 2026-06-14 23:10:37 +08:00
jacobxu666 e4a340f53d feat: 用户端个人中心(用户信息 + 功能菜单) 2026-06-14 17:37:17 +08:00
jacobxu666andClaude Opus 4.8 b4981587a2 feat: 年卡相关页面(列表/详情/购买/激活/入园码/绑定)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-14 17:35:33 +08:00
jacobxu666andClaude Opus 4.8 2293e67f8c feat: 用户端首页(宫格式布局 + 推荐年卡)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-14 17:30:10 +08:00
jacobxu666andClaude Opus 4.8 37be873c3a feat: 重写路由配置,添加分包和 TabBar + 共享组件
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-14 17:26:47 +08:00