jacobxu666 and Claude Fable 5
e86ce2c1eb
fix: 核销验券功能修复与首页公告栏改版
...
- 首页:金刚区「抖音核销」改名「核销验券」;公告栏移至金刚区下方并支持两条同时展示,修复行距与上下间距过近
- 核销页:「抖音」文案统一改为「第三方」;券号区新增第三方平台图标行;修复 `await uni.request` 返回任务句柄(非响应体)导致的「获取凭证失败」,改回调式 rawRequest 封装;无凭证时也弹温馨提示
- 购买页:删除支付取消/失败分支引用 try 作用域外变量 outTradeNo 的失效跳转
- 类型:VoucherItem 补 product_id 可选字段,消除存量类型报错
- 导航栏标题同步改为「第三方核销」
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-09-17 13:49:11 +08:00
jacobxu666 and Claude Fable 5
bba2571f25
refactor: 统一接口调用为单前缀写法,去除 19 处页面内写死的 /mp-api(API_BASE 已含),并新增 check:api-prefix 防回归脚本
...
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-09-04 16:58:01 +08:00
lcj
a8b4f08921
Merge branch 'main' of https://git.hn12301.net/xuchao/pingxiangcard
2026-09-04 16:24:16 +08:00
lcj
4ed72056a9
绑卡
2026-09-04 16:20:56 +08:00
jacobxu666 and Claude Fable 5
e1801f1026
fix: 主包孤儿文件 api/order.ts 迁入分包(pingxiang-order),消除真机代码质量告警
...
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-09-04 16:00:00 +08:00
jacobxu666 and Claude Fable 5
64ac69db93
feat: 移除预约记录/详情页防截屏限制,预约日期条支持置灰显示已过预约时间
...
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-09-04 11:42:21 +08:00
jacobxu666 and Claude 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
jacobxu666 and Claude 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
jacobxu666 and Claude
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
jacobxu666 and Claude
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
jacobxu666 and Claude
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
jacobxu666 and Claude
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
jacobxu666 and Claude
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
jacobxu666 and Claude
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
jacobxu666 and Claude
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
jacobxu666 and Claude 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
jacobxu666 and Claude 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
jacobxu666 and Claude 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