Commit Graph

1370 Commits (master)

Author SHA1 Message Date
Council 4679c0f49d [主题] 新增 Kimjaejoong 应援主题配色及本地化扩展 2026-07-06 12:05:38 +08:00
Council 80ea6bfdef refactor(iconfont): 主包精简 Phase 4B — u-icon 全量替换为 iconfont
【背景】
VR 扩展引入的 u-icon 组件通过 easycom 全局注册,导致主包引入:
- u-icon.wxss base64 副本 224.7 KB
- iconfont.json 元数据 85.8 KB
- u-icon.vue 1.7 KB
合计 ≈312 KB 冗余。

原版项目已有 <iconfont> 全局组件,功能等价。直接用 iconfont 替换可彻底消除冗余。

【变更】

1) components/iconfont/iconfont.vue 增强
   - 新增 #ifdef APP-NVUE 分支(合并 u-icon.vue 的 NVUE 逻辑)
   - iconfontCode computed:剥离 'icon-' 前缀后查 glyphs
   - iconSizeNvue computed:NVUE 单位补全
   - mounted 中调用 domModule.addRule('fontFace') 注册字体
   - 保留全部 iOS 修复注释

2) 替换 31 处 <u-icon> → <iconfont>
   - 属性映射:propName→name(+icon-前缀)、propColor→color、propSize→size
   - 动态 :propName 改写为 :name="'icon-'+var"

3) 删除
   - components/u-icon/u-icon.vue
   - components/u-icon/ 空目录

4) 修改的 11 个文件
   - pages/plugins/video/detail/detail.nvue (14 处)
   - pages/plugins/video/components/{loading,comment-info,comment-more,search}.vue (5 处)
   - pages/plugins/live/pull/pull.vue + pull.nvue (3 处)
   - pages/plugins/live/pull/components/{goods,live-content}/*.vue (7 处)
   - components/u-popup/u-popup.vue (1 处)
   - components/u-share-popup/u-share-popup.vue (1 处)

【效果】
- 用户实测:主包 2347.6 KB → 1997.9 KB(与原版 6.8 持平)
- 进一步在 HBuilder 中将 iconfont.json 加入自动排除列表后 → 1919.7 KB
- 比原版 6.8(1997 KB)小 77 KB

【风险】
- LOW(gitnexus detect_changes: 0 affected processes)
- NVUE 兼容性:iconfont.vue 已继承 u-icon.vue 全部 NVUE 逻辑(用户实测视频详情页正常)
- 直播场景:因项目无直播环境,未在生产 NVUE 验证(待启用时手动测试)

【验证】
- 用户实测:视频详情页、商品页图标显示正常
- 弹窗关闭图标(u-popup / u-share-popup)显示正常
2026-07-01 18:12:21 +08:00
Council f696450bf9 refactor(subpackage): 主包精简 Phase A1 — diy 移回主包 + 子包独立化 + manifest 优化
【背景】
ShopXO 原版 6.8 主包 ≈1997 KB,但 VR 扩展接入后膨胀至 2347 KB。
本次为 Phase A1,主包减小约 200~400 KB(视未引用文件而定)。

【变更】

1) manifest.json 优化配置
   - 开启 ignoreDevUnusedFiles: true(开发模式剔除未引用文件)
   - 开启 ignoreUploadUnusedFiles: true(生产模式剔除未引用文件)
   - 风险:低(uni-app 官方推荐生产配置)

2) pages.json 调整
   - pages/diy 从 subPackages 移回主包(修复 iOS 微信真机 evaluate 时机问题)

3) 子包独立化
   - ticket-qr-popup 从主包 components/ 移到 pages/plugins/vr-ticket-wallet/components/
   - wallet_bg.png 从主包 static/images/other/ 移到 vr-ticket-wallet 子包
   - pages/user-order-detail 内置独立 ticket-qr-popup 副本(避免跨页面引用)

4) gitignore 补充
   - vr-shopxo-uniapp-6.8-origin/(基准对比目录)
   - docs/analyse-mp/(HBuilder 编译分析产物,2.3MB)

5) 工作记录
   - docs/vr-ticket-uniapp-analysis.md(VR vs 原版差异分析报告)
   - docs/main-package-size-optimization-20260701.md(本次精简工作记录)

【验证】
- gitnexus detect_changes:low risk
- iOS 真机 evaluate 白屏已修复(前置 commit e11e2d3a)
- 票夹子包现可独立编译加载
2026-07-01 18:12:03 +08:00
Council e11e2d3a6e fix(iOS): Move ticket-qr-popup to main package to resolve subpackage evaluate race condition
Root cause: user-order-detail referenced ticket-qr-popup inside vr-ticket-wallet
subpackage. On iOS batchInjectSubPackages, all subpackage JS modules were
evaluated, triggering componentCommon -> common.vue top-level getApp() crash
when globalData hadn't been populated yet. This was an intermittent race
condition (not 100% reproducible).

Fix: Moved ticket-qr-popup from vr-ticket-wallet/components/ to
components/ticket-qr-popup/ (main package). Updated all import paths and
pages.json declarations. Now user-order-detail never triggers subpackage
loading, eliminating the race condition entirely.

Changes:
- NEW: components/ticket-qr-popup/index.vue (copied from subpackage)
- DELETE: pages/plugins/vr-ticket-wallet/components/ticket-qr-popup/
- MODIFY: pages/user-order-detail/user-order-detail.vue (import path)
- MODIFY: pages/plugins/vr-ticket-wallet/ticket-wallet.vue (import path)
- MODIFY: pages.json (usingComponents path)
2026-07-01 03:29:13 +08:00
Council 4438a84056 fix(iOS微信真机): 修复核销记录页高度塌陷+header点击穿透+iconfont裁剪
1. records/index.css: .records-page 加 height:100vh (同 verify 修复)
   - 原先只有 min-height:100vh,iOS flex:1 scroll-view 高度塌陷

2. records/index.css + verify/index.css: header pointer-events 修复
   - backdrop-filter 在 iOS 创建合成层会拦截下方点击
   - header 容器 pointer-events:none,header-inner pointer-events:auto
   - 修复 header 半透明区域无法点击、返回按钮无响应

3. records/index.vue: getApp() 从顶层移到 onLoad() (同 verify 修复)
   - 消除 subpackage evaluate 时机隐患
   - 5 处 app.globalData 改为 getApp().globalData

4. iconfont.vue: 修复 iOS 大尺寸 icon 裁剪/样式残缺
   - 移除 max-width/max-height:100px 限制
   - 移除 width/height:1em 硬约束
   - display:flex → inline-block,让 font-size 驱动尺寸

gitnexus detect_changes: risk_level=low, 0 affected_processes
2026-06-30 16:16:07 +08:00
Council 6c23c65ae2 fix(u-popup): 修复微信小程序中票夹二维码弹窗关闭按钮被遮挡的问题
- 将图标关闭按钮从 .uni-popup__wrapper 之前移至其后,确保 z-index 在小程序渲染引擎中生效
- 根本原因:.uni-popup__wrapper 的 overflow-y:auto 创建了层叠上下文,使插槽内容覆盖在关闭按钮之上
2026-06-30 00:13:50 +08:00
Council 0520374a80 fix(订单页): 优化付款栏布局、隐藏订单留言、关闭悬浮客服/快捷入口
- 付款底部操作栏: 加大左右内边距,固定确认支付按钮宽度,适配圆角机型
- 订单留言卡片: 临时隐藏(已注释),后续需要可快速恢复
- online-service 组件: 整体关闭客服悬浮按钮(产品决策: 不需要)
- quick-nav 组件: 整体关闭快捷入口悬浮按钮(产品决策: 不需要)
2026-06-29 19:13:15 +08:00
Council 7b4db8dae8 feat(diy): 自动获取位置 + 反查城市 + 过期重取 + 重新请求首页
实现 DIY 首页左上角位置选择器在用户授权后自动获取坐标、反查最近城市,
并让首页在 5 分钟过期后自动重新请求以匹配新坐标的 DIY 模板。

主要改动:
- App.vue:get_user_location 重写
  - 守护条件扩展为 5 条件 OR 判定(5 分钟过期 + name 占位 + status + 无缓存 + is_force)
  - 写入 storage 加 updated_at 时间戳
  - 成功时 uni.$emit('onLocationReady', address) 通知订阅方
  - 新增 fail 回调:写 status:0 占位 + 触发事件,修复权限拒绝后无限重弹的隐藏 bug
- pages/index/index.vue
  - onLoad 订阅 onLocationReady 事件
  - 收到事件后调 init({is_cache:0, loading:1}) 重新请求首页(让后端按新坐标推荐)
  - onUnload 清理订阅
- components/choice-location/choice-location.vue
  - mounted 订阅 onLocationReady 事件
  - 仅当 name 是占位时才重新反查 /vr_ticket/geo/city
  - beforeDestroy 清理订阅

文档:
- 新增 docs/diy-home-location-work-record-20260628.md 完整留档
- 标注 docs/city-based-diy-template-plan.md '前端零改动' 假设已过期
- 修正 docs/troubleshoot/weixin-location-permission.md §七.5 警告的状态

验证:DIY 首页左上角从'当前位置'成功切换为'厦门市'(用户实机验证)
2026-06-28 17:43:05 +08:00
Council bb2502997c style: 优化页面切换体验,稳定底部菜单 Key 减少重绘,新增页面淡入渐变动画与商品搜索页骨架屏 2026-06-27 21:29:24 +08:00
Council 9a8a3e59bc feat: 优化自定义底部导航并隐藏小程序的返回/返回首页按钮;实现票据钱包下拉刷新生命周期函数 2026-06-27 21:11:10 +08:00
Council 3567bea792 feat: 商品列表/分类/购物车/魔法列表增加 VR 票务直跳逻辑
- 在 goods_event 中检测 vr_goods_config 标志
- 若为票务商品则直接跳转到 goods-vr-ticket 页面
- 减少票务商品从普通商品页跳转的中间环节
- 避免影响 realstore 相关页面的返回体验
2026-06-27 16:46:53 +08:00
Council a079025aa3 feat(order): 订单详情/列表页适配票务订单 - 票务API调用/观影人展示/状态显示 2026-06-25 17:11:53 +08:00
bigemon 2c13951249 feat: VR ticket page integration (goods-vr-ticket) + improved .gitignore
- Add goods-vr-ticket page with ticket-header/venue-card/ticket-popup components
- Integrate VR redirect logic in goods-detail (detects vr_goods_config → redirect)
- Update pages.json to register goods-vr-ticket route
- Add iconfont improvements
- Update .gitignore: add node_modules, .agent, .claude, .vite, .vscode, .gitnexus, references, AGENTS.md, CLAUDE.md
2026-05-14 07:59:23 +08:00
gongfuxiang 2de4706c85 主题配色,购物车多余符号去除 2026-03-19 15:53:26 +08:00
于肖磊 37c7beca17 修改上传触发参数 2026-03-19 15:32:40 +08:00
gongfuxiang 084e5d1395 修复短视频app样式 2026-03-18 15:17:36 +08:00
gongfuxiang 69ade80697 merge 2026-03-18 15:15:04 +08:00
于肖磊 4746681087 修改页面显示数据 2026-03-16 16:13:59 +08:00
于肖磊 e8d647c28d 修改nvue输入框的处理 2026-03-13 18:13:53 +08:00
于肖磊 27fcf755de 修改数据提示 2026-03-13 16:51:27 +08:00
于肖磊 f7b997e55c 修改数据显示 2026-03-13 16:34:25 +08:00
于肖磊 c2da7e5f41 修改图片上传 2026-03-13 15:42:39 +08:00
于肖磊 e4f6d1ddd2 修改内容信息 2026-03-13 14:08:36 +08:00
于肖磊 f0bab19bd5 修改nvue为css结构 2026-03-12 17:13:46 +08:00
于肖磊 c9335a0ca7 修改视频播放显示逻辑 2026-03-11 16:32:23 +08:00
于肖磊 3ff8c60f1e 修改页面显示问题 2026-03-11 11:25:01 +08:00
于肖磊 2666ecb61b hls安装 2026-03-09 16:34:54 +08:00
于肖磊 18cf4c2fbb nvue页面显示 2026-03-06 17:32:30 +08:00
于肖磊 af2095c2ae nvue页逻辑优化 2026-03-06 15:53:04 +08:00
于肖磊 2fc75ba9d4 nvue页面设计组件迁移出来 2026-03-06 15:25:27 +08:00
于肖磊 632dfbcaff nvue页面初步更新 2026-03-06 15:25:09 +08:00
于肖磊 5a527ee296 nvue页面修改 2026-03-06 11:16:01 +08:00
gongfuxiang aa8a6580b9 开屏广告优化 2026-03-03 18:54:54 +08:00
gongfuxiang 92a5392b0d 开屏广告判断优化 2026-03-02 15:27:34 +08:00
gongfuxiang 110af86ddb 新增开屏广告插件支持 2026-03-02 11:55:50 +08:00
gongfuxiang c52e9b0025 新增开屏广告插件支持 2026-03-02 11:37:44 +08:00
于肖磊 36b09a2179 修改上传图片显示 2026-02-26 10:40:14 +08:00
gongfuxiang 4b5dc1aaa0 订单详情支付 2026-01-14 10:38:43 +08:00
gongfuxiang 9689bfe621 新增订单商品反馈 2026-01-04 00:27:33 +08:00
gongfuxiang b86d7e7d96 订单售后争议沟通支持图片 2025-12-30 12:05:25 +08:00
gongfuxiang 05dfb9d256 投诉举报开发 2025-12-29 18:13:28 +08:00
于肖磊 7e2340ab24 修改app兼容 2025-12-17 15:07:36 +08:00
于肖磊 0d4b20a376 修改点赞效果优化 2025-12-04 18:14:59 +08:00
于肖磊 9468692f45 修改页面处理逻辑 2025-12-04 11:47:51 +08:00
于肖磊 3f9bfe5316 新增直播分享页面 2025-11-28 14:09:09 +08:00
于肖磊 472ff61cb7 Merge branch 'dev' into dev-yxl 2025-11-27 18:11:58 +08:00
gongfuxiang 31266786de app分享url地址为空处理 2025-11-27 17:39:22 +08:00
于肖磊 b16e794522 新增讲解中商品 2025-11-27 17:28:29 +08:00
于肖磊 3f294b0b7a 新增插件 2025-11-26 16:51:13 +08:00
于肖磊 ed96b0158b 新增页面处理逻辑 2025-11-26 11:14:15 +08:00